Currently I am having a controller with several actions. A client
perform some kind of wizard to create a persisted object
(ActiveRecord). So step1, step2, step3 and finally saves the object to
DB in step 4. Each step takes ask for a couple of info from the client
which is part of the end persisted object. Basically it follows the
step1 -> name, address
step2 -> validate address against a third party site
step3 -> email and other info
step4 -> saves all the above information to DB
Each step correspond to an action. All the 4 steps are in the same
controller. Step2 depends on step1 thus the wizard type process.
I built the above and it is working like a charm. However, I am
wondering about validation. I want to use ActiveRecord validation.
validation at step4 that would redirect to an "edit" page which would
contain all 4 steps in 1 "edit" action? I will probably go for that
but was wondering if anybody had any suggestion to produce a
validation mechanism per step.