diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2011-10-08 20:29:56 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2011-10-08 20:29:56 -0700 |
commit | bedd6dcd432f55460624455b5026d1d52c1967d4 (patch) | |
tree | 40c427c38b6dc0699c1ec5dad2abbddf16a6baa3 | |
parent | 114218e4da9a2adf7b6ef4a27d2fa47e15881cf1 (diff) | |
parent | 17a79437485077a54e65c0d493960c113c419721 (diff) | |
download | rails-bedd6dcd432f55460624455b5026d1d52c1967d4.tar.gz rails-bedd6dcd432f55460624455b5026d1d52c1967d4.tar.bz2 rails-bedd6dcd432f55460624455b5026d1d52c1967d4.zip |
Merge pull request #500 from cyril/patch-1
Use quotes for command substitution
-rw-r--r-- | activerecord/lib/active_record/railties/databases.rake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/railties/databases.rake b/activerecord/lib/active_record/railties/databases.rake index 3f6c98f8dd..4fb19b14ea 100644 --- a/activerecord/lib/active_record/railties/databases.rake +++ b/activerecord/lib/active_record/railties/databases.rake @@ -288,7 +288,7 @@ db_namespace = namespace :db do pending_migrations.each do |pending_migration| puts ' %4d %s' % [pending_migration.version, pending_migration.name] end - abort %{Run "rake db:migrate" to update your database then try again.} + abort %{Run `rake db:migrate` to update your database then try again.} end end end @@ -357,7 +357,7 @@ db_namespace = 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 limit the frameworks that will be loaded} + 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 limit the frameworks that will be loaded} end end end |