Sha256: f330beb1b9a76105fb7367f2334e64073e36a6421660ddcda5935443f6e7175f
Contents?: true
Size: 434 Bytes
Versions: 6
Compression:
Stored size: 434 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 validates :image_id, :uniqueness => {:scope => :tag_id} end
Version data entries
6 entries across 6 versions & 1 rubygems