3 ms·
I’ve found that you want to be super careful in application code about where you do updates and inserts when using AR. Sprinkling calls to order.save! or order
by joevandyk 7y ago
I’ve found that you want to be super careful in application code about where you do updates and inserts when using AR.
Sprinkling calls to order.save! or order.update(foo: bar) in random places is a recipe for disaster.