Permalink
Browse files

Update db:migrate error message to reflect the removal of config.fram…

…eworks
  • Loading branch information...
packagethief committed Jan 6, 2010
1 parent 8a41b71 commit 891ba18d65ba314c70280724f58882381a2f1b5a
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 891ba18

Please sign in to comment.