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...@gmail.com> 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@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to