[Rails] Re: Using Mongoid with ActiveRecord and Devise

2012-01-23 Thread Mike Kim
Thanks Neener54, but I think I found the answer. Instead of running: rails g model Blogpost I need to run rails g active_record:model Blogpost and that should generate all the ActiveRecord files, even though I have mongoid installed. However, now I am running into issues with migration and

[Rails] Re: Using Mongoid with ActiveRecord and Devise

2012-01-23 Thread Mike Kim
Okay, I believe this is a bug in Devise. When I generate the User model using: rails g active_record:devise User I get a config/initializers/devise.rb file with the following setting: require 'devise/orm/mongoid' However, if I run rails g active_record:devise User, the setting should