title: Where to put the rack middleware file in rails 3?
body: <p>I want to use <a href="https://gist.github.com/206529" rel="nofollow noreferrer">this</a> rack middleware in my rails app, followed every solutions on <a href="https://stackoverflow.com/questions/3428343/where-do-you-put-your-rack-middleware-files-and-requires">another SO post</a> but still no luck, keep on getting <strong>uninitialized constant</strong> error.</p>
  
  <p>So, what's the precise location to put the rack middleware file and include the <em>config.middleware.use</em> in Rails 3.2.3? Thanks.</p>