I’ve done a fair bit of work in creating a library that integrates with ActiveRecord Objects. I also have a pretty good grasp on mixins/inheritance. Yet I still run into situations where trying include, extend, and techniques for monkey patching just don’t work out. I was trying to implement a method like first_or_create on the…
Continue Reading »