Archive | March, 2010

Fake Multiple Table Inheritance

For many years now a pattern has emerged in my Rails websites. Most models will have Title, Description, Online at, Offline at, Is visible, Url and Image_file_name fields. It screams to be solved using an underlying common model using the “is_a” pattern. There is no clean way to solve this in Rails. I discovered this [...]

Leave a comment Continue Reading →