In place editor in an index action


#1

How do you do an in_place_editor_field in a for loop so each item will
have that available like in an index action? Is it possible?

<% for note in @notes %>

<%=h note.label %> <%=h note.start_time %> <%=h note.end_time %> <%= in_place_editor_field :note, :log %> <%= link_to 'Show', note %> <%= link_to 'Edit', edit_note_path(note) %> <%= link_to 'Destroy', note, :confirm => 'Are you sure?', :method => :delete %> <% end %>