• P
    Rake tasks for managing database while development and testing of engines · 5df72a23
    Piotr Sarnacki 提交于
    Some of the engines needs database. As engine needs to be run inside
    Rails application, migrations and other database operations are run
    from dummy application. To make that process simple I changed db
    tasks to look for migrations in both engine's and application's
    db/migrate directory. You can run all of the database tasks from
    test/dummy or directly from engine with prefix app, like:
    
      rake app:db:migrate
      rake app:db:migrate:redo
    5df72a23
plugin_new_generator_test.rb 6.4 KB