-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
Ok, already created one ticket about this, and then closed it again thinking it wasn't an issue with mongoid, but actually it is. When using the latest mongo-ruby-driver Mongo::Connection.new requires an additional argument of slave_ok => true. Maybe it would be better to add this setting to the mongoid.yml file, but here is a quick patch to make it work.
http://github.com/mattbeedle/mongoid/tree/mongo_1-6_slave_ok
I didn't add a test, because the test for me is that the entire test suite will not load without this fix.