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

Mongoid 2.4.11: error for models organized in sub-directories

    • Type: Icon: Task Task
    • Resolution: Done
    • 2.5.0
    • Affects Version/s: None
    • Component/s: 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 Unassigned
            Reporter:
            digitalplaywright digitalplaywright
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: