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

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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: None
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: