title: Run a helper method on a model class method
body: <p>I created a helper method that I want to run on a model class method and getting a method not found error.</p>
  
  <p>lib/model_helper</p>
  
  <pre><code>module ModelHelper
    def method_i_want_to_use
      puts "I want to use this method"
    end
  end
  </code></pre>
  
  <p>model/foo</p>
  
  <pre><code>    class Foo &lt; ActiveRecord::Base
      include ModelHelper
      def self.bar
        method_i_want_to_use
      end
  end
  </code></pre>
  
  <p>This setup gives me a no method error.</p>