Upgrading Rails to 6.0

Reading Time: < 1 minute

Update Gemfile

Grab updates & install webpack

Run your test and fix any issues. I mostly got issues revolving around update_attributes and expanding where.not() queries.

I had to update a bunch of

I also had scopes that looked like:

They had to be updated to:

Also, I had an issue with one of my render partials.

Had to update it to:

Updating application.rb

If using rubocop: add this to your .rubocop.yml


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.