I am implementing something like an e signature.
User fills a form in multiple steps (I keep storing information in the session) and in the last step I save the form. However, on the last steps I've added a textfield in which the user should enter their name. The name they enter in this textfield must match the one in session[:fullname] or the validation should fail.
What is the best way to achieve this? I want to avoid accessing session inside the model.