Why does rails load all javascript files in all controllers?
<p>I´m building a small rails app and I want to use jquery instead of coffeescript so I´ve renamed all generated javascript files to .js instead.</p>

<p>Now, the javascript I´m adding in these js file seems to be accessible to ALL my controllers. For example, adding something in <code>document.ready</code> in my <code>employees.js</code>, this will trigger in all my views, not just the for the Employee-controller? </p>

<p>Why is this and is there anyway to configure this?</p>