problem when creating indexes

XMLWordPrintableJSON

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

      I've organized a model and it's embedded models in sub-folders of app/models to better separate concepts. For instance, I put a model SomeModel into:

        app/models/example/some_model.rb
      

      When I run

        rake db:mongoid:create_indexes
      

      I get

       
       Expected /..../app/models/example/some_model.rb to define Example::SomeModel
      

      If I don't put models and their embedded models into sub-directories of model it quickly takes unnecessary thinking to separate concepts.

      Please let me know if you think the current behavior is convention and suggest a different practice if you know a better one.

      Thanks.

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

              Created:
              Updated:
              Resolved: