RubyGems.org

self-control

0.2.2

State machines are awesome but sometimes you need a little more. Like who should do what in order for it to move on? How many steps are left? How can I restfully trigger the next event? Self Control adds route helpers, controller actions and a dsl to turn your existing state machines into full workflows. It is designed to use rails 3 with ActiveModel and should work with any state machine with just a few extra methods.

installgem install self-control
Authors

hexorx

6,102 total downloads 1,019 for this version
Owners

3cab87e8c516cb6aa0381e43d15b7720

Gemfile
gem 'self-control', '~> 0.2.2'
Versions
  1. 0.2.2 June 23, 2011 (9.5 KB)
  2. 0.2.1 June 23, 2011 (9.5 KB)
  3. 0.2.0 June 22, 2011 (9.5 KB)
  4. 0.1.1 June 20, 2011 (9 KB)
  5. 0.1.0 June 20, 2011 (9 KB)
Show all versions (6 total)
Development Dependencies
  1. rspec >= 0
  2. yard >= 0