From 264068ca3247da56dfe3773f6b1f585b130d13d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20B=C3=B6ttger?= Date: Sun, 19 Jun 2016 18:40:24 +1200 Subject: [PATCH 1/2] let whiny_peristence: true be the default now --- lib/aasm/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/aasm/base.rb b/lib/aasm/base.rb index 32e8763..f22be89 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 From c1a1bc5c6ec6dcff617e5c8be2b75c77a9181023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20B=C3=B6ttger?= Date: Wed, 24 Aug 2016 22:53:14 +1200 Subject: [PATCH 2/2] update changelog for #389 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ee4421..760d574 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,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