Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-1515

fields_for not correctly enumerating through all items of nested association

    • Type: Icon: Task Task
    • Resolution: Done
    • 2.4.0
    • Affects Version/s: None
    • Component/s: None
    • None

      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            HuffMoody HuffMoody [X]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: