mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04: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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user