Mlle wrote:
> How can I use ajax to add nested attributes dynamically into the form
> of an object?
> 
> I followed the railscast : 
> http://railscasts.com/episodes/74-complex-forms-part-2
> 
> but I'd like to use Ajax instead because the method above is sort of
> ugly.

No, actually, you don't want to use Ajax here.  That will mean a round 
trip to the server each time you want to add a field.  Bad idea.  This 
should all be done on the client side.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

-- 
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.

Reply via email to