Hi Jerome, I think you'll get more help with this on the development list at [EMAIL PROTECTED] The question doesn't seem to me to be deployment related.
Best regards, Bill ----- Original Message ----- From: "Jerome Deflot" <[EMAIL PROTECTED]> To: <rubyonrails-deployment@googlegroups.com> Sent: Thursday, May 24, 2007 10:22 AM Subject: [Rails-deploy] Using form_for for nested objects > > Hi, > > I have the following data model: > * Person (name, ...) > * Address (street, city) > * Person has_ony Address > > I would like to edit the Person and its Address in one single form. > Using form_for, I can add the person fields. Using fields_for, I could > have the Address also, but it's not nested here (aka > person[address[street]]. So the question is how to "prefix" the > field_for to include the Address hash into the Person hash? > > Thank you! > > -- > Posted via http://www.ruby-forum.com/. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---