Module: Tagalong::Tagger::ClassMethods
- Defined in:
- lib/tagalong/tagger.rb
Instance Method Summary collapse
Instance Method Details
#tagalong_tagger ⇒ Object
8 9 10 11 12 13 |
# File 'lib/tagalong/tagger.rb', line 8 def tagalong_tagger class_eval do has_many :tagalong_tags, :class_name => 'Tagalong::TagalongTag', :as => :tagger include Tagalong::Tagger::InstanceMethods end end |