Displaying 1 result from an estimated 1 matches for "employees_list".
2006 Mar 28
2
In_place_editor_field throws error ...
...-- 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
method employees_list:
@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.
--
Posted via http://www.ruby-forum.com/.