Dries Steenhouwer
2010-Dec-26 16:32 UTC
Problem with nested forms in Rails 3 with remote true
I have an index page for people, on this page there is a button ''add person'' that shows a hidden form when you click on this button. The problem is, when I submit, the nested attributes for pictures are not send as parameters. When I just use the normal form in the url ''person/new/'' then it works, but when showing the hidden div, I render the same form so that can''t be the problem. Somebody who can help me? Here is my code of the views, model and controller : http://pastie.org/1405410 -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.