diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f51ead..d74f453 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ ## unreleased - * fix: permissible states not respecting guard parameters(see [issue #388](https://github.com/aasm/aasm/issues/388)) with [pull-request #389] + * fix: permissible states not respecting guard parameters (see [issue #388](https://github.com/aasm/aasm/issues/388)) with [pull-request #389](https://github.com/aasm/aasm/pull/389) ## 4.11.0 diff --git a/lib/aasm/base.rb b/lib/aasm/base.rb index 80e77f1..7e4f845 100644 --- a/lib/aasm/base.rb +++ b/lib/aasm/base.rb @@ -24,7 +24,7 @@ module AASM configure :skip_validation_on_save, false # raise if the model is invalid (in ActiveRecord) - configure :whiny_persistence, false + configure :whiny_persistence, true # use requires_new for nested transactions (in ActiveRecord) configure :requires_new_transaction, true