Articles
Fail Early
It is well-known that the Ruby-based MySQL driver included with Rails is not suitable for use in production. We can write a short initializer that detects this condition and aborts the application start if the production server is misconfigured.
Rails Asset Cache
Rails 2.0 uses asset cache to combine multiple Javascript or CSS libraries to a single Javascript and single CSS file. This improves performance by reducing the number of HTTP requests.
Rails, Internet Explorer, and Parallels
Testing your Rails applications in Internet Explorer is still a necessity these days, and Parallels Desktop for the Mac does a great job at making this as painless as possible.
DRY up testing in Rails with Autotest
Autotest will DRY up testing your Rails application by running your tests automatically whenever your files change. We'll explore installing, using, and extending the Autotest utility from ZenTest.
Rails Logging Tips
Ruby on Rails comes prewired for logging using Logger from the Ruby Standard Library. This article demonstrates how to use the Rails logger, how to create your own logs, and offers some tips for debugging with console logging.


