Use active record's log() so rails apps get database timing numbers
-------------------------------------------------------------------
Key: JRUBY-1301
URL: http://jira.codehaus.org/browse/JRUBY-1301
Project: JRuby
Issue Type: Bug
Components: ActiveRecord-JDBC
Affects Versions: JRuby 1.0.0
Reporter: Doug Donohoe
Assignee: Thomas E Enebo
Attachments: ar-jdbc-patch.txt
Remove use of log_no_bench() calls in AR-JDBC. By not using the underlying AR
log() call, the database timing numbers are not recorded (and unavailable when
rails displays performance information in its log file).
Benchmark.realtime { } works in Jruby, so it appears that the log_no_bench
method can be removed and replaced with the normal log() call.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email