Sha256: 6c6df9d23ebc78864e47885ee52da864daf2fbf474c8e8ad994ae0f5d4103756
Contents?: true
Size: 320 Bytes
Versions: 3
Compression:
Stored size: 320 Bytes
Contents
module Tagalong class TagalongTagging < ::ActiveRecord::Base belongs_to :tagalong_tag, :class_name => 'Tagalong::TagalongTag' belongs_to :taggable, :polymorphic => true validates_presence_of :tagalong_tag_id validates_presence_of :tagalong_tag_id, :scope => [ :taggable_type, :taggable_id ] end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tagalong-0.0.3 | lib/tagalong/tagalong_tagging.rb |
tagalong-0.0.2 | lib/tagalong/tagalong_tagging.rb |
tagalong-0.0.1 | lib/tagalong/tagalong_tagging.rb |