Stop relying on your ORM and learn SQL
sirupsen.com
sirupsen.com
I tend to stick with "premature optimization is the root of all evil".
In my experience with Rails ActiveRecord the usual suspects are N+1 queries, repeated queries that hit the query cache (they are really quite slow in Rails 3), and missing indices.
But intricate knowledge of SQL is most certainly necessary when using ORMs in conjunction with anything else than a trivial data model.
I'm not sure if this is the best way to go about it, but it works well for me.