aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/face.rb
blob: 1540dbf7412b1c930dae967515024e86868c3808 (plain) (blame)
1
2
3
4
5
class Face < ActiveRecord::Base
  belongs_to :man, :inverse_of => :face
  # This is a "broken" inverse_of for the purposes of testing
  belongs_to :horrible_man, :class_name => 'Man', :inverse_of => :horrible_face
end