Skip to content

Commit 57cf215

Browse files
committed
Update sqlserver_database_tasks.rb
1 parent 6b2689d commit 57cf215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/active_record/tasks/sqlserver_database_tasks.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module Tasks
1010
class SQLServerDatabaseTasks
1111
DEFAULT_COLLATION = "SQL_Latin1_General_CP1_CI_AS"
1212

13-
delegate :establish_connection, to: ActiveRecord::Base
13+
delegate :with_connection, :establish_connection, to: ActiveRecord::Base
1414

1515
def self.using_database_configurations?
1616
true

0 commit comments

Comments
 (0)