Sha256: 5b61a41d18917015df405779ab73eabb5fa3b8121c2b7f7948c164ecd443f2c4
Contents?: true
Size: 499 Bytes
Versions: 1
Compression:
Stored size: 499 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_biblio-0.1.0.pre43 | app/models/donate.rb |