done.
example how do that.
after_filter :write_file
def index
end
protected
def write_file
File.open(''public/test.html'', ''w+'') do
|f|
f.write response.body
end
end
On Aug 18, 5:41 am, Shukhrat Tursunov
<shuhra...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hi
>
> I have a question
> when you open page from browser
> application renders the page and gives it to the browser
> how do that in action and saverenderpage in htmlfile
>
> Thanks!
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.