title: Undefined method despite including my module
body: <p>I have this module:</p>
  
  <pre><code>module Moody
      def foo
          'bar'
      end
  end
  </code></pre>
  
  <p>And yet in a controller:</p>
  
  <pre><code>class MyController   
    include Moody # this works. Including Moodasdasd causes a failure
  
    def index
      puts foo #=&gt; expect 'bar' undefined local variable or method `foo' raised
    end
  end
  </code></pre>
  
  <p>I get a undefined local variable or method error. </p>
  
  <p>How should I include a module's methods in an action?</p>