I am new to the Rails word. Using Rails 6 and following the guides / tutorials. On the official Rails guides, there are CoffeeScript examples and it's even recommended to use CoffeeScript, see: https://guides.rubyonrails.org/working_with_javascript_in_rails.html#an-introduction-to-ajax (even in the edge guides: https://edgeguides.rubyonrails.org/working_with_javascript_in_rails.html#an-introduction-to-ajax).
As an experienced JavaScript developer, I have never seen for the past three years any company choosing CoffeeScript as their JavaScript tool. Thanks to the innovations from CoffeeScript JavaScript has evolved and the need for CoffeeScript disappeared.
Now why would Rails still recommend it? I feel like it will most probably confuse newcomers to Rails because for most of the new developers, CoffeeScript is not even a thing anymore. It's a good history lesson if you read it about JavaScript but that's it.
Thanks!
There's a pull request opened to change the information: https://github.com/rails/rails/pull/37529