Delete_all will surprise you
A fun experience with delete_all method from ActiveRecord and the approach to debugging SQL queries in the test environment.
https://marouenbousnina.com/tutorials/2020-05-27-delete-all-gotcha/
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
A fun experience with delete_all method from ActiveRecord and the approach to debugging SQL queries in the test environment.
https://marouenbousnina.com/tutorials/2020-05-27-delete-all-gotcha/
Post a comment