Sha256: c1ec54498edac5f7cc5db2951341a529819920c374d235afd73f79c4cf798f11
Contents?: true
Size: 500 Bytes
Versions: 12
Compression:
Stored size: 500 Bytes
Contents
class Donate < ActiveRecord::Base attr_accessible :agent_id, :item_id belongs_to :agent, :validate => true belongs_to :item, :validate => true validates_associated :agent, :item validates_presence_of :agent, :item end # == Schema Information # # Table name: donates # # id :integer not null, primary key # agent_id :integer not null # item_id :integer not null # created_at :datetime not null # updated_at :datetime not null #
Version data entries
12 entries across 12 versions & 1 rubygems