Hi, Is there a way to capture the generated HTML (e.g. for show.html.erb) from inside a Rails application? I need to send an e-mail to users with the same HTML as displayed on the browser. Thank you in advance. Tadatoshi
on 2008-10-18 21:13
on 2008-10-19 03:36
Tadatoshi Takahashi wrote: > Is there a way to capture the generated HTML (e.g. for show.html.erb) > from inside a Rails application? Have a look at render_to_string. Peace.
on 2008-10-19 05:00
Thank you, Phillip. I will try that. Sincerely, Tadatoshi On Oct 18, 9:36 pm, Phillip Koebbe <rails-mailing-l...@andreas-s.net>
on 2008-10-28 01:13
Hi, Phillip, render_to_string worked very well. Thank you for your help. Sincerely, Tadatoshi On Oct 18, 10:59 pm, tadatoshi <tadatoshi.mailingl...@gmail.com>