3 ms·
What is there to maintain? It's not hard to directly emit SQL to ActiveRecord
by tomc1985 10y ago
What is there to maintain? It's not hard to directly emit SQL to ActiveRecord
- WrtCdEvrydy 10y agoI'm not writing a one-off procedure in RAW SQL. If ActiveRecord could turn functions into SQL equivalents, it would be awesome.
- tomc1985 10y agoI know, they're so scary aren't they?
- WrtCdEvrydy 10y agoNo, in terms of Return on Investment, it just isn't worth it for me. Noone cares if a large query takes 10 seconds or 11 seconds with ActiveRecord enough to blow developer time on it.
- throwanem 10y agoNo one cares until they do, because the dataset's grown nontrivial and the crap 10s query Active Record generates is now a crap 120s query and one of the server, the client, or the user times out before it finishes.