ruby on rails - How can I do "rake db:migrate" with mongoid and active record? -


i want migrate active record (mysql) database.

i use database both mongoid , active record. typed code.

rails generate active_record:migration createuserstable

it worked. can't migrate active_record. how can migrate active record rake active_record:db:migrate?

i found problem. missed adding active_record/railtie application.rb

after added following line, works!

require "active_record/railtie"


Comments