title: Rails 3.1 asset pipeline: how to load controller-specific scripts?
body: <p>If I generate a new controller in Rails 3.1, also a javascript file with the name of the controller will added automatically. Firstly, I thought this javascript file will used only, when the related controller is called.</p>
  
  <p>By default there is the instruction <code>//= require_tree .</code> in the <code>application.js</code>-file, that include every javascript file on it's tree.</p>
  
  <p>How could I load only the controller specific script?</p>