Skip to content

Remove internal method mention from 'Transaction support' in README.md - #763

Open
ovedanner wants to merge 1 commit into
aasm:masterfrom
ovedanner:update_transactions_readme
Open

ovedanner wants to merge 1 commit into
aasm:masterfrom
ovedanner:update_transactions_readme

Conversation

@ovedanner

Copy link
Copy Markdown

The way aasm_fire_event is currently listed kind of makes it look like a callback than can be defined, while it's not. I'm not sure if people need to be aware of aasm_fire_event at all.

As `aasm_fire_event` isn't a regular callback that can be defined.
@qlty-cloud-legacy

Copy link
Copy Markdown

Code Climate has analyzed commit 8de0393 and detected 0 issues on this pull request.

View more on Code Climate.

@alto alto self-assigned this Jun 20, 2025
Comment thread README.md
```ruby
event before_all_transactions
event before_transaction
event aasm_fire_event (within transaction)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ovedanner I do agree, the method aasm_fire_event shouldn't be mentioned here. But we still need an indicator to show that this is the time when the actual event is fire. Maybe replacing the line with

                  <event fired>

would help? What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants