Hacker News new | ask | show | jobs
by jsmith0295 3676 days ago
The new TurboLinks is one of the best things about Rails 5, though. You can basically get UX comparable to an SPA with mostly server code.

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...

1 comments

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...