Sha256: dd706dbd1dd36ae728e0d09e148669dabed9e87edb1a2f0e35c7f57ef54de1c1
Contents?: true
Size: 181 Bytes
Versions: 3
Compression:
Stored size: 181 Bytes
Contents
class MyTags::Tag < ActiveRecord::Base has_many :taggings, :class_name => 'MyTags::Tagging', :dependent => :destroy validates :name, :presence => true, :uniqueness => true end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
my_tags-1.0.0 | app/models/my_tags/tag.rb |
my_tags-0.0.9 | app/models/my_tags/tag.rb |
my_tags-0.0.8 | app/models/my_tags/tag.rb |