Database Transactions

Episode #377 by Teacher's Avatar David Kimura

Summary

Transactions are protective blocks where SQL statements are only permanent if they can all succeed as one atomic action. In this episode, we explore ActiveRecord Transactions and how to use them.
rails activerecord database 9:47
Student & Teacher
$ 9 /mo

Valid School Email Required

Same Access as Pro

Subscribe Now
Pro Monthly
$ 19 /mo

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Pro Annual
$ 190 /yr

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Teams
$ 57 /mo

3 Users Minimum

$19.00 / user / month

Same Access as Pro

Subscribe to Teams