On Monday 04 October 2004 14:59, David Heinemeier Hansson wrote:
> It does indeed seem like you have a problem with the after filters. Try
> turning them off and see if it works then. If so, I'll be happy to take
> a look at your after_filters to help you figure out what the problem is
> there.
Yep, it was problem with my after filters, I fixed it with following code:

  def layout_normal
    @content_for_layout = response.body
    saved_headers = response.headers.dup    # this
    render 'layouts/main'
    response.headers = saved_headers    #  and this 
    true
  end

Btw, big thank you and others for Rails!

-- 
sdmitry -=- Dmitry V. Sabanin
MuraveyLabs.
Spam Here -> postmaster / sco.com