If I\'m using //=require_tree . in application.css, is there a way to exclude particular files other than resorting to //=require_directory and tre
//=require_tree .
//=require_directory
Since the release of rails 3.2.9, it has support to lock the sprockets to version 2.2.x so that we can use the //= stub directive that latest sprockets have.
//= stub
//= stub unwanted_js
http://weblog.rubyonrails.org/2012/11/12/ann-rails-3-2-9-has-been-released/
So, to use it, just upgrade to Rails 3.2.9