Use ApplicationRecord in db transaction docs
What does this MR do and why?
I notice we discourage ActiveRecord::Base.transaction
but it appears in docs and code comments. This MR replaces some instances with ApplicationRecord.transaction
.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by charlie ablett