1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove straggling symbolize_strings_in_hash from [2427].

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2479 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper 2005-10-06 17:16:47 +00:00
parent 164625ca1f
commit c2da5e57cd
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ begin
# 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 file

@ -16,7 +16,7 @@ module ActiveRecord
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'