search for: applicationresett

Displaying 1 result from an estimated 1 matches for "applicationresett".

Did you mean: applicationresetter
2006 Mar 02
3
reloadable classes for other base classes than the built-ins
...nario. (I have a polling process that receive messages from a messaging infrastructure and I want reloading to happen in between messages.) So ideally I would like to keep this outside ActionPack (ActionPack might not even be loaded for a lot of messaging applications!). So I was thinking maybe an ApplicationResetter that you could add stuff to, like so: in ActiveRecord: ApplicationResetter.on_reset do ActiveRecord::Base.reset_subclasses Dependencies.remove_subclasses_for(ActiveRecord::Base) end in ActionPack: ApplicationResetter.on_reset do Controllers.clear! ActiveRecord::Base.reset_...