This list is for deployment questions only. Try the rubyonrails-talk (or something like that) list where development questions are welcome.
On Thu, Jun 19, 2008 at 9:26 PM, Ma Ka <[EMAIL PROTECTED]> wrote: > > Hi to you! > > I'm writing my first webapp with ruby on rails. And I like it so far. > > My problem is: > I have a form and if I create a db-record, that works fine. > But I want to create 2 records on 2 different tables (with one form). > > Example (a phone book app): > I have a table person and a table place. > > On the form "new person" I have the fields > Name, first name.... and the field place. > Now I want to insert the Name, first name... on the table person > and insert the new place on the table place. > > Questions: > Is that possible? > How should the form look like? > How can I handle this in the controller? > > > Thank you for your help! > -- > 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 -~----------~----~----~----~------~----~------~--~---