Using in_place_editor_field for collections?

I am trying to use in_place_editor_field to make many objects editable
at the same time. I think I solved the first step of this problem;
before it was giving me a problem about referencing a nil, so I did
this:

<%= in_place_editor_field ‘question[]’, :name %>

adding the [] seemed to fix things. Now all the fields show up on the
page and they are all clickable. But I am having trouble getting the
controller to update the fields. Using plain

in_place_edit_for :question, :name

hasn’t done the trick. I have tried looking at the api, but it didn’t
even cover using the [] for collections. Any ideas?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs