diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-02-23 00:58:00 +0200 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-02-23 00:58:00 +0200 |
commit | 6a1e7292bc3dbf9963c9aa8de75662ce1496a7c7 (patch) | |
tree | cbb23ae47afb78bfb5415dceaa1d9d34ec1a3e8b /activejob/lib/active_job/timezones.rb | |
parent | f85c77bef9efd8ffa97a59e87320e55e486e30c2 (diff) | |
download | rails-6a1e7292bc3dbf9963c9aa8de75662ce1496a7c7.tar.gz rails-6a1e7292bc3dbf9963c9aa8de75662ce1496a7c7.tar.bz2 rails-6a1e7292bc3dbf9963c9aa8de75662ce1496a7c7.zip |
Remove passing extra arguments to ActiveJob Callbacks
Diffstat (limited to 'activejob/lib/active_job/timezones.rb')
-rw-r--r-- | activejob/lib/active_job/timezones.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activejob/lib/active_job/timezones.rb b/activejob/lib/active_job/timezones.rb index 83f459aea5..ac018eb752 100644 --- a/activejob/lib/active_job/timezones.rb +++ b/activejob/lib/active_job/timezones.rb @@ -5,7 +5,7 @@ module ActiveJob extend ActiveSupport::Concern included do - around_perform do |job, block, _| + around_perform do |job, block| Time.use_zone(job.timezone, &block) end end |