Hello after having searched the forums I couldn't find any soution to
I want to implement a multi step form across models.
Step 1: Enter requested username/ password - User model
Step 2: Enter Profile information - Profile model
Step 3: Misc questions - Questionaire model
Step 4: Accept settings and save
The problem is if a user is created in step 1 and then exits his
browser during step 2, thus a record in the users table is dangling,
The best solution would be to have a Wizard controller with each step
being associated with a method. Ive looked at the Wizard plugin
(http://github.com/crankin/wizard/tree/master), however it doesnt seam
like it addresses the issue mentioned above.
and also problem with back button in the browser,what if the user
press back at step 3 and goes back to step 1 and start it..offcourse
we can update it using update_attribute but it create many round trip
Ive also looked as acts_as_statemachine but I dont know how I can get
it to work with e.g. the wizard plugin.
Thanks in advance