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

Merge pull request #17498 from rochefort/remove-redundant-to_s

Remove redundant `to_s` in interpolation
This commit is contained in:
Rafael Mendonça França 2014-11-03 20:06:42 -02:00
commit 11370eea81

View file

@ -75,7 +75,7 @@ module ActiveJob
def perform(event)
info do
job = event.payload[:job]
"Performed #{job.class.name} from #{queue_name(event)} in #{event.duration.round(2).to_s}ms"
"Performed #{job.class.name} from #{queue_name(event)} in #{event.duration.round(2)}ms"
end
end