# In\_place\_edit\_field

**URL:** <https://www.ruby-forum.com/t/in-place-edit-field/112680>\
**Category:** Deployment\
**Created:** [August 22, 2007, 3:08am UTC](https://www.ruby-forum.com/t/in-place-edit-field/112680 "2007-08-22T03:08:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eagoweb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/9de0a6/32.png) [@eagoweb](https://www.ruby-forum.com/u/eagoweb)\
**Post date:** [August 22, 2007, 3:08am UTC](https://www.ruby-forum.com/t/in-place-edit-field/112680/1 "2007-08-22T03:08:46Z")

</div>

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,
