Re:Drop jQuery as a dependency from Rails
by wavesplash on Wednesday June 01, 2016 @11:32AM
(#11815179)
Sadly, you can't just remove the gem anymore. At least not if you want to use ActionCable. ActionCable generators only generate Coffeescript.
ActionCable generators can now generate either JS or Coffeescript. This is relatively recent, but the direction is clearly toward decoupling.
https://github.com/rails/rails/commit/63ac6255ba3553b529f4b2...
As for coffeescript, you can just remove the gem and it'll use regular JS.
https://www.nateberkopec.com/2015/05/27/100-ms-to-glass-with...