Re: [Rails] double render problem

2011-06-06 Thread radhames brito
How come you want to present the report and then close it and go somewhere else? people wont see it. i dont get it , it seems you used render where you should have used send_file but i need to see your code to be sure. -- You received this message because you are subscribed to the Google Groups "

[Rails] double render problem

2011-06-06 Thread Bob Smith
I'm trying to print a report as a pdf, which uses the render method. This works fine. The problem comes at the end when I try to redirect to the index page, which causes the double render. I'm sure there's a way around this, but I'm coming up blank. If I remember right, there was a method that acte