[Rails] 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 :
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home