title: Rails asset pipeline - JS and CoffeeScript
body: <p>I have both <code>.js</code> and <code>.coffee</code> files in my <code>/app/assets/javascripts/</code> folder.  The <code>.coffee</code> files will not run unless I call <code>rake assets:precompile</code>, which is a pain because I have to do <code>rake assets:clean</code> and precompile them again whenever I make a change.</p>
  
  <p>Also, the precompiled .js file is included in addition to the source files, which causes double event handlers and all that good stuff.</p>
  
  <p>My understanding is that the coffeescript should be compiled to javascript upon each request if it's not precompiled, but it doesn't seem to be doing so.  I can't find the compiled script loading in Firebug, and I don't see its behavior, at least.  </p>
  
  <p>My <code>/config/application.rb</code> has the following line configured:</p>
  
  <pre><code># Enable the asset pipeline
  config.assets.enabled = true
  </code></pre>
  
  <p>What else is there to check?</p>
  
  <p>I am using Rails 3.2.3.</p>