All pastes #611267 Raw Edit

Untitled

public text v1 · immutable
·published 2007-07-09 20:58 UTC
rendered paste body
class Project < ActiveRecord::Base
  acts_as_tree
  belongs_to :owner, :class_name => :person, :foreign_key => :owner_id
  has_many :purchase_orders
  has_many :clients, :through => :fundings
  
  validates_presence_of :title
  validates_presence_of :funds
end