clean up [ci skip]
This commit is contained in:
parent
8fed516142
commit
1edd378cc0
|
@ -28,7 +28,6 @@ module Impressionist
|
||||||
to_s.safe_constantize || false
|
to_s.safe_constantize || false
|
||||||
end
|
end
|
||||||
|
|
||||||
# default mode is ERROR
|
|
||||||
def impressionist_log(str, mode=:error)
|
def impressionist_log(str, mode=:error)
|
||||||
Rails.logger.send(mode.to_s, str)
|
Rails.logger.send(mode.to_s, str)
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Note
|
# Note
|
||||||
# If impressionist_counter_cache_options[:counter_cache] is false(default)
|
# 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
|
module Impressionist
|
||||||
|
|
||||||
class UpdateCounters
|
class UpdateCounters
|
||||||
|
|
Loading…
Reference in New Issue