We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24e68c4 commit d747851Copy full SHA for d747851
source/includes/interact-data/transaction.rb
@@ -73,13 +73,6 @@ class User
73
# Ends the transaction if there is an error
74
session.abort_transaction
75
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
83
# end-lower-lvl-api
84
85
# start-commit-retry
0 commit comments