Include JS in layout with rails helper

Use Rails helper to include javascript. Assets pipeline divides manifest into separate files if assets.debug is true