Module: TaggableEvent

Defined in:
lib/taggable_event.rb

Overview

for inclusion into Event

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
# File 'lib/taggable_event.rb', line 3

def self.included(base)
  base.class_eval {
    before_validation_on_create :inherit_tags
  }
end