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:
parent
164625ca1f
commit
c2da5e57cd
2 changed files with 2 additions and 2 deletions
|
@ -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]
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue