about summary refs log tree commit diff
path: root/lib/rails
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/rails
parentcec005068f25c6487331a8437e69f29d5bef3d60 (diff)
Apply Rubocop Performance/BindCall (#23437)
Diffstat (limited to 'lib/rails')
-rw-r--r--lib/rails/engine_extensions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rails/engine_extensions.rb b/lib/rails/engine_extensions.rb
index 4848b15f2..4e3767db9 100644
--- a/lib/rails/engine_extensions.rb
+++ b/lib/rails/engine_extensions.rb
@@ -2,7 +2,7 @@ module Rails
   module EngineExtensions
     # Rewrite task loading code to filter digitalocean.rake task
     def run_tasks_blocks(app)
-      Railtie.instance_method(:run_tasks_blocks).bind(self).call(app)
+      Railtie.instance_method(:run_tasks_blocks).bind_call(self, app)
       paths["lib/tasks"].existent.reject { |ext| ext.end_with?('digitalocean.rake') }.sort.each { |ext| load(ext) }
     end
   end