diff options
author | Damir Gaynetdinov <gaynetdinov@fiksu.com> | 2013-01-25 13:00:09 +0400 |
---|---|---|
committer | Damir Gaynetdinov <gaynetdinov@fiksu.com> | 2013-01-25 13:00:09 +0400 |
commit | 0b9c4729059a8169f8ea3e9406b9ab23d651d701 (patch) | |
tree | e51f2c3a4b9da88b422a02eafe19ace3f3ddceb1 /activerecord/lib/active_record | |
parent | 2a5d119b44b1099c939bbf71c99fec5883d05ef7 (diff) | |
download | rails-0b9c4729059a8169f8ea3e9406b9ab23d651d701.tar.gz rails-0b9c4729059a8169f8ea3e9406b9ab23d651d701.tar.bz2 rails-0b9c4729059a8169f8ea3e9406b9ab23d651d701.zip |
Replaced abcs to config.
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/railties/databases.rake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/railties/databases.rake b/activerecord/lib/active_record/railties/databases.rake index 1bdb841398..8f7c7f6b00 100644 --- a/activerecord/lib/active_record/railties/databases.rake +++ b/activerecord/lib/active_record/railties/databases.rake @@ -433,11 +433,11 @@ db_namespace = namespace :db do when 'sqlserver' `smoscript -s #{config['host']} -d #{config['database']} -u #{config['username']} -p #{config['password']} -f #{filename} -A -U` when "firebird" - set_firebird_env(abcs[Rails.env]) - db_string = firebird_db_string(abcs[Rails.env]) + set_firebird_env(config) + db_string = firebird_db_string(config) sh "isql -a #{db_string} > #{filename}" else - raise "Task not supported by '#{abcs[Rails.env]["adapter"]}'" + raise "Task not supported by '#{config['adapter']}'" end if ActiveRecord::Base.connection.supports_migrations? |