Module: Impressionist

Defined in:
lib/impressionist/update_counters.rb,
lib/impressionist.rb,
lib/impressionist/bots.rb,
lib/impressionist/engine.rb,
lib/impressionist/version.rb,
app/models/impressionist/bots.rb,
lib/impressionist/rails_toggle.rb,
lib/impressionist/counter_cache.rb,
lib/impressionist/is_impressionable.rb,
lib/impressionist/setup_association.rb,
lib/generators/impressionist_generator.rb,
app/models/impressionist/impressionable.rb,
lib/impressionist/models/mongoid/impressionist/impressionable.rb,
lib/impressionist/models/mongo_mapper/impressionist/impressionable.rb,
lib/impressionist/models/active_record/impressionist/impressionable.rb

Overview

Note If impressionist_counter_cache_options is false(default) it won't even run this class

Defined Under Namespace

Modules: Bots, CounterCache, Generators, Impressionable, IsImpressionable Classes: Engine, RailsToggle, SetupAssociation, UpdateCounters

Constant Summary

VERSION =
"1.6.0"
@@orm =
:active_record

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Load configuration from initializer

Yields:

  • (_self)

Yield Parameters:

  • _self (Impressionist)

    the object that the method was called on



9
10
11
# File 'lib/impressionist.rb', line 9

def self.setup
  yield self
end