Module: Gricer::Mongoid::CounterCache

Extended by:
ActiveSupport::Concern
Included in:
Request, Session
Defined in:
lib/gricer/mongoid/counter_cache.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

Extend the ActiveModel with the statistics class methods.

See Also:



8
9
10
# File 'lib/gricer/mongoid/counter_cache.rb', line 8

def self.included(base)
  base.extend ClassMethods
end