Is there an on_reload hook?


#1

I am working on a code base that uses a fair amount of custom queries
and
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
find
one in the API for ActiveRecord.

Any ideas?

Thanks,
Dave