News for hackers. Stuff that matters.
Re:What's new in Rails 5? by ownedthx on Friday September 25, 2015 @09:53AM (#10278110)
I'm not sure if this is baked into Rails 5, but you can get es6 support (via Babel) with the sprockets-es6 gem:

https://github.com/TannerRogalsky/sprockets-es6

Rails is still a second-class JS citizen due to the asset pipeline being opinionated and controlling compared to the node way of doing things, but it gets you closer to 'the new hotness'.

Re:What's new in Rails 5? by atwrkrmrm on Friday September 25, 2015 @10:08AM (#10278216)
What do you mean JS is still a second class citizen? I'm unfamiliar with Rails asset pipeline. Do you just mean that the asset pipeline doesn't really have as much features as other build tools like Grunt and Gulp? Or is there something about asset pipeline that prevents you from using JavaScript to its full potential? (Genuinely curious. Not familiar with the JS side of Rails)