clean up [ci skip]

This commit is contained in:
Antonio C Nalesso Moreira 2013-08-31 00:57:08 +01:00
parent 8fed516142
commit 1edd378cc0
2 changed files with 1 additions and 2 deletions

View File

@ -28,7 +28,6 @@ module Impressionist
to_s.safe_constantize || false
end
# default mode is ERROR
def impressionist_log(str, mode=:error)
Rails.logger.send(mode.to_s, str)
end

View File

@ -1,6 +1,6 @@
# Note
# If impressionist_counter_cache_options[:counter_cache] is false(default)
# it won't event run this class
# it won't even run this class
module Impressionist
class UpdateCounters