title: How to share class methods between multiple data models in Rails?
body: <p>I have multiple Active Record data models in Ruby on Rails that need to share class methods. I could easily declare the methods in all the classes but that is against the DRY principle.</p>
  
  <p>I've looked at declaring a module and using 'include' to mixin the code but that seems to only work with instance methods, not class methods.</p>
  
  <p>What is the preferred way to do this in Ruby/Rails? (I tried to create a base ActiveRecord class and inherit from that, but ActiveRecord freaked out).</p>