Skip to content

Commit

Permalink
Update sqlserver_database_tasks.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanharan committed May 23, 2024
1 parent 6b2689d commit 57cf215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_record/tasks/sqlserver_database_tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module Tasks
class SQLServerDatabaseTasks
DEFAULT_COLLATION = "SQL_Latin1_General_CP1_CI_AS"

delegate :establish_connection, to: ActiveRecord::Base
delegate :with_connection, :establish_connection, to: ActiveRecord::Base

def self.using_database_configurations?
true
Expand Down

0 comments on commit 57cf215

Please sign in to comment.