We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1882de5 + aa7c157 commit 3ef20b3Copy full SHA for 3ef20b3
lib/active_record/sqlserver_base.rb
@@ -2,7 +2,7 @@
2
3
module ActiveRecord
4
module ConnectionHandling
5
- def sqlserver_connection_class
+ def sqlserver_adapter_class
6
ConnectionAdapters::SQLServerAdapter
7
end
8
@@ -11,8 +11,8 @@ def sqlserver_connection(config) #:nodoc:
11
config.reverse_merge!(mode: :dblib)
12
config[:mode] = config[:mode].to_s.downcase.underscore.to_sym
13
14
- sqlserver_connection_class.new(
15
- sqlserver_connection_class.new_client(config),
+ sqlserver_adapter_class.new(
+ sqlserver_adapter_class.new_client(config),
16
logger,
17
nil,
18
config
0 commit comments