Skip to content

Commit

Permalink
Remove internal method mention from 'Transaction support' in README.md
Browse files Browse the repository at this point in the history
As `aasm_fire_event` isn't a regular callback that can be defined.
  • Loading branch information
ovedanner committed Nov 24, 2021
1 parent 2bb56d2 commit 8de0393
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -1012,12 +1012,11 @@ Since version *3.0.13* AASM supports ActiveRecord transactions. So whenever a tr
callback or the state update fails, all changes to any database record are rolled back.
Mongodb does not support transactions.

There are currently 3 transactional callbacks that can be handled on the event, and 2 transactional callbacks for all events.
There are currently 3 transactional callbacks that can be handled on the event, and 2 transactional callbacks for all events:

```ruby
event before_all_transactions
event before_transaction
event aasm_fire_event (within transaction)
event after_commit (if event successful)
event after_transaction
event after_all_transactions
Expand Down

0 comments on commit 8de0393

Please sign in to comment.