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

Generator: Module missing for Model in mountable engine

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.1.3
    • Component/s: None
    • Labels:

      Description

      To reproduce:

      $ git clone git://github.com/wintersolutions/generator_bug.git

      $ cd generator_bug

      $ bundle install

      $ rails g scaffold User name:string

      Result: /app/models/generator_bug/user.rb has no module
      Expected: /app/models/generator_bug/user.rb to be in

       

      module

        Attachments

          Activity

            People

            Assignee:
            durran Durran Jordan
            Reporter:
            wintersolutions wintersolutions
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: