I just migrated my Application to rails 4.1.0 from 4.1.rc2. Started getting these errors for my JS files
4.1.0
4.1.rc2
ActionView::Template::Err
You may detele <%= javascript_include_tag 'xxx' %> from your erb, and in you assets/javascript/name_space/index.js.coffee , append this
<%= javascript_include_tag 'xxx' %>
assets/javascript/name_space/index.js.coffee
#= require ./xxx