softwareas.com
Sorting a Rails log file by SQL duration
Rails’ ActiveRecord logger writes log files like: Post Load (735.8ms) SELECT `posts`.* FROM `posts` where post.title = ‘foo’ You may want to know the longest SQL queries for perfo…