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,
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Deploying Rails" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---