title: Why is Mongoid not sending slaveOk to mongos in a sharded environment?
body: <p>I can fire off queries from the 'mongos' console,  and see the reads hit the primaries.  I can successfully execute <code>rs.slaveOk();</code> and then fire off the same queries, and see the reads hit the secondaries.</p>
  
  <p>The problem is that no matter what I try I can't get queries in <a href="http://mongoid.org/" rel="nofollow">Mongoid</a> to hit the secondaries. It appears that it's not sending the <code>slaveOk</code>.  I've tried setting <code>read: :secondary</code> in <em>mongoid.yml</em>, and I've also tried <code>read_secondary: true</code>,  but the underlying connection is not a replica set one, so I'm thinking that's why mongoid is ignoring it.  </p>
  
  <p>Is there some other way (barring just creating my own connection pool and setting <code>:slave_ok</code>) that I can get mongoid to work? Am I missing some magical undocumented yml setting?</p>