Displaying 1 result from an estimated 1 matches for "children_attributes".
2011 Oct 26
6
Add an index to a form
...nd %>
I''m having some troubles with the first line: <%= fields_for
"user[invites_attributes][]", invite do |i| %>
What is the correct usage of that? I''m using formtastic and when I
made that line but with my fields
<%= f.semantic_fields_for ("user[children_attributes][]", user)
do |fes| %>
and I get this error
............... unexpected '','', expecting '')''
I hope someone can help
Thanks in advance
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group...