All threads / Is anyone using Rails 5 yet?

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Is anyone using Rails 5 yet?

Alan Reid asked in Rails

The setup guides on the site recommend using Rails 4.2.6. I'm curious to know if we should be using Rails 5 now as it's been out for almost a month?

Cheers

Yes but there was apparently a problem with sprockets 3.7.0 till yesterday, caused by the method register_engine which is deprecated. If you started the puma server it printed something as follows in the terminal:
DEPRECATION WARNING: Sprockets method register_engine is deprecated. But now all of a sudden there's no warning anymore without making any changes to the /sass-rails-5.0.5/lib/sass/rails/railtie.rb file where the method is used.

Cool cheers Drilon, I think I will wait a little longer and let the bugs get fixed before I jump onboard. I assume its not too hard to update an app to the latest version of Rails?

I'm not too sure about this, but there should be some breaking changes between Rails 4 and 5.

Cheers

Isn't that always the case lol :) oh well i will investigate further. I am starting a large project so was tempted to start it off on the latest versions. But i am thinking it maybe best to keep it on the slightly older version.

I'm running a few apps on Rails 5 now, and all new projects I've started are on Rails 5. Never noticed any issues with the Sprockets stuff but your mileage may vary.

I have moved over to Rails 5 today. No issues as of yet :D Thanks all for your help

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 37,629+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.