On 6 July 2010 17:33, Mlle <[email protected]> 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.

Have you seen http://railscasts.com/episodes/196-nested-model-form-part-1
and part 2?  It does not use ajax but I would not describe it as ugly.

Colin

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