clean up [ci skip]
This commit is contained in:
parent
8fed516142
commit
1edd378cc0
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue