DEV Community

Discussion on: How to use transactions to unclutter your Rails controllers

Collapse
 
mercier_remi profile image
Rémi Mercier

I thought that Lead.transaction - to use your example - only allowed me to wrap database operations as a single unit. With the dry-transaction it's more about any kind of operations. But maybe I am missing something.