No way to change mongo connection host

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 12_01_17
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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.

            Assignee:
            Unassigned
            Reporter:
            Sam Schenkman-Moore
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: