Ive been following the rails recipes (great book) and wanted to have a
larger a text field when editing in place.
The chapter it mentions that I can “force the InPlaceEditor to create
either a text ï¬eld or a ï¬eld, using the :rows option to
in_place_editor_ï¬eld( ). Then any value greater than 1 will tell
InPlaceEditor to generate a .” It doesn’t elaborate and Im
not sure on the correct way to write it.
I presume you just have to update the view file only (i might be wrong)
my view is -
<% for column in Contact.content_columns %>
<%= in_place_editor_field :contact, column.name%><% end %> <%= link_to ' Back' , :action => ' list' %>