Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

Mix In Common Model Behaviors In Rails With “Concerns”

By Peter Cooper / January 19, 2007

In Concerns in ActiveRecord, Jamis Buck writes about a simple technique of using modules to mix in functionality shared by multiple models without resorting to STI. This technique has been possible in Rails since.. ever, but I must admit I'd never considered it before, so I'm sure a lot of people will find it useful.

Other Posts to Enjoy

Twitter Mentions