InfoQ

InfoQ

Topic/Tag specific view

DrySQL Content on InfoQ


Latest featured content about DrySQL

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.