I am trying to create a form that will allows a person to enter a
Once they submit the form with the code, they will be taken to a survey
that corresponds to the code that they have entered. If the code they
entered does not have an associated survey, an error message will be
displayed asking them to reenter the code.
If someone could provide a bit of code demonstrating how the form should
be constructed, I would greatly appreciate it.
Please detail which action and controller the form will take make use
of. (that's one of the things I'm finding most confusing about ROR
Thank you in advance for your help.