#1296 ✓resolved

dm-rails: Logger displays incorrect queries time

Reported by kgiszczak | May 29th, 2010 @ 04:12 AM | in 1.0.0

Logger displays 0.0ms for every query.
Here is sample log:

Started GET "/" for at 2010-05-29 11:03:55
  Processing by PostsController#index as HTML
  SQL (0.0ms)  SET backslash_quote = off
  SQL (0.0ms)  SET standard_conforming_strings = on
  SQL (0.0ms)  SET client_min_messages = warning
  SQL (0.0ms)  SELECT "id", "name" FROM "posts" ORDER BY "id"
Rendered text template (0.0ms)
Completed 200 OK in 11ms (Views: 1.8ms | Models: 8.7ms)

This log comes from postgres adapter, but I tested also with mysql database and the result is the same.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »


Referenced by