aboutsummaryrefslogtreecommitdiffstats
path: root/activejob
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-11-03 20:06:42 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-11-03 20:06:42 -0200
commit11370eea81ca3b7b9d79264c0a4517c961d45bf6 (patch)
tree7524b3fcc0d22934559df5227d327b1223efe3c9 /activejob
parentfaa8649dea5d3c87028999e82870d1be261804fe (diff)
parent797a7a7c833f456987335d02696cc8531df992d3 (diff)
downloadrails-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.rb2
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