To my understanding, all of your JavaScript gets merged into 1 file. Rails does this by default when it adds //= require_tree . to the bottom of your appl
//= require_tree .
appl
You can also group the js in folders and continue to use the asset pipeline to load your javascript selectively depending on the page.