Active Record is great, but could be better. Here are some tweaks for it.