aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-10-12 01:07:57 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-10-12 01:07:57 +0000
commit6823f57b27b61e4b38154fc750189fb84ebe3b02 (patch)
treeb51135d370499d2db858e150e85e273d1b937612 /railties
parent8946804b8a73242ac59296782741fec2fb08e97a (diff)
downloadrails-6823f57b27b61e4b38154fc750189fb84ebe3b02.tar.gz
rails-6823f57b27b61e4b38154fc750189fb84ebe3b02.tar.bz2
rails-6823f57b27b61e4b38154fc750189fb84ebe3b02.zip
Use the correct scope for Rake tasks
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/tasks/databases.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/tasks/databases.rake b/railties/lib/tasks/databases.rake
index acb03b3699..b416297406 100644
--- a/railties/lib/tasks/databases.rake
+++ b/railties/lib/tasks/databases.rake
@@ -1,7 +1,7 @@
desc "Migrate the database according to the migrate scripts in db/migrate (only supported on PG/MySQL). A specific version can be targetted with VERSION=x"
task :migrate => :environment do
ActiveRecord::Migrator.migrate("db/migrate/", ENV["VERSION"] ? ENV["VERSION"].to_i : nil)
- Task[:db_schema_dump].invoke
+ Rake::Task[:db_schema_dump].invoke
end
desc "Load fixtures into the current environment's database"