title: How can I use mixins or modules in my controllers in Rails 3?
body: <p>I have some behavior in my controller that I pulled out into a module in order to test better and re-use it in a few places. Two questions about this:</p>
  
  <ol>
  <li>Where is a good place to put my modules? They need to run in order to be available to the controllers, so I was thinking the <code>config/initializers/</code> directory. That seems a little suspect to me though. <code>lib/</code>?</li>
  <li>How do I ensure the code gets run so the modules are available to <code>include</code> in my controllers?</li>
  </ol>
  
  <p>Thank you kindly sirs.</p>