4 ms·
I don't want to live in a world where I can't pop into a Rails console and run something like `Foo.joins(:bars).any?`. More concretely, performance is on my li
by allknowingfrog 3y ago
I don't want to live in a world where I can't pop into a Rails console and run something like `Foo.joins(:bars).any?`.
More concretely, performance is on my list of "good problems to have". Businesses die in the time it takes to write raw SQL.
- mrtesthah 3y agosometimes performance can be so bad that the business can’t launch in the first place.
- allknowingfrog 3y agoOh sure, it's all about knowing your requirements. I write raw SQL when performance or complexity call for it. My intention was to argue that both have merits, not that ORMs are the one true solution.