Mongoid 2.4.11: error for models organized in sub-directories

XMLWordPrintableJSON

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

      After updating to Mongoid 2.4.11, Mongoid generates an error for models that are organized into sub-directories.

      For example, when creating a model Band in a sub-directory 'app/models/some_directory/band.rb' I get the following error:

      Expected /../app/models/some_directory/band.rb to define SomeDirectory::Band
      

            Assignee:
            Unassigned
            Reporter:
            digitalplaywright
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: