[Rails] Re: Multiple Models in one form

2010-05-24 Thread slindsey3000
Thanks all! On May 8, 4:03 pm, Marnen Laibow-Koser li...@ruby-forum.com wrote: slindsey3000 wrote: I have had the worst time getting my forms to accept input for more than one model.  I tried using accepts_nested, and other techniques and finally got it all working.  But it was not fun. I

[Rails] Re: Multiple Models in one form

2010-05-08 Thread M Daubs
Shawn, If you're doing something in Rails and it's not fun then chances are you can be doing it a better way! Using accepts_nested with appropriate relationship declarations will eliminate going crazy with all those parameters[][:this][:that]. I highly recommend you work with accepts_nested.

[Rails] Re: Multiple Models in one form

2010-05-08 Thread Joe Smith
slindsey3000 slindsey3...@gmail.com wrote in message news:ac0ebe39-e6e3-48df-8ed9-9b4ab029c...@h11g2000vbo.googlegroups.com... I have had the worst time getting my forms to accept input for more than one model. I tried using accepts_nested, and other techniques and finally got it all

[Rails] Re: Multiple Models in one form

2010-05-08 Thread Marnen Laibow-Koser
slindsey3000 wrote: I have had the worst time getting my forms to accept input for more than one model. I tried using accepts_nested, and other techniques and finally got it all working. But it was not fun. I never did get accepts_nested working! accepts_nested works very easily. If you