I m back.
I have a non-model form (I am using active_record_no_table gem for
validations). When the user fills that form and submits it, I want to
process the form and then display it back to the user just like the
"show" method in a scaffold.
Now, since this is a non-model form, I need to pass the instance
variable from "create" method to "show" method.
I know that rather than redirecting to show method, I can display data
back to the user using a partial and passing a locals hash to the
But I don't want to do this. The reason is there is a link on the "show"
view that allows the user to print the show view in PDF format and I
want to do the same with the link...passing the local variable to the
How can I do this?