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:
commit
11370eea81
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue