Sha256: 9e65cf3e34d7c5db496e2f18b58274f068bd5942174a21c5b4d6e0bba0ba876a

Contents?: true

Size: 199 Bytes

Versions: 1

Compression:

Stored size: 199 Bytes

Contents

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
etiqueta_rails-0.0.2 spec/internal/app/models/etiqueta_rails/tag.rb