I recommend calling this something else, because `transaction` is already defined in ActiveRecord.