Mongoid overrides the model generator, but you can return it.
In config / application.rb you can add a line if you already have a block similar to this:
config.generators do |g| g.template_engine :haml ... g.orm :active_record end
Or just just add the whole configuration line directly to the file
config.generators.orm :active_record
You can also pass: migrations => false if you want to disable migration
source share