Is there a way to generate content, and then save the resulting HTML (including application layout, etc) ? -- Posted via http://www.ruby-forum.com/.
Aldric Giacomoni wrote:> Is there a way to generate content, and then save the resulting HTML > (including application layout, etc) ?Well, you could use page caching. :) If you need more flexibility, try render_to_string. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.
Marnen Laibow-Koser wrote:> Aldric Giacomoni wrote: >> Is there a way to generate content, and then save the resulting HTML >> (including application layout, etc) ? > > Well, you could use page caching. :) > > If you need more flexibility, try render_to_string.I will play with that; thanks. -- Posted via http://www.ruby-forum.com/.