title: Rails using included helpers inside class methods
body: <p>Does anybody know why the included method doesn't work inside a class method?</p>
  
  <pre><code>class MyClass
    include ActionView::Helpers::NumberHelper
  
    def test
      puts "Uploading #{number_to_human_size 123}"
    end
  
    def self.test
      puts "Uploading #{number_to_human_size 123}"
    end
  end
  
  
  ree-1.8.7-2011.03 :004 &gt; MyClass.new.test
  Uploading 123 Bytes
   =&gt; nil 
  ree-1.8.7-2011.03 :005 &gt; MyClass.test
  NoMethodError: undefined method `number_to_human_size' for MyClass:Class
      from /path/to/my/code.rb:9:in `test'
      from (irb):5
  ree-1.8.7-2011.03 :006 &gt;
  </code></pre>