How does one set up a transaction for multiple models? For example, how
do you wrap the entire logic below in one transaction?
for bar in foo.bars
bar.something += 1
foo.something += 1
For even more complexity, what if a mail notification is sent for each
bar modified in the collection?