acts_as_state_machine successor 'workflow'
February 24, 2009
Unfortunately, after we had adopted it in our current project, we've found some undeterministic behaviour in the ActiveRecord integration area. So I've streamlined the integration code by:
- strictly separating the implementation between the state machine/workflow specification (states, transitions) and the model entity state
- putting all the model enhancements into modules and initiating the admixing the state machine functionality in the
self.includedmethod. The modules are::
But you do not need to know all that implementation details to be able to use the workflow library. Just grab my version from github.
TrackBack URL for this entry: