Module: Cash

Defined in:
lib/cash/fake.rb,
lib/cash/lock.rb,
lib/cash/index.rb,
lib/cash/local.rb,
lib/cash/config.rb,
lib/cash/finders.rb,
lib/cash/request.rb,
lib/cash/accessor.rb,
lib/cash/buffered.rb,
lib/cash/query/select.rb,
lib/cash/transactional.rb,
lib/cash/write_through.rb,
lib/cash/query/abstract.rb,
lib/cash/query/calculation.rb,
lib/cash/query/primary_key.rb,
lib/cache_money.rb

Defined Under Namespace

Modules: Accessor, ClassMethods, Config, Finders, Query, WriteThrough Classes: Buffered, Command, Fake, Index, Local, LocalBuffer, Lock, NestedBuffered, Transactional

Constant Summary collapse

Request =
{}

Class Method Summary collapse

Class Method Details

.included(active_record_class) ⇒ Object



37
38
39
40
41
42
# File 'lib/cache_money.rb', line 37

def self.included(active_record_class)
  active_record_class.class_eval do
    include Config, Accessor, WriteThrough, Finders
    extend ClassMethods
  end
end