I receive the following error:
Called id for nil, which would mistakenly be 4 – if you really wanted
the id of nil, use object_id
when trying to use the in_place_editor_field tag:
<% for employee in @employees %>
<%= in_place_editor_field :employee, employee.fname %>
<% end %>
My model is called Employee and is being populated from a controller
@employees = Employee.find_all
When I take the <%= in_place_editor_field :employee, employee.fname %>
out everything is back to normal.
ANy ideas, I have performed a search but no luck.