Saturday, July 31, 2021

Favicons, InvalidAuthenticityToken message gains, Journey optimizations and more!

Posted by zzak

Hello, zzak here! Congrats on making it through another month and another week of Rails development.

Add favicon to internal routes “/favicon.ico”

They finally fixed that pesky No route matches [GET] "/favicon.ico" error on the default Rails welcome page.

Introduce Journey::Ast to avoid extra ast walks

This PR started its journey almost exactly a year ago…!

Improve help for Rake tasks

Rails help command now includes the Rake task description which is much more helpful. Give it a try: bin/rails db:migrate -h!

Help identifying why we have an InvalidAuthenticityToken exception

Unverified CSRF requests now display a helpful error message in the ActionController::InvalidAuthenticityToken exception.

“Middleware#remove” is renamed “Middleware#delete!”

Recently “Middleware#remove” was added to mirror the behavior of “Middleware#delete” but raise an exception if the middleware isn’t found. This name makes more sense as “#delete!”.

Add support for defining default values as option for ActiveSupport::Configurable accessors

This PR adds the ability to specify a default value when using “config_accessor”.

Permit attachments in inbound email conductor mail params

This PR fixes an issue in actionmailbox when testing inbound email with attachments.

29 people contributed to Rails since last time. All the changes can be checked here. Until next week!