Sha256: 74b793a7134ae84abe305c24af440d1fe7ef2aaccb82288ca0653fcad88b430a

Contents?: true

Size: 189 Bytes

Versions: 1

Compression:

Stored size: 189 Bytes

Contents

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gutentag-0.1.0 app/models/gutentag/tag.rb