Ruby on Rails Tools

State Machines

aasm

Recommended
Learn More

AASM is a continuation of the acts-as-state-machine rails plugin, built for plain Ruby objects.

24,647,538 Downloads

Learn More

Workflow is a finite-state-machine-inspired API for modeling and interacting with what we tend to refer to as 'workflow'. * nice DSL to describe your states, events and transitions * various hooks for single transitions, entering state etc. * convenient access to the workflow specification: list states, possible events for particular state

2,232,600 Downloads

Learn More

There are many finite state machine implementations for Ruby, and they all provide a nice DSL for declaring events, exceptions, callbacks, and all kinds of niceties in general. But if all you want is a finite state machine, look no further: this has less than 50 lines of code and provides everything a finite state machine must have, and nothing more.

1,831,546 Downloads

Want to stay up-to-date with Ruby on Rails?

Join 88,834+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.