aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorJeffrey Hardy <jeff@37signals.com>2010-01-06 13:37:45 -0500
committerJeffrey Hardy <jeff@37signals.com>2010-01-06 13:37:45 -0500
commit891ba18d65ba314c70280724f58882381a2f1b5a (patch)
tree443d7b69ba1e1ba3538ae4d786b9d09c88bca5e5 /activerecord
parent8a41b710f6e316b74a312635f532521be16eb869 (diff)
downloadrails-891ba18d65ba314c70280724f58882381a2f1b5a.tar.gz
rails-891ba18d65ba314c70280724f58882381a2f1b5a.tar.bz2
rails-891ba18d65ba314c70280724f58882381a2f1b5a.zip
Update db:migrate error message to reflect the removal of config.frameworks
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/railties/databases.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/railties/databases.rake b/activerecord/lib/active_record/railties/databases.rake
index 492d26c268..1ebb92e0f6 100644
--- a/activerecord/lib/active_record/railties/databases.rake
+++ b/activerecord/lib/active_record/railties/databases.rake
@@ -292,7 +292,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/application.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/boot.rb to limit the frameworks that will be loaded}
end
end
end