Jan05
MongoMapper Extract Superclass Refactoring
I was recently wanting to do an Extract Superclass refactoring in a Ruby on Rails solution which uses MongoDB and the glorious MongoMapper. Being somewhat new to MongoDB and MongoMapper, I was a bit scared about this refactoring. I also had collections full of data that I didn’t want to screw up. I knew it would require massaging those documents, and also playing to the way MongoMapper handled inheritance.
Continue reading »
