I am developing a website that does not use AJAX.
What I would like to be able to do on the server side is find the point
in RoR (assuming it exists) where the HTML is "rendered" and capture
that string so that I can manipulate it for my purposes.
To be a little clearer, the user at their browser can do a View Page
Source and then save that HTML to a file. I would like to generate
(i.e. capture) exactly the contents of that string/file on the server
side so that I can save it on the SERVER.
I am not asking for the client to send back the contents of the View
Page Source back to the server. I do not wish to interfere with the
sending of the HTML to the client. I just want to get a copy of that
HTML so that I can save it to a file on the server and have that file
have exactly the same contents as a View Page Source and then Save File
as that file would be on the client.
Is this possible and/or easy to do?