diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-11-03 20:06:42 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-11-03 20:06:42 -0200 |
commit | 11370eea81ca3b7b9d79264c0a4517c961d45bf6 (patch) | |
tree | 7524b3fcc0d22934559df5227d327b1223efe3c9 /activejob | |
parent | faa8649dea5d3c87028999e82870d1be261804fe (diff) | |
parent | 797a7a7c833f456987335d02696cc8531df992d3 (diff) | |
download | rails-11370eea81ca3b7b9d79264c0a4517c961d45bf6.tar.gz rails-11370eea81ca3b7b9d79264c0a4517c961d45bf6.tar.bz2 rails-11370eea81ca3b7b9d79264c0a4517c961d45bf6.zip |
Merge pull request #17498 from rochefort/remove-redundant-to_s
Remove redundant `to_s` in interpolation
Diffstat (limited to 'activejob')
-rw-r--r-- | activejob/lib/active_job/logging.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activejob/lib/active_job/logging.rb b/activejob/lib/active_job/logging.rb index 6e703faaa7..21d2fda3ff 100644 --- a/activejob/lib/active_job/logging.rb +++ b/activejob/lib/active_job/logging.rb @@ -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 |