mongoid/mongoid — Issue #1514: fields_for not correctly enumerating through all items of nested association
Author: HuffMoody
Created: 2011-12-21 04:54:56+00:00
State: open

Outlined in gist https://gist.github.com/1504297 fields_for only creates fields for a single resources although 3 are built beforehand. The name attribute of the inputes generated follow the form survey[questions][content] instead of survey[questions_attributes][0][content] as expected