diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-02-13 11:01:02 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-02-23 11:00:09 -0800 |
commit | 6dbf6f39f95931c783e1d62cac586723c391199d (patch) | |
tree | e298fa5caf5f35dfdd1e34c396377e7ae063998e | |
parent | 419040f203f5c7864fa692459aa3284368c48d50 (diff) | |
download | rails-6dbf6f39f95931c783e1d62cac586723c391199d.tar.gz rails-6dbf6f39f95931c783e1d62cac586723c391199d.tar.bz2 rails-6dbf6f39f95931c783e1d62cac586723c391199d.zip |
Merge pull request #4834 from sskirby/fix_usage_of_psql_in_db_test_prepare
Fix usage of psql in db:test:prepare
-rw-r--r-- | activerecord/lib/active_record/railties/databases.rake | 2 |
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 2df83514bd..b94df4262a 100644 --- a/activerecord/lib/active_record/railties/databases.rake +++ b/activerecord/lib/active_record/railties/databases.rake @@ -424,7 +424,7 @@ db_namespace = namespace :db do end when /postgresql/ set_psql_env(abcs[env]) - `psql -f "#{filename}" #{abcs[env]['database']} #{abcs[env]['template']}` + `psql -f "#{filename}" #{abcs[env]['database']}` when /sqlite/ dbfile = abcs[env]['database'] `sqlite3 #{dbfile} < "#{filename}"` |