Instrument ActiveRecord internals like a boss.