I have an app that makes graphs depending on entered text.
And I’m making it pseudo-REST as I have a form for entering text in #new and I want to run all calculations it #create and then show output on #show but I’m not using any storage, so data calculated in #create should be somehow passed to ‘#show’ and it looks like a bad idea to put it in session. Is there any option to persist data just for redirection to other method?
In you
def createfunction instead of redirecting to show why not just do this: