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

Check minimum mongodb version on initial connection to each server

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

      As I am aware, the installation docs (http://mongoid.org/en/mongoid/docs/installation.html#installation) specify the minimum version of mongodb required for various gem versions.

      However, verifying the minimum required version while connecting to each new database server the first time after loading might save much user debug time.

      This seems especially likely after bundle update mongoid. This has special importance regarding evangelizing use of Mongodb to new users.

      As it stands, in my own case, the only emitted warning was that a minor function in another gem mysteriously returned a wrong value.

      Placing a message in the Rails log is not enough! To give users assurance, and to protect users from bad data, the connection should be rejected, IMHO.

            Assignee:
            Unassigned Unassigned
            Reporter:
            MarkDBlackwell MarkDBlackwell [X]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: