Skip to content

Commit d747851

Browse files
committed
page fmt
1 parent 24e68c4 commit d747851

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

source/includes/interact-data/transaction.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,6 @@ class User
7373
# Ends the transaction if there is an error
7474
session.abort_transaction
7575
end
76-
77-
book = Book.new
78-
# Starts a session from an *instance* of Book
79-
book.with_session do |session|
80-
# Starts the transaction in the session
81-
session.start_transaction
82-
end
8376
# end-lower-lvl-api
8477

8578
# start-commit-retry

0 commit comments

Comments
 (0)