How do I find out the template that's going to be rendered, in a
controller action? I need to render the template to a string and send
the resulting string via JSON. I need to do this in app/controller/
application.rb so each controller method doesn't know it's happening.