I am rendering a pretty huge sitemap HTML file with rake. Unfortunately, the code breaks when I migrate to rails 3. My current code looks like this:
@control
This is what worked for me:
html = render_to_string(:index, layout: nil)