I have a class method mixed in to all my models. the method gets called when the model class is evaluated. unfortunately (for me), this seems to be on-demand, whenever the model
The correct way to do this application-wide is to turn on cache_classes in your configuration. By default it's off in development but on in production.