Rails: to_prepare executing code before each request
I have found little or no documentation on this on the net, so here I’m trying to give back a little from what I learnt. Hopefully that will be the beginning of a solution for others. Rails version: 2.1.0 The problem: I have certain ActiveRecord models that I want to monkeypatch (i.e. inject functionality to [...]