Sha256: a98e478abc02b1bc8e19385aa8c463f16c9c4c41c9ca519f17a73d6bb990c532

Contents?: true

Size: 221 Bytes

Versions: 3

Compression:

Stored size: 221 Bytes

Contents

class Tagging < ActiveRecord::Base #:nodoc:
  belongs_to :tag
  belongs_to :taggable, :polymorphic => true
  belongs_to :tagger, :polymorphic => true
  
  validates_presence_of :context
  validates_presence_of :tag_id
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
acts-as-taggable-on-1.0.15 lib/acts_as_taggable_on/tagging.rb
acts-as-taggable-on-1.0.14 lib/acts_as_taggable_on/tagging.rb
acts-as-taggable-on-1.0.13 lib/acts_as_taggable_on/tagging.rb