When you create a new Rails application, it automatically comes with several rather large js files. In the default application layout, they are all loaded onto the page:
<%= javascript_include_tag :defaults %>
I was wondering if all of these javascripts are loading so that the site can slow down?
And if so, where can I change the definition :defaults? Or should I just include the ones I need and delete the line of code mentioned above?
thank
hizki source
share