A few years back I used AASM. More recently, I just build state functionally by hand on an as needed basis. So I check out rubygems.org and low-and-behold there are many offerings. Here is a sampling: http://rubygems.org/gems/state_machine http://rubygems.org/gems/aasm http://rubygems.org/gems/acts_as_state_machine http://rubygems.org/gems/statemachine or all of them: http://rubygems.org/search?utf8=✓&query=state+machine My question is... which one is considered the current "standard" in state machine gems for rails 3? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Don''t forget the ruote work flow engine> ------------------------------------------------------------------------ > > Karl Smith <mailto:threadhead-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > January 31, 2011 4:01 PM > > > A few years back I used AASM. More recently, I just build state > functionally by hand on an as needed basis. So I check out > rubygems.org <http://rubygems.org/> and low-and-behold there are many > offerings. > > Here is a sampling: > http://rubygems.org/gems/state_machine > <http://rubygems.org/gems/state_machine> > http://rubygems.org/gems/aasm > http://rubygems.org/gems/acts_as_state_machine > <http://rubygems.org/gems/acts_as_state_machine> > http://rubygems.org/gems/statemachine > <http://rubygems.org/gems/statemachine> > or all of them: > http://rubygems.org/search?utf8= > <http://rubygems.org/search?utf8=>✓&query=state+machine > > My question is... which one is considered the current "standard" in > state machine gems for rails 3? > -- > You received this message because you are subscribed to the Google > Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
You can try aasm <https://github.com/rubyist/aasm> or transitions<https://github.com/qoobaa/transitions> . On Tue, Feb 1, 2011 at 5:06 AM, Garrett Lancaster < glancast-jmyiO2ngOJdad6c/EObmYVaTQe2KTcn/@public.gmane.org> wrote:> Don''t forget the ruote work flow engine > > ------------------------------ > > Karl Smith <threadhead-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > January 31, 2011 4:01 PM > > A few years back I used AASM. More recently, I just build state > functionally by hand on an as needed basis. So I check out > rubygems.org and low-and-behold there are many offerings. > > Here is a sampling: > http://rubygems.org/gems/state_machine > http://rubygems.org/gems/aasm > http://rubygems.org/gems/acts_as_state_machine > http://rubygems.org/gems/statemachine > or all of them: > http://rubygems.org/search?utf8=✓&query=state+machine > > My question is... which one is considered the current "standard" in > state machine gems for rails 3? > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I''m not sure if we can say that there are any standards at all. You should just check what fits for your needs best: transitions declaration, callbacks, state checking interfaces etc. Last time I was implementing state machine I chose AASM after trying several other also just cos it fit to my needs best. Just try to test at least a couple of gems it doesn''t actually take a lot of time, but you''ll make your own opinion. On Feb 1, 12:01 am, Karl Smith <threadh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> A few years back I used AASM. More recently, I just build state > functionally by hand on an as needed basis. So I check out > rubygems.org and low-and-behold there are many offerings. > > Here is a sampling:http://rubygems.org/gems/state_machinehttp://rubygems.org/gems/aasmhttp://rubygems.org/gems/acts_as_state_machinehttp://rubygems.org/gems/statemachine > or all of them:http://rubygems.org/search?utf8=✓&query=state+machine > > My question is... which one is considered the current "standard" in > state machine gems for rails 3?-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.