Using Active Record generators after Mongoid installation?

Allyl Isocyanate picture Allyl Isocyanate · Jun 16, 2011 · Viewed 10.6k times · Source

I'm using MongoDB via Mongoid integration, as well as ActiveRecord in a project. I would like to generate migrations for active record, and Mongoid is the default when I run.

rails g migration

Any ideas how to specify AR as my default generator for migrations, models, etc?

Thanks!

Answer

Allyl Isocyanate picture Allyl Isocyanate · Jun 23, 2011
rails g active_record:migration