rails/activerecord/test/activejob
Paarth Madan a270108bf6 Destroy associations async respect query constraints
The codepaths related to destroying associations asynchronously now
consider when query constraints are present. In most cases, this means
interpreting the primary key as an array of columns, and identifying
associated records by a tuple of these columns, where previously this
would've been a single ID. In each of the callsites, we use branching.
This is done to maintain backwards compatibility and ensure the
signature of the destroy job remains stable: it has consumers outside of
Rails.
2023-03-14 19:09:09 -04:00
..
destroy_association_async_job_test.rb Add ActiveRecord.deprecator 2022-10-25 14:23:08 -05:00
destroy_association_async_test.rb Destroy associations async respect query constraints 2023-03-14 19:09:09 -04:00
helper.rb Revert "Run ActiveRecord -> ActiveJob integration tests in CI" 2021-06-15 11:19:04 -04:00
job_runtime_test.rb Fix Active Record :db_runtime metric 2022-09-15 10:43:33 +02:00
unloadable_base_job.rb Defer constant loading of ActiveRecord::DestroyAssociationAsyncJob via a String instead of a class constant 2022-07-13 11:58:20 -05:00