Avoid using to_s when performing String Interpolation

This commit is contained in:
Akshay
2014-08-14 23:55:27 +05:30
parent 5d9a389966
commit 7ef61144e7
18 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ class ForumsController < ApplicationController
end
def error
raise "WAT - #{Time.now.to_s}"
raise "WAT - #{Time.now}"
end
def home_redirect