I\'m having trouble getting fields_for to work on an Array attribute of a non-ActiveRecord model.
fields_for
Distilled down, I have to following:
models/pa
I ditched the fields_for and added multiple: true
= form_for @parent, :url => new_parent_path do |f| - @parent.bars.each_with_index do |bar, i| = f.text_field :bars, value: bar, multiple: true, id: "bar#{i}"