The reason for the redirect_to is to end the process after the file is created at the index page so the user doesn't have to find his way back. Is there a way to go to the start or index page maybe?
Bob On Jun 7, 12:03 am, radhames brito <[email protected]> wrote: > On Mon, Jun 6, 2011 at 3:41 PM, Bob Smith <[email protected]> wrote: > > When I render the report, it's to a file that can be viewed, printed, > > or backed up as needed. It is to a pdf, so I'm using: > > That i understand , you can render the file inline or send it to the user, > what i dont understand is the need to redirect after that. Please explain. > But be aware that you cant double render, it will always raise an exception. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

