On Nov 20, 4:19 pm, Ralph Shnelvar <li...@ruby-forum.com> wrote: > 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. > > Is this possible and/or easy to do? >
You could probably do that from an after_filter - you should be able to play around with response.body. Fred > -- > Posted viahttp://www.ruby-forum.com/. -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.