Render to file?

Hello, I need to render a layout to a text file - How can I do ?

Thanks

RTFM : render_to_string will help, for sure !