Sha256: f65858f5f4a7aad8ed79a22b4caca7fb14760e22c641cd9f6606ff377cf9d362

Contents?: true

Size: 191 Bytes

Versions: 2

Compression:

Stored size: 191 Bytes

Contents

class TagRingtail::Tag < ActiveRecord::Base
  has_many :taggings, :class_name => 'TagRingtail::Tagging', :dependent => :destroy

  validates :name, :presence => true, :uniqueness => true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tag_ringtail-0.1.0 app/models/tag_ringtail/tag.rb
tag_ringtail-0.0.2 app/models/tag_ringtail/tag.rb