Rails 6 is released, sass-rails 6, improved mysql2 error and more

Posted by _cha1tanya, August 18, 2019 @ 12:00 am in News

Hello! This is Prathamesh bringing the latest news from the Rails community. This week we have some big news. Get ready.

Rails 6 is out!

After two and half years of development from more than 800 people having staggering 7275 commits, Rails 6 is released. Time to upgrade 😁
Check out the release notes and upgrading guide to know more.

Support for sass-rails 6

Rails now works with sass-rails 6.0. sass-rails 6 wraps sassc-rails gem under the hood. This new version stops usage of outdated and unsupported ruby-sass gem.

Make prepared statement status thread and instance-specific

This fixes a race condition in system tests where prepared
statements can be incorrectly parameterized when multiple
threads observe the mutation of the @prepared_statements
instance variable on the connection.

Improve MySQL error detection

Improve detection of ActiveRecord::StatementTimeout error with mysql2 adapter in the edge case when the query is terminated during file sort.

Log potential matches when asserting active job test helpers

Adds logging of potential matches when calling assert_enqueued_with and assert_performed_with  to provide more information about test failures.

25 people contributed to Rails in the last week. Want to see your name on that list? Check out the list of issues here.

See you next week.