Permalink
Browse files

Replaced abcs to config.

  • Loading branch information...
1 parent 2a5d119 commit 0b9c4729059a8169f8ea3e9406b9ab23d651d701 Damir Gaynetdinov committed Jan 25, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 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?

0 comments on commit 0b9c472

Please sign in to comment.