1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00

how to upgrade from AASM 3.x to 4.0

This commit is contained in:
Thorsten Böttger 2014-11-15 17:52:03 +01:00
parent 8ee22da6f0
commit 6c771bf611

View file

@ -13,6 +13,10 @@ that no longer targets only ActiveRecord models. It currently provides adapters
[Mongoid](http://mongoid.org/), but it can be used for any Ruby class, no matter what
parent class it has (if any).
## Upgrade from version 3 to 4
Take a look at the [README_FROM_VERSION_3_TO_4](https://github.com/aasm/aasm/blob/master/README_FROM_VERSION_3_TO_4.md) for details how to switch from version 3.x to 4.0 of _AASM_.
## Usage
Adding a state machine is as simple as including the AASM module and start defining