DRY as mentioned every now and then in this WIKI means ”don’t repeat yourself” and is a kind of mantra to the rails developers community.
It commonly refers to not using the same (or similar) code in multiple places in your application. Instead, such code should be ‘factored’ out to a common, single location (such as a helper method or partial) and reused in various locations. This results in writing code so that:and
(DRY is not an admonition against redundancy in wiki posts :)
For more information, Google for DRY
Category: Glossary