I have some auto_complete_for_blah_blah actions that are used in
different controllers. In the spirit of DRY, I’d like to separate
these actions in unique files which I then load into the controllers
that use them.
Okay, so the way I can do it now is for instance
And then, I can
in the controllers that use this auto_completer.
However, even though the method is available to the controller, I
still get “no action responded to
‘auto_complete_for_user_printed_name’” when I call the action. That
is, it’s available as a local method to the controller, but I’d really
like for it to appear as an action, so that I don’t have to create a
How would I do that?