Sha256: d61d554d6e927a03130730714661d67e67300661251605c5dd726a5284c59d19
Contents?: true
Size: 353 Bytes
Versions: 1
Compression:
Stored size: 353 Bytes
Contents
class Tagging < ActiveRecord::Base #:nodoc: belongs_to :tag belongs_to :taggable, :polymorphic => true belongs_to :tagger, :polymorphic => true validates_presence_of :context acts_as_list :scope => 'taggable_id = #{taggable_id} AND taggable_type = \'#{taggable_type}\' AND context = \'#{context}\'' default_scope :order => 'position ASC' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ordered-tags-0.0.1 | lib/acts_as_taggable_on/tagging.rb |