ActsAsStateMachine gets hippified

Posted by jeff

I was very pleased to learn earlier tonight that acts_as_state_machine has become infinitely hipper.

  • It’s on github, making patches oh so easy to push
  • It works with any class, not just active record
  • The “state” column is renamed to aasm_state so that you can have a city, state and zip in your active record model (man that was a pain before)
  • It’s a gem (in both senses of the word)
  • It’s tested with specs, and there’s decent coverage
  • The api is basically the same, making it easy to upgrade

It still has the same issues that the old subversion plugin had, so I incorporated my acts_as_state_machine_hacks plugin into my own fork of aasm on github, which you can check out at http://github.com/zilkey/aasm/wikis

I also published some rdocs for my fork at http://aasm.zilkey.com/

Thanks to Scott Barron for updating me on the latest changes, and for a killer gem.

To install my fork of the app:

1
2
3
4
5
git clone git://github.com/zilkey/aasm.git aasm
cd aasm
rake gem
sudo uninstall aasm # => if you already have a version installed
sudo gem install pkg/aasm-3.0.0.gem

Enjoy!

Comments

Leave a response

Comment