Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Introduce delete_by and destroy_by methods to ActiveRecord::Relation #35316
I think we can pare back the testing a lot. This is basically just a delegator to where + destroy/delete_all. So we just need to test the delegation, not all the ways
Also, should probably just spell out that this is shorthand for where().delete/destroy_all.