Rails asset bundles and page specific js

Single asset bundle vs multiple asset bundles

Page Specific Javascript

doctype html
html
  = render "layouts/head"

  = content_tag :body, class: "#{action_name}_view", id: controller_name, data: { action: action_name, controller: controller_name } do
    = render "layouts/navbar"
    main
      = render "layouts/flash"
      = yield
    = render "layouts/footer"