about summary refs log tree commit diff
path: root/lib/active_record
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-07 19:10:25 -0500
committerGitHub <noreply@github.com>2023-02-08 09:10:25 +0900
commitc92e033cdd3e1f5c20a8b297a2e72d26f8ddd26f (patch)
tree42e2a1d6d0e47677b8443ae5fe1fcea0902cf021 /lib/active_record
parentcec005068f25c6487331a8437e69f29d5bef3d60 (diff)
Apply Rubocop Performance/BindCall (#23437)
Diffstat (limited to 'lib/active_record')
-rw-r--r--lib/active_record/database_tasks_extensions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_record/database_tasks_extensions.rb b/lib/active_record/database_tasks_extensions.rb
index e274f476d..d52186113 100644
--- a/lib/active_record/database_tasks_extensions.rb
+++ b/lib/active_record/database_tasks_extensions.rb
@@ -11,7 +11,7 @@ module ActiveRecord
         ActiveRecord::Base.establish_connection(db_config)
         Mastodon::Snowflake.define_timestamp_id
 
-        original_load_schema.bind(self).call(db_config, *args)
+        original_load_schema.bind_call(self, db_config, *args)
 
         Mastodon::Snowflake.ensure_id_sequences_exist
       end