From: Jeremy Kemper Date: 2006-09-25T07:34:56+09:00 Subject: Re: Ruby on Rails Relationships ------=_Part_21401_19544828.1159137293095 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 9/24/06, Murdoc wrote: > > I'm not sure if this is an appropriate group to ask for assitance with > Ruby on Rails, so let me know if it isn't. Please see http://groups.google.com/group/rubyonrails-talk Anyways, I am having trouble figuring out how to setup what would appear to > be a simple has_one/belongs_to relationship. > Think of belongs_to as 'references': use it when the model has the foreign key; use has_one/many when the model is referenced by a foreign key. jeremy ------=_Part_21401_19544828.1159137293095--