Delegated types Class hierarchies can map to relational database tables in many ways.| api.rubyonrails.org
Articles by Jorge Manrubia on Rails design techniques and patterns. They feature code examples extracted from 37signals apps.| 37signals Dev
Over the last several years we’ve seen a whole range of ideas regarding the architecture of systems. These include:| blog.cleancoder.com
If you use an object-oriented domain model, and you don't put behavior in your objects, you're missing out on most of the benefits of that pattern.| martinfowler.com
Rails concerns have received much criticism over the years. Are they the solution to all the problems or something to avoid at all costs? I think a problem with concerns is that you can use them however you want, so no surprise you can shoot yourself in the foot when doing it. After all, concerns are just Ruby mixins with some syntax s...| world.hey.com
One of the first things I did when I started working at 37signals almost three years ago was cloning the git repo for Basecamp. I poked around and ended up at this method: module Person::Tombstonable ... def decease case when deceasable? erect_tombstone remove_administratorships remove_accesses_later self when deceased? nil else raise ...| world.hey.com