You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After commit events are not triggered on DynamoDB
To Reproduce
Steps to reproduce the behavior:
On a model with DynamoDB, set up aasm like this:
aasm do
state :sleeping, initial: true
state :running, :completed, :error
event :run, after_commit: %i[execute] do
transitions from: :sleeping, to: :running
end
.....
end
Call object.run!
The method returns true, but the state is not saved and the execute method is not called.
Expected behavior
The object state must be updated and the execute method should be called
The text was updated successfully, but these errors were encountered:
Describe the bug
After commit events are not triggered on DynamoDB
To Reproduce
Steps to reproduce the behavior:
On a model with DynamoDB, set up aasm like this:
Call object.run!
The method returns true, but the state is not saved and the execute method is not called.
Expected behavior
The object state must be updated and the execute method should be called
The text was updated successfully, but these errors were encountered: