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.
Sprinkling calls to order.save! or order.update(foo: bar) in random places is a recipe for disaster.
No comments yet.