I'm attempting to optimize rails for my development habits a bit better. As a javascript (not coffeescript) user, I have no use for the controller-specific .js.coffee files that are automatically generated with a new controller. (If rails wanted to automatically generate controller-specific .js files, that would certainly be cool)
My Question(s):
- How do I configure Rails 4 to stop using coffeescript? I saw in this answer that disabling it in rails3 involved removing
gem "coffee-script"
. This gem was not found in my gemfile but there IS another coffeescript gem in there:coffee-rails
. Would I be correct in assuming that I should just disable that one? - In whichever way you recommend to disable coffeescript, does that actually disable the ability for rails to read coffeescript? Or does that simply mean that it no longer defaults to coffeescript? (Either one is fine, but I'd appreciate if you could specify.)
- Are there any considerations or potential pitfalls that make this change in configuration a bad idea?
Thanks for any suggestions.