reenable logging

This commit is contained in:
Raphael Sofaer 2011-04-28 09:38:28 -07:00
parent 28a997c2cd
commit 4ed621fc1f

View file

@ -9,7 +9,7 @@ class ActionView::LogSubscriber
hash.merge(:layout => event.payload[:layout]) if event.payload[:layout]
#Rails.logger.info(hash)
Rails.logger.info(hash)
end
alias :render_partial :render_template
alias :render_collection :render_template
@ -81,7 +81,6 @@ end
module ActiveRecord
class LogSubscriber
def sql(event)
return
self.class.runtime += event.duration
return unless logger.info?