1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

[ActiveJob] remove ruby warnings

This commit is contained in:
Abdelkader Boudih 2014-08-15 10:11:58 +00:00
parent 3954fdf5f3
commit b06d91924f
2 changed files with 3 additions and 3 deletions

View file

@ -57,7 +57,7 @@ module ActiveJob
end
def retry_now
self.class.enqueue *arguments
self.class.enqueue(*arguments)
end
def retry_in(interval)

View file

@ -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