-
Method override warnings were remade in 4.10.0 and brought some painful experience:
```
MySchema: overriding method 'active?'!
MySchema: overriding method 'subscribe'!
MySchema: overriding method 'un…
-
Hi,
My guard methods add multiple errors to a single key due to multiple executions of a single guard.
The worrying part is that the number of times a given guard is called is inconsistent. Some tim…
-
**Is your feature request related to a problem? Please describe.**
Automatically add failure to transition reason into `object.errors`.
**Describe the solution you'd like**
``` ruby
class Transa…
-
During an aasm transition (before or after), I'm storing an array of values in a virtual attribute. If the commit of the instance is successful, I want to trigger an event using that array. If the com…
-
```
event :run, after: :notify_somebody do
transitions from: :sleeping, to: :running, after: :notifi_somebody_else
```
Actual behaviour:
Record in `notify_somebody` method is in `running`…
-
Hey,
It would be very nice to have an after_all_commits method, same way we have after_all_transactions. I can even see that the code that fires after_all_transactions is also firing after_all_com…
-
**The bug**
I am trying to upgrade from aasm version 5.0.1 to 5.0.6, however this is causing the following rspec model test to fail:
```ruby
describe '#reject' do
subject { FactoryBot.create…
-
To walk to the "next" lifecycle phase upon completion of the existing one, there should be dynamic buttons at the bottom of each of those pages (that depend on permissions and availability) to complet…
-
**Describe the bug**
timestamps option not being picked up.
**To Reproduce**
Steps to reproduce the behavior:
1. Have a state with a timestamp column named appropriately (in my case `deliver` an…
-
How do I retrieve the guards for the non-permitted events for a state? For example, let's say I have the Job class from the ReadMe
```
class Job
include AASM
aasm do
state :sleeping, …