-
Jean Boussier authored
Fix: https://github.com/rails/rails/issues/26420 Back in Rails 4, calling `#increment!` on a new record would save it, but I don't think it's a good behavior, and it no longer has done so for many years now. It's better to raise like `#update_columns`. Co-Authored-By:
akicho8 <akicho8@gmail.com>
Jean Boussier authoredFix: https://github.com/rails/rails/issues/26420 Back in Rails 4, calling `#increment!` on a new record would save it, but I don't think it's a good behavior, and it no longer has done so for many years now. It's better to raise like `#update_columns`. Co-Authored-By:
akicho8 <akicho8@gmail.com>
Loading