Closed shails closed 9 years ago
I think it is because you are on development. You'll get a single file when you run on production environment.
Thanks for raising this issue. I've updated the next edition of the book to clarify this point. In production, you'll automatically get one single file delivered to the browser. In development mode, Rails continues to deliver multiple files for easier debugging.
In the section Layout and Views , its mentioned - "Create as many files as you need to organize your JavaScript or CSS code and you’ll automatically get one single file delivered to the browser."
But as I was checking my webpage via "View Page Source " of firefox I see following - Too many javascript links and c