In_place_edit-like functionality in my controller


I’m trying to extend the functionality of in_place_edit and would
like to have a function in my controller that populates methods for
requested object/methods (just like in_place_edit does).

Here’s some test code I tried to make work (from my controller):

def do_some_edit(object, field)“We are editing”)

do_some_edit(:item, :title)

But all I keep getting is an error telling me:
undefined method `do_some_edit’ for Admin::BudgetController:Class

I would say that do_some_edit is defined indeed but maybe I’m missing
something here.
I hope someone out there can enlightent me :slight_smile:

Gitte W.