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] 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