mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
Merge branch 'whiny_persistence_is_now_default' into aasm5
This commit is contained in:
commit
cf49c35095
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
## unreleased
|
## 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
|
## 4.11.0
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ module AASM
|
||||||
configure :skip_validation_on_save, false
|
configure :skip_validation_on_save, false
|
||||||
|
|
||||||
# raise if the model is invalid (in ActiveRecord)
|
# raise if the model is invalid (in ActiveRecord)
|
||||||
configure :whiny_persistence, false
|
configure :whiny_persistence, true
|
||||||
|
|
||||||
# use requires_new for nested transactions (in ActiveRecord)
|
# use requires_new for nested transactions (in ActiveRecord)
|
||||||
configure :requires_new_transaction, true
|
configure :requires_new_transaction, true
|
||||||
|
|
Loading…
Reference in a new issue