News for hackers. Stuff that matters.
Re:Lessons I learned while creating my SaaS with Rails by tn6o on Thursday February 11, 2016 @03:03AM (#11078870)
You're probably right indeed! I was just looking into refactoring some code, found that and thought it was pretty cool. Plus Rails comes with CoffeeScript by default.

ES6 is pretty sweet (pun intended) and will probably make CS kinda useless in the future. I'll look into it however I think that currently CoffeeScript is a bit of a standard in the Rails world.

Re:Lessons I learned while creating my SaaS with Rails by colinramsay on Thursday February 11, 2016 @03:17AM (#11078914)
That is a fair point, if I'm using Rails I actually just use plain old JS as I don't personally like CS.

I just found a comment by a Rails contributor [1] which says ES6 will be supported out of the box in Rails 5, which would be ideal. I can't find anything newer to back that up though. I think it might be via ES6 support baked into sprockets.

[1] http://kryptonlabs.com/blog/2015/10/25/whats-new-in-rails-5/...