You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a similar need; I wanted to be able to open the pdfs generated during a functional test. I ended up overriding the compile method of the TemplateHandler so that it saves the pdf in the tmp folder : http://gist.github.com/251572
For the time being I stuck that in my test_helper and it does the job although it's not quite clean (among other things, I'm working on a Rails 2.1 application so the ActionView::Template class doesn't have the name method for instance).
Let's say I want to store the generated PDF for further use given certain conditions. How do I get access to the pdf generated with prawnto?
The text was updated successfully, but these errors were encountered: