Hi, it’s Greg. Let’s explore this week’s changes in the Rails codebase.
Rails Plugin documentation update
As part of improving the documentation of the framework, The Rails Plugins Guide
has been updated.
Fix consistency of generated structure.sql for latest PostgreSQL versions which include \restrict
This pull request fixes the removal of pg_dump’s versioning comments by also removing the new \restrict
lines. By removing all these lines, the generated structure.sql can again be consistent between runs of rails db:schema:dump
on the latest versions of PostgreSQL.
Allow current_page? to match against specific HTTP method(s) with a method: option
Before this chage, the current_page?
helper only matched on GET and HEAD
requests, but with the new optional method
option, it will match against
explicit HTTP methods.
Filter sensitive attributes in logs
Attributes filtered by filter_attributes
will now also be filtered by
filter_parameters
to assure that sensitive information is not leaked to the
logs.
You can view the whole list of changes here. We had 18 contributors to the Rails codebase this past week!
Until next time!
Subscribe to get these updates mailed to you.