get '/test' do session[:my_session_id] = generate_random_id() puts 'begin haml debug' haml :"static/haml_page", :locals=>{:session_id => session[:my_session_id]} end
I see in the log that the page above is constantly being called twice:
begin haml debug 127.0.0.1 - - [02/Nov/2012 00:00:01] "GET / HTTP/1.1" 200 4317 1.5421 127.0.0.1 - - [02/Nov/2012 00:00:01] "GET /js/base/jquery.pjax.002902.js HTTP/1.1" 304 - 0.0234 [2012-11-02 00:00:01] WARN Could not determine content-length of response body. Set content-length of the response or set Response
I have some problems. Why is this happening?
source share