Chapter 11: Debugging, Testing, and Benchmarking

Welcome to a chapter devoted to the very topics nobody likes to talk about: errors, bugs, flaws, and exceptions. These topics, however dismaying, are de rigeur for any comprehensive hands-on technical guide—let's not pretend that development is perennially easy and always results in perfect, error-free code!

Once you begin developing applications on your own, the first lesson you'll learn—probably the hard way—is that bugs arise all the time, regardless of how proficient you are as a developer. It's your job to find and fix them, so you'd better be good at it!

Of course, the fun doesn't stop at bugs and errors. It may be that your finished application is not as speedy as you'd like. If this is ...

Get Rails: Novice to Ninja, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.