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:
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:
Simon