Module: Tagliani::Concerns::Taggable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/tagliani/concerns/taggable.rb,
lib/tagliani/concerns/taggable/tags.rb
Defined Under Namespace
Classes: Tags
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
8 9 10 11 12 |
# File 'lib/tagliani/concerns/taggable.rb', line 8 def self.included(base) base.class_eval do after_save :inherit_tags, if: proc { self..root } end end |