Commit 91600cc0 authored by Imre Farkas's avatar Imre Farkas

Fix Ruby 2.7 warning in forbid_sidekiq_in_transactions initializer

parent ebb1fc93
......@@ -46,7 +46,7 @@ end
module ActiveRecord
class Base
module SkipTransactionCheckAfterCommit
def committed!(*)
def committed!(*args, **kwargs)
Sidekiq::Worker.skipping_transaction_check { super }
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment