Skip to content

Commit

Permalink
Update db:migrate error message to reflect the removal of config.fram…
Browse files Browse the repository at this point in the history
…eworks
  • Loading branch information
packagethief committed Jan 6, 2010
1 parent 8a41b71 commit 891ba18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/railties/databases.rake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 891ba18

Please sign in to comment.