diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-12-04 17:12:57 +0100 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2010-12-09 01:59:54 +0100 |
commit | 5df72a238e9fcb18daf6ab6e6dc9051c9106d7bb (patch) | |
tree | 6b94712c8b82f77bf663f0ffa429a8197ca98b0c /railties/lib/rails/code_statistics.rb | |
parent | 2dc3342f75577fa521d9d0c54260da75450126a2 (diff) | |
download | rails-5df72a238e9fcb18daf6ab6e6dc9051c9106d7bb.tar.gz rails-5df72a238e9fcb18daf6ab6e6dc9051c9106d7bb.tar.bz2 rails-5df72a238e9fcb18daf6ab6e6dc9051c9106d7bb.zip |
Rake tasks for managing database while development and testing of engines
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
Diffstat (limited to 'railties/lib/rails/code_statistics.rb')
0 files changed, 0 insertions, 0 deletions