4 ms·
In the early days of rails I wrote a monkey punch for Active Record that'd raise a fatal exception if any query lacked a limit clause or returned more than a co
by jasonwatkinspdx 4y ago
In the early days of rails I wrote a monkey punch for Active Record that'd raise a fatal exception if any query lacked a limit clause or returned more than a couple 100 rows. Just a couple lines of obvious stuff, but you wouldn't believe how much impact committing that to a repo back then would have.