How to Avoid Hanging Yourself with Rails

Useful tips on avoiding ActiveRecord magic creating inefficient queries