1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib
Roberto Miranda 4e25cedf7f ActiveRecord::Relation#destroy_all perform its work in batches
💇‍♀️

Fix specs

Update activerecord/lib/active_record/relation.rb

Co-authored-by: Eugene Kenny <elkenny@gmail.com>

Update activerecord/lib/active_record/relation.rb

Co-authored-by: Viktar Basharymau <6alliapumob@gmail.com>

Use class attribute instead of mattr_accessor

Add destroy all test case around value returned

add Rails.application.config.active_record.destroy_all_in_batches too new defaults framework

Reset Active Record Relation

Document ActiveRecord::Relation#destroy_all

Add changelog entry and update docs

💇‍♀️

Update method signature and argument docs

Apply suggestions from code review

Co-authored-by: Viktar Basharymau <6alliapumob@gmail.com>
Co-authored-by: Alberto Almagro <albertoalmagro@gmail.com>
2021-06-28 21:37:24 +01:00
..
minitest Fix backtraces for generated plugin tests 2020-10-07 15:40:56 -05:00
rails ActiveRecord::Relation#destroy_all perform its work in batches 2021-06-28 21:37:24 +01:00
rails.rb Add benchmark method that can be called from anywhere 2020-12-04 15:52:10 +03:00