Module: Tagtical::Taggable::Ownership
- Defined in:
- lib/tagtical/taggable/ownership.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/tagtical/taggable/ownership.rb', line 3 def self.included(base) base.send :include, Tagtical::Taggable::Ownership::InstanceMethods base.extend Tagtical::Taggable::Ownership::ClassMethods base.after_save :save_owned_tags base.initialize_acts_as_taggable_ownership end |