search for: churchescontrol

Displaying 1 result from an estimated 1 matches for "churchescontrol".

2005 Nov 16
0
in_place_edit_for, multiple attributes?
I am using some in place editors on a page that views and updates records. I have it working but want to know if there is a more efficient way of declaring them in the controller. Currently, I have the following: class ChurchesController < ApplicationController in_place_edit_for :church, :name in_place_edit_for :church, :address # etc, etc... Is there a way to do this all on one line, like: in_place_edit_for :church, { :name, :address } Tried that to no avail. Thoughts? -- Posted via http://www.ruby-forum.com/.