Posted by rp8 on Tuesday, December 16, 2008

When using Rawk to profile Rails 2.2 application, we need to make a small change on the regular expression for time string.

Replace the the following old string with the new one.


Old: /Completed in \d+\.\d+/
New: /Completed in \d+ms/

The old DB and Rendering switch does not work anymore as the new log shows only completion time in the format of "Completed in 52ms(View: 16, DB: 8).