Continuing my "fun with Engines" adventure, I would like to move a
bunch of logic from ApplicationController into a plugin.
It appears that if I just put it in an init file, in which I do
ApplicationController.class_eval do
doesn't work because that doesn't get reloaded in development mode.
Turning on cache_classes appears to fix it, but is a royal pain to
work with, as you can imagine.
Is there a "proper" way to do what I'm trying to do here?
--~--~---------~--~----~------------~-------~--~----~
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
-~----------~----~----~----~------~----~------~--~---