Sha256: c18213e164437f55e3ad7313dec7697cc22fe3f0027ebae428109f44f846a1c8

Contents?: true

Size: 186 Bytes

Versions: 1

Compression:

Stored size: 186 Bytes

Contents

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


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tag_bat-0.0.2 app/models/tag_bat/tag.rb