I am developing a Ruby on Rails application and am now looking for a workflow gem that allows you to configure states without any programming.
I found some gems: rails_workflow , state_machine , workflow .
But, as I understand it, these gems suggest that the states will be hard-coded, such as workflow gem states:
class Article
include Workflow
workflow do
state :new do
event :submit, :transitions_to => :awaiting_review
end
state :awaiting_review do
event :review, :transitions_to => :being_reviewed
end
state :being_reviewed do
event :accept, :transitions_to => :accepted
event :reject, :transitions_to => :rejected
end
state :accepted
state :rejected
end
end
I need my application application users to be able to configure transition states and conditions on their own, without a developer.
Redmine already has this feature, but it’s ready to go, not a gem, which I can connect to my application
- ?