Skip to content

Use ApplicationRecord in db transaction docs

charlie ablett requested to merge docs-cablett-db-transactiions into master

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.

Edited by charlie ablett

Merge request reports

Loading