idealguru-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jun-20 19:47 UTC
acts_as_wizard clone
Is there an ''acts_as_wizard'' clone that provies similar functionality ? The original plugin seems to be in an unmaintained state and doesn''t work with Rails 1.2 --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
idealguru-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jun-24 06:25 UTC
Re: acts_as_wizard clone
Just to clarify - I am trying to implement multi-step forms. On Jun 20, 12:47 pm, "idealg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <ubg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Is there an ''acts_as_wizard'' clone that provies similar > functionality ? The original plugin seems to be in an unmaintained > state and doesn''t work with Rails 1.2--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
idealguru-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jun-26 19:59 UTC
Re: help : acts_as_wizard clone
:ahem .. is my question undeserving of a reply ?? is it something obvious I am missing in Rails On Jun 23, 11:25 pm, "idealg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <ubg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Just to clarify - I am trying to implement multi-step forms. > > On Jun 20, 12:47 pm, "idealg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <ubg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Is there an ''acts_as_wizard'' clone that provies similar > > functionality ? The original plugin seems to be in an unmaintained > > state and doesn''t work with Rails 1.2--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 26-Jun-07, at 3:59 PM, idealguru-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> > :ahem .. is my question undeserving of a reply ?? is it something > obvious I am missing in Rails > > On Jun 23, 11:25 pm, "idealg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <ubg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> Just to clarify - I am trying to implement multi-step forms. >> >> On Jun 20, 12:47 pm, "idealg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <ubg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >>> Is there an ''acts_as_wizard'' clone that provies similar >>> functionality ? The original plugin seems to be in an unmaintained >>> state and doesn''t work with Rails 1.2 >no IG. there''s not always the collective bandwidth to answer all questions. grin. I''ve never used this plugin, but was relatively easy to implement I suggest DIY * first carry a column to hold the current wizard stage - I called mine ''stage'' * then when you render use the stage number as part of the partial name. * render :partial => "wizard_stage_#{@encounter.current_stage}" * next will increment the stage, previous will decrement. * then name your partials with an _x for the appropriate stage. BTW, The advantage of storing stage are that you can support the resumption of the wizard. As an additional thought you can have stage specific field validations by checking the stage value: validates_presence_of :age, :if => :at_stage_two, :message => " must be entered" the above should be enough to get you moving forward. cheers, Jodi --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---