diff options
author | Abdelkader Boudih <terminale@gmail.com> | 2014-08-15 10:11:58 +0000 |
---|---|---|
committer | Abdelkader Boudih <terminale@gmail.com> | 2014-08-17 23:10:33 +0000 |
commit | b06d91924ffeb07c5ca6a3d96eff288267ee80c6 (patch) | |
tree | 13414ae7353aad3749f5280c47d36f20420b854f /activejob/lib/active_job/execution.rb | |
parent | 3954fdf5f325719143df12860f65d778350d12ed (diff) | |
download | rails-b06d91924ffeb07c5ca6a3d96eff288267ee80c6.tar.gz rails-b06d91924ffeb07c5ca6a3d96eff288267ee80c6.tar.bz2 rails-b06d91924ffeb07c5ca6a3d96eff288267ee80c6.zip |
[ActiveJob] remove ruby warnings
Diffstat (limited to 'activejob/lib/active_job/execution.rb')
-rw-r--r-- | activejob/lib/active_job/execution.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activejob/lib/active_job/execution.rb b/activejob/lib/active_job/execution.rb index 78ada3d908..181d049616 100644 --- a/activejob/lib/active_job/execution.rb +++ b/activejob/lib/active_job/execution.rb @@ -14,14 +14,14 @@ module ActiveJob self.arguments = Arguments.deserialize(serialized_args) run_callbacks :perform do - perform *arguments + perform(*arguments) end rescue => exception rescue_with_handler(exception) || raise(exception) end def perform(*) - raise NotImplementedError + fail NotImplementedError end end end |