Ruby: refine ActiveRecord update_all as an SQL sink
#14627
Merged
ActiveRecord update_all as an SQL sink
#14627