Mar 18, 2019

Remove Coffee Script from Rails 5






    Add the option -skip-coffee to rails new command

    If you have already created the project
  1. Remove gem 'coffee-rails' from Gemfile
  2. Add config.generators.javascript_engine = :js to application.rb

       If you have already created the view files, 

  1. Change extension of .js.coffee files to .js
  2. Clear the tmp cache with rake tmp:cache:clear