Module: ActsAsTaggableOnMongoid::Models::Concerns::TaggingModel

Extended by:
ActiveSupport::Concern
Included in:
Tagging
Defined in:
lib/acts_as_taggable_on_mongoid/models/concerns/tagging_model.rb

Overview

This module includes all methods and defintions needed/used by a Tagging model.

Tagging model definitions are done via including this or the sub-modules so that the definitions of the core attributes for a Tagging model can be defined in each class separately.

The primary reason for doing this is validations, which call the superclass validations for classes that inherit causing problems with independent inherted classes.