aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-10-19 18:33:57 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-10-19 18:33:57 -0700
commit7ab30599a6c0ca44d68ca10383b07ba4a8bd75b4 (patch)
tree887a8b7a19bcc74c7df71dbe594057875ee186b9 /railties
parent66c4f28bd63d4c4cecc6ecf88259792fd4aa5fcf (diff)
downloadrails-7ab30599a6c0ca44d68ca10383b07ba4a8bd75b4.tar.gz
rails-7ab30599a6c0ca44d68ca10383b07ba4a8bd75b4.tar.bz2
rails-7ab30599a6c0ca44d68ca10383b07ba4a8bd75b4.zip
Error message references application.rb instead of environment.rb
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/tasks/databases.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/tasks/databases.rake b/railties/lib/rails/tasks/databases.rake
index 70b59625f8..a35a6c156b 100644
--- a/railties/lib/rails/tasks/databases.rake
+++ b/railties/lib/rails/tasks/databases.rake
@@ -295,7 +295,7 @@ namespace :db do
if File.exists?(file)
load(file)
else
- abort %{#{file} doesn't exist yet. Run "rake db:migrate" to create it then try again. If you do not intend to use a database, you should instead alter #{Rails.root}/config/environment.rb to prevent active_record from loading: config.frameworks -= [ :active_record ]}
+ abort %{#{file} doesn't exist yet. Run "rake db:migrate" to create it then try again. If you do not intend to use a database, you should instead alter #{Rails.root}/config/application.rb to prevent active_record from loading: config.frameworks -= [ :active_record ]}
end
end
end