Avoid using to_s when performing String Interpolation

This commit is contained in:
Akshay
2014-08-14 23:50:52 +05:30
parent 5d9a389966
commit 7ef61144e7
18 changed files with 26 additions and 26 deletions

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