My DB time always shows 0.00000 in production, using thin, mongrel,
rails 1.2.6, 2.0.2, it doesn't matter. In development, the DB time is
correctly non-zero. I don't do any caching.
Is this a known problem?
Processing ProjectsController#index (for x.x.x.x at 2008-03-01
12:04:06) [GET]
Session ID: xxxx
Parameters: {"action"=>"index", "controller"=>"projects"}
Rendering template within layouts/main
Rendering projects/index
Completed in 0.09227 (10 reqs/sec) | Rendering: 0.03694 (40%) | DB:
0.00000 (0%) | 200 OK [http://yyyy.yyy.yyy/\]
I copied development.rb to production.rb and still have the same
problem. I suspect database timing is explicitly disabled in
production mode, can I override this somehow? I have the same
behavior on freebsd and OSX. For the heck of it I created a new rails
app and had the same problem.
I copied development.rb to production.rb and still have the same
problem. I suspect database timing is explicitly disabled in
production mode, can I override this somehow? I have the same
behavior on freebsd and OSX. For the heck of it I created a new rails
app and had the same problem.
Well I've no idea why this is happening, but database timing certainly
isn't disabled in production.