Sha256: 076accb26d795327257280effba52ae850963674d5ff70b875ed3d7060690be6

Contents?: true

Size: 150 Bytes

Versions: 2

Compression:

Stored size: 150 Bytes

Contents

class Tag < ActiveRecord::Base
  acts_as_annotation_value :content_field => :name
  
  validates_presence_of :name
  validates_uniqueness_of :name
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
my_annotations-0.6.0 test/app_root/app/models/tag.rb
my_annotations-0.5.1 test/app_root/app/models/tag.rb