There are a few popular Ruby state machine gems such as geekq/workflow and aasm. Are they thread safe in multi-tenant Rails 4.2 application?
I am using geekq/workflow
which defines process definition
on model class
as class method
. This makes me wonder if other users who login late will overwrite the previous users workflow definition.
Can some developer comment on the thread safe issue of state machine? Or recommend a state machine gem which is thread-safe in multi-tenant Rails app?