@@ -122,7 +122,7 @@ Ending Transactions
122122~~~~~~~~~~~~~~~~~~~
123123
124124Any exception raised inside the transaction method block ends the
125- transaction and rolls back changes. In most cases , {+odm+} displays the
125+ transaction and rolls back changes. Usually , {+odm+} displays the
126126exception, except for the ``Mongoid::Errors::Rollback`` exception. Implement
127127this exception in your application to explicitly end the transaction
128128without passing on an exception.
@@ -134,7 +134,7 @@ This transaction API introduces the ``after_commit`` and
134134``after_rollback`` callbacks.
135135
136136{+odm+} triggers the ``after_commit`` callback for an object that was
137- created, saved, or destroyed in the following cases:
137+ created, saved, or deleted in the following cases:
138138
139139- After the transaction is committed if the object was modified inside
140140 the transaction.
@@ -149,7 +149,7 @@ persisted, but the ``after_commit`` callback was not triggered, for
149149example, if {+odm+} raised an exception in the ``after_save`` callback.
150150
151151The ``after_rollback`` callback is triggered for an object that was
152- created, saved, or destroyed inside a transaction if the transaction was
152+ created, saved, or deleted inside a transaction if the transaction was
153153ended. {+odm+} never triggers ``after_rollback`` outside of a transaction.
154154
155155.. _mongoid-txn-low-level:
0 commit comments