Module: ActsAsTaggableOn::Taggable::Cache

Defined in:
lib/acts_as_taggable_on/taggable/cache.rb

Defined Under Namespace

Modules: ClassMethods, Columns, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
# File 'lib/acts_as_taggable_on/taggable/cache.rb', line 3

def self.included(base)
  # When included, conditionally adds tag caching methods when the model
  #   has any "cached_#{tag_type}_list" column
  base.extend Columns
end