How to get view as a string in the controller

I guess I read somewhere how to get the view as a string in the
controller.
Now that I need it, I couldn’t find it.

Any help.

Neeraj K. wrote:

I guess I read somewhere how to get the view as a string in the
controller. Now that I need it, I couldn’t find it.

Any help.

http://api.rubyonrails.com/classes/ActionView/Helpers/CaptureHelper.html


Jim M., http://blog.wolfman.com

On Oct 23, 2006, at 14:43, Neeraj K. wrote:

I guess I read somewhere how to get the view as a string in the
controller. Now that I need it, I couldn’t find it.

render_to_string


Jakob S. - http://mentalized.net