Sha256: 6e60cb66a6a793d6b5e6a1e93fabc622c3387edd588436dcaac38bd185745b13

Contents?: true

Size: 199 Bytes

Versions: 2

Compression:

Stored size: 199 Bytes

Contents

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tag_ramaprasad-1.0.2 app/models/tag_ramaprasad/tag.rb
tag_ramaprasad-1.0.1 app/models/tag_ramaprasad/tag.rb