title: Rails won't reload local javascript if redirect from an anchor link
body: <p>I have a <code>foo.js</code> from <code>FoosController</code>. If I enter localhost:3000/foos, then the jquery onready function will be loaded. However, if I click on an <code>&lt;a href="/foos"&gt;</code> or <code>link_to</code>, the jquery onready function won't be loaded. Is there a problem with my configuration? or is this an expected result.</p>