InfoQ

InfoQ

Editor Specific Content View

All of Bryan Evans' Content on InfoQ


Latest featured content by Bryan Evans

ORM with DrySQL and ActiveRecord

Topics
Programming,
Ruby,
Ruby on Rails

ActiveRecord fails the DRY principle, especially if your database doesn't follow Rails naming conventions. As well, ActiveRecord associations and validations are redundant specifications of database constraints. Bryan wants to avoid (as much as possible) the situation where he's averse to making changes to his database schema, because of the resulting effort to change his app code.