Is there a way to configure ruby on rails to generate .js files and not .js.coffee when generating a new controller. I don't want to use CoffeeScript, and it's annoying having to refactor all my files.
Ruby-on-rails – Configure Ruby on Rails to generate .js not js.coffee
coffeescriptconfigurationruby-on-railsruby-on-rails-3
Related Topic
- Ruby-on-rails – How to understand nil vs. empty vs. blank in Ruby
- Ruby-on-rails – Rails: How to rename a database column in a Ruby on Rails migration
- Ruby-on-rails – How to get the current absolute URL in Ruby on Rails
- Ruby-on-rails – Purge or recreate a Ruby on Rails database
- Ruby – How to reverse a ‘rails generate’
- Ruby-on-rails – Ruby on Rails generates model field:type – what are the options for field:type
- Ruby-on-rails – Rails 4 Authenticity Token
Best Answer
from How can I completely disable CoffeeScript in a Rails 3.1 app?