Using Ruby hooks to combine two modules into one
I had a combination of class and instance methods that I wanted to include into a model in Rails. The normal approach to do this would be to move all the instance methods into a module called Updateable and all the class methods into another module called UpdateableClassMethods - and