Displaying 1 result from an estimated 1 matches for "reservation_customer_id_flt".
2006 Jul 24
1
Injecting actions into controllers
...fine the new method as an action too
controller.class.action_methods << "#{name}_flt"
[..]
end
It works if I try to call the method from inside render_field_search() itself,
it fails if I call it as normal HTTP request:
ActionController::UnknownAction
(No action responded to reservation_customer_id_flt):
/actionpack-1.12.3/lib/action_controller/filters.rb:368:
in `perform_action_without_benchmark''
Does anyone know why this happens?
Thanks.
Cheers,
Marco
Keywords for future searches:
inject action method controller plugin class_eval eval