It looks like technically `transaction` is available as an instance method but literally every piece of Rails documentation around transactions shows its use as a class method, and that's how I've always used it in previous projects.