Carl Johnson wrote:
The problem is that I have my page's standard header and footer in application.rhtml. When I render_component, it is rendered inside the application.rhtml template. Since that contains header and footer, I have nasty stuff like <html> and <head> in the middle of my page!
Change the code so that that the component uses "nil" for the layout.