aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/models/reference.rb
blob: 4a17c936f5d02986375ed2ff599600372a31d757 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                    




                                                     
class Reference < ActiveRecord::Base
  belongs_to :person
  belongs_to :job
end

class BadReference < ActiveRecord::Base
  self.table_name ='references'
  default_scope :conditions => {:favourite => false }
end