Displaying 1 result from an estimated 1 matches for "do_some_edit".
2006 Jul 16
0
in_place_edit-like functionality in my controller
Hello,
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)
logger.info("We are editing")
end
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 missi...