14

Enhanced strict loading, multiple databases and more!

 3 years ago
source link: https://weblog.rubyonrails.org/2020/11/13/this-week-in-rails-enhanced-strict-loading-multiple-databases-and-more/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK