Forum: Ruby on Rails indexing for sub items appears to fail after validation fail

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Dc7397c6c2d24544316df21caa42fce7?d=identicon&s=25 Luke Galea (Guest)
on 2006-01-12 23:29
(Received via mailing list)
Hi all,

I have a table with an associated (has_many) table and a single form
to edit the parent that displays the children as well.
The associated objects are represented via partials that contain
indexed fields like: <%= text_field 'form[]', 'pages' %>

When there is a validation failure in the "child" form the oddest
thing is happening, when the partial is rendered again the id is
blank and the index operator is ignored..

Does this make sense? What could be causing this?
This topic is locked and can not be replied to.