Hello, i got this:
site_controller
Menu.content_columns.each do |column|
in_place_edit_for :menu, column.name
end
:menu, is a model with the sections names and contents
In my view i have:
<%= in_place_editor_field “dataCenter”,
‘content’,{},{:rows=>8,:cols=>5}%>
and it says:
Called id for nil, which would mistakenly be 4 – if you really wanted
the id of nil, use object_id
Extracted source (around line #1):
1: <%= in_place_editor_field “dataCenter”,
‘content’,{},{:rows=>8,:cols=>5}%>
IF I PUT
<%= in_place_editor “dataCenter”, ‘content’,{}%>, it does the work but
without the size i want, i mean it just present all the data in a field.
Any helps will be good,
Regards,