Yeah, that is the way that the associations work.
if a model 'has_one' of something, then the something has the foreign key relationship back.
It is described fairly nicely here:
http://guides.rails.info/association_basics.html
Simon
Yeah, that is the way that the associations work.
if a model 'has_one' of something, then the something has the foreign key relationship back.
It is described fairly nicely here:
http://guides.rails.info/association_basics.html
Simon