Skip to content

Commit

Permalink
Merge pull request #17498 from rochefort/remove-redundant-to_s
Browse files Browse the repository at this point in the history
Remove redundant `to_s` in interpolation
  • Loading branch information
rafaelfranca committed Nov 3, 2014
2 parents faa8649 + 797a7a7 commit 11370ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activejob/lib/active_job/logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def perform_start(event)
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

Expand Down

0 comments on commit 11370ee

Please sign in to comment.