Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 5374fb3cad
Fetching contributors…

Cannot retrieve contributors at this time

8 lines (7 sloc) 0.346 kB
class Man < ActiveRecord::Base
has_one :face, :inverse_of => :man
has_many :interests, :inverse_of => :man
# These are "broken" inverse_of associations for the purposes of testing
has_one :dirty_face, :class_name => 'Face', :inverse_of => :dirty_man
has_many :secret_interests, :class_name => 'Interest', :inverse_of => :secret_man
end
Jump to Line
Something went wrong with that request. Please try again.