Rails 3.1, exclude JS files from asset pipeline
问题 I know there are a million questions already on this, but I can't get this. I want to include most of my JS files in the asset pipeline, but I have a few I want to load conditionally (or only on certain pages). These are big, complicated files and will never, ever be used by 95% of the users, so I'd rather not have them loaded for every user. One set of JS files is for a calendar, placed in: app/assets/javascripts/calendar So my manifest is set up to include only the top directory (and