Sunday, January 24, 2021

Defaults to "main" branch name, new webpacker guide and improved strict loading

Posted by morgoth85

Hi, Wojtek here with the summary of changes from the last days.

Renamed master branch to main in the Rails repository

As mentioned by DHH and performed by Rafael França the default branch for most of the Rails git repositories is now called “main”.

Webpacker added to edge guides

The detailed guide how to use webpack build system with Rails via webpacker gem. You can read it on edge guides.

Opting out of strict loading on a per-record base

This is useful when strict loading is enabled application wide or on the model level.

Improved strict loading violation error message

This change updates the error message to include both the class and the association name which makes it clear what exactly failed.

39 people contributed to Rails since last time. Check out the open issues to get involved and help out. Until next week!