Friday, November 13, 2020

Enhanced strict loading, multiple databases and more!

Posted by morgoth85

Hi, Wojtek from this side with a summary of the latest changes that will be available in the upcoming Rails 6.1.

Rails 6.1 RC1 released

Release candidate of Rails 6.1 is ready for testing.

Enhance strict loading to log violations

This change allows for an application to optionally log instead of raise when using strict_loading.

Add connected_to_many for multiple databases

This would come in especially handy for deeper nesting past 2 databases when declaring connections.

Add request exclusion to host authorization

Host authorization checks can be skipped for specific requests. This allows for health check requests to be permitted for requests with missing or non-matching host headers.

Add server Railtie block

Allow the application or a railtie to load code after the server start (similar to console and tasks blocks).

39 people contributed to Rails since last time. Check out the detailed list of all changes. Until next week!