Hi all!
I have a case where I’ll write at least two database rows and I’d like to have a single database transaction around both writes. The two records are part of the registration flow: one record for people
and another record for person_password_credentials
.
What is the Hanami-way of controlling transactions like that? I’m looking for the equivalent of ActiveRecord::Base#transaction
in Hanami.
Thanks in advance!
François