The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
State_machines Alternatives
Similar projects and alternatives to state_machines
-
-
xstate
Actor-based state management & orchestration for complex app logic.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
-
are-we-fast-yet
Are We Fast Yet? Comparing Language Implementations with Objects, Closures, and Arrays
-
-
-
AASM
AASM - State machines for Ruby classes (plain Ruby, ActiveRecord, Mongoid, NoBrainer, Dynamoid)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
State Machine
Adds support for creating state machines for attributes on any Ruby class
-
-
-
machine-learning-with-ruby
Curated list: Resources for machine learning in Ruby
-
-
FiniteMachine
A minimal finite state machine with a straightforward syntax.
-
time_for_a_boolean
Back boolean concepts like deleted?, published?, or active? with timestamps
-
Workflow
Ruby finite-state-machine-inspired API for modeling workflow (by geekq)
-
StatefulEnum
A very simple state machine plugin built on top of ActiveRecord::Enum
-
state_machines-activerecord
StateMachines Active Record Integration
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
state_machines reviews and mentions
- Gem adds support for creating state machines for attributes on any Ruby class
-
Practical State Machinery
State Machines (Ruby) - A popular library providing a Ruby DSL for easily building finite state machines
-
Why Developers Never Use State Machines (2011)
As a regular user of the state_machine Ruby gem, I wouldn't recommend it. If you don't believe me, just check out the "Class definition" section of the usage examples: https://github.com/state-machines/state_machines#usage
The problems are obvious. It's built on magic and indirection. This leads to difficult to debug state machine problems. For anything beyond simple state machines you quickly lose any idea of what your object is doing.
-
ActiveRecord: Adding Boolean methods for DateTime columns
Might this be better handled with a state machine with active record integration?
-
Ruby 3 Released
Here's an example of how it can happen - look at the code examples in https://github.com/state-machines/state_machines - almost everything you are coding is in the DSL of that library if you are using it:
-
A note from our sponsor - WorkOS
workos.com | 18 Apr 2024
Stats
state-machines/state_machines is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of state_machines is Ruby.