Sha256: 57bebf7f9f72722f0873c36cb5444774495923e10b6819ecda9613340d9e9c53
Contents?: true
Size: 479 Bytes
Versions: 26
Compression:
Stored size: 479 Bytes
Contents
# == Schema Information # # Table name: lentil_taggings # # id :integer not null, primary key # image_id :integer # tag_id :integer # created_at :datetime not null # updated_at :datetime not null # staff_tag :boolean default(FALSE) # class Lentil::Tagging < ActiveRecord::Base belongs_to :image belongs_to :tag attr_accessible :tag, :staff_tag, :tag_id validates :image_id, :uniqueness => {:scope => :tag_id} end
Version data entries
26 entries across 26 versions & 1 rubygems