Module: ActsAsTaggableOnDynamic::Taggable

Defined in:
lib/acts_as_taggable_on_dynamic/taggable.rb

Instance Method Summary collapse

Instance Method Details

#acts_as_taggable_dynamicObject



4
5
6
7
8
9
10
11
12
13
# File 'lib/acts_as_taggable_on_dynamic/taggable.rb', line 4

def acts_as_taggable_dynamic
  # make the model taggable from the original gem
  acts_as_taggable

  # add the specific model methods we need
  class_eval do
    include ActsAsTaggableOnDynamic::Utils
    include ActsAsTaggableOnDynamic::DynamicTagContextAttributes
  end
end