Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-2197

port number _not_ optional in Mongoid 3.x mongoid.yml

    • Type: Icon: Task Task
    • Resolution: Done
    • 3.1.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      Mongoid 3.x will break badly if no port number is specified in the mongoid.yml file , e.g. after localhost.

      Mongoid 2.x used to be more forgiving.

      Looks like this would be a common mistake for people to make when they change their config files to Mongoid 3.x

      If no port present for any host, the default port should be used.

            Assignee:
            Unassigned Unassigned
            Reporter:
            tilo Tilo S
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: