You might want to look at some of the SQL that your ORM is generating for your important queries... Because a lot of times, odds are it's much, much less efficient than it could be.
I've seen ActiveRecord create some head scratchers.
I've seen ActiveRecord create some head scratchers.