https://blog.saeloun.com/2022/01/18/rails-7-updates-timestamp-for-insert-and-upsert-all-queries.html
Saeloun Blog
Rails 7 allows setting timestamps on insert_all/upsert_all record creation
All relevant timestamp columns (`created_at`, `created_on`, `updated_at`, `updated_on`) are now set via ActiveRecord when using mass insertion queries.