mongoid reload causes exception

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 5.0.0
    • Affects Version/s: 5.0.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      After upgrading to mongoid beta 5.0.0

      This exception keeps coming up in production for me.

      undefined method `empty?' for nil:NilClass
      /app/vendor/bundle/ruby/2.2.0/gems/mongoid-5.0.0.beta/lib/mongoid/reloadable.rb:23:in `reload'

            Assignee:
            Emily Stolfo (Inactive)
            Reporter:
            Eric Raio
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: