Forum: Ruby on Rails Is there an on_reload hook?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
David C. (Guest)
on 2006-02-02 17:45
(Received via mailing list)
I am working on a code base that uses a fair amount of custom queries
then caches the result in an instance var.  Now when I call reload I
need to
clear out this cached data.   I looked for an on_reload hook and didn't
one in the API for ActiveRecord.

Any ideas?

This topic is locked and can not be replied to.