Module: ActiveModel::Acts::Taggable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/active_model/acts/taggable.rb
Overview
This acts_as extension provides capabilities for adding and removing tags to ActiveRecord objects.
Basic note example:
class Note < ActiveRecord::Base
acts_as_taggable
end
note.tag_list = "rails css javascript"
note.tag_list # returns ["rails", "css", "javascript"]
Defined Under Namespace
Modules: ClassMethods, InstanceMethods