-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
None
Mongo::Connection.new assumes localhost, I don't see any way to change this in Mongoid.
This is my suggestion of how to fix: http://github.com/samsm/mongoid/blob/master/lib/mongoid.rb#L99
Allows users to set up connection and database with the mongo gem then use that setup in Mongoid.