Sha256: 58ca6677a52c93b9f9c784925a5c6e16ac26b4d64a291b053828c431c4021370
Contents?: true
Size: 693 Bytes
Versions: 26
Compression:
Stored size: 693 Bytes
Contents
# == Schema Information # # Table name: lentil_tagsets # # id :integer not null, primary key # title :string(255) # description :text # created_at :datetime not null # updated_at :datetime not null # harvest :boolean default(FALSE) # class Lentil::Tagset < ActiveRecord::Base attr_accessible :description, :title, :harvest, :tag_ids attr_accessor :remove_tagset has_many :tagset_assignments, :dependent => :destroy has_many :tags, :through => :tagset_assignments # validates_presence_of :title validates :title, {:presence => true, :uniqueness => {:case_sensitive => false}} validates :tags, :presence => true end
Version data entries
26 entries across 26 versions & 1 rubygems