Ruby on Rails/Getting Started/Don´t repeat yourself
From Wikibooks, the open-content textbooks collection
[edit] Don´t repeat yourself
To help to maintain clean code, Rails follows the idea of DRY. The idea behind it, is simple: whenever possible, re-use as much code as possible. This reduces errors, keeps your code clean and even more important: it takes a lot of work off your shoulders by writing code once and using it again. For more information of DRY look at the Wikipedia article