-
Notifications
You must be signed in to change notification settings - Fork 15
Description
I am a newbie with Ruby, Rails but making good progress. Please bear with this question:
I have created a collection of form definitions and can render each without issue. What I'd like to do now is to fire each form in succession. The form names are loaded into an array and I was planning on having a rails controller track which form was presented and then, upon successful completion, present the next one. The question I have (perhaps foolish), is how can I track which form was previously presented, is there an identifier or other parameter or object that will tell me which form was used to generate the response (is that the smerf_form_id?)? I'm trying to keep the application as stateless as possible.
My learning curve for Ruby and Rails has been a bit steep, so if the answer to my question should be intuitively obvious, please be kind with your response.
Many thanks.
Peer