I would like to develop a plugin, that if enabled in a controller, extends the
controller with some basic methods (actions).
Here's what I've done so far:
ActionController::Base.send :include, MyScaffold
render :text => "Hello World"
But everytime I try to access this new action "foo" I get an "Unknown Action"
error from rails.
What am I missing?