Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove straggling symbolize_strings_in_hash from [2427].

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2479 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit c2da5e57cd648e31f08760d8618843a945660060 1 parent 164625c
@jeremy jeremy authored
View
2  activerecord/lib/active_record/connection_adapters/db2_adapter.rb
@@ -11,7 +11,7 @@ class Base
# Establishes a connection to the database that's used by
# all Active Record objects
def self.db2_connection(config) # :nodoc:
- symbolize_strings_in_hash(config)
+ config = config.symbolize_keys
usr = config[:username]
pwd = config[:password]
View
2  activerecord/lib/active_record/connection_adapters/sqlserver_adapter.rb
@@ -16,7 +16,7 @@ class Base
def self.sqlserver_connection(config) #:nodoc:
require_library_or_gem 'dbi' unless self.class.const_defined?(:DBI)
- symbolize_strings_in_hash(config)
+ config = config.symbolize_keys
mode = config[:mode] ? config[:mode].to_s.upcase : 'ADO'
username = config[:username] ? config[:username].to_s : 'sa'
Please sign in to comment.
Something went wrong with that request. Please try again.