On Nov 3, 9:39 pm, "Todd A. Jacobs" <tjacobs-sndr- [email protected]> wrote:
> > but while the form will accept the data, nothing is populating the > foreign keys. In other words, I end up with unassociated records in the > database, when I'm actually expecting the records of the nested form to > be correctly linked. Your associations are back to front - users has a contact_id column, so user belongs_to contact, not has_one (ditto contacts and address_id) Fred > > What am I doing wrong here? > > -- > "Oh, look: rocks!" > -- Doctor Who, "Destiny of the Daleks" --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

