• Type: Icon: Epic Epic
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.1, 7.1.7, 7.0.12
    • Affects Version/s: None
    • Component/s: None
    • Done
    • Rails 6.1 Support
    • Fully Compatible

      Rails 6.1 was released today: https://weblog.rubyonrails.org/2020/12/9/Rails-6-1-0-release/

      When trying to upgrade a project to it, bundler reports mongoid can't be upgraded:

       

       

      Bundler could not find compatible versions for gem "activerecord":
       In Gemfile:
       departure was resolved to 6.2.0, which depends on
       activerecord (>= 5.2.0, < 6.1)
      rails (= 6.1.0) was resolved to 6.1.0, which depends on
       activerecord (= 6.1.0)
       
      

       

      The gemspecc need to relax the version specification to allow this: https://github.com/mongodb/mongoid/blob/master/mongoid.gemspec#L35

       

      Note that, we had upgraded to Rails RC, and mongoid seem to work for us on it.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            vipul@saeloun.com Vipul A M
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: