Changeset [c499a6e149f5d343fa4ba8424e6f9c32541030ea] by Konstantin Burnaev
Revision c499a6e149f5d343fa4ba8424e6f9c32541030ea,
committed by Konstantin Burnaev
· May 15th, 2014 @ 04:04 AM
:enum configuration now can be omitted if AASM column points to
an integer column. :enum can be set to true; in this case AASM
would infer
enum method name from AASM column name.
https://github.com/aasm/aasm/commit/c499a6e149f5d343fa4ba8424e6f9c3...
3 changed files
-
M
README.md -
M
lib/aasm/persistence/active_record_persistence.rb -
M
spec/unit/persistence/active_record_persistence_spec.rb