This article describes a technique for overriding the equals method that preserves the contract of equals even when subclassses of concrete classes add new fields.
Growing Rails Applications in Practice
Check out our e-book. Learn to structure large Ruby on Rails codebases with the tools you already know and love.
Introduce design conventions for controllers and user-facing models