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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.