It's a tradeoff.
Everything is a tradeoff...I think ORMs like ActiveRecord do make the code easier to reason about in most cases and are worth the performance hit.
All abstractions cost us performance..we could be all writing on bare metal C/C++ but not many web shops want to do that.