This post originated from an RSS feed registered with Ruby Buzz
by David Heinemeier Hansson.
Original Post: Brian discovers the default logging goodness
Feed Title: Riding Rails
Feed URL: http://sedoparking.com/search/registrar.php?domain=®istrar=sedopark
Feed Description: The knowledge diff for all things Rails
Brian McCallister started working on a new Rails application and discovered the goodness that is the default logging setup:
This is sort of what using Rails is mostly like. You stumble on a really nice gem—the default logging giving you a breakdown of execution times, translating it to requests per second, giving you any sql, execution times on the sql, etc. Oh yeah, nicely color coding and bolding as well. Then you stumble on another gem. It feels like programming in ruby, where things surprise you by being just really well done, and easier than expected.
It is indeed a powerful tool to have a tail running on while developing as you get an early warning system for performance problems and a minds eye into the internals of the system.