I need a string of html (something like \"Hello World\") for faxing purpose.
\"Hello World\"
I wrote it into a seprat
Use the #render_to_string method
it works the same way as the typical render method but useful when you need to add some templated HTML to a json response
http://apidock.com/rails/ActionController/Base/render_to_string