DEV Community

Nate Vick
Nate Vick

Posted on

Favorite Rails 6 Small Changes/Features

With Rails 6 on the horizon, we all know the big features and changes to the framework, but what about the small features and changes.

I'm looking forward to these additions.

rails db:system:change to change the database of the application.

rails db:prepare to create a database if it doesn't exist, and run its migrations.

What small features and changes are you looking forward to?

Top comments (3)

ben profile image
Ben Halpern

I'm definitely intrigued by ActionMailer. A toolkit for rolling more of my own stuff in email-world is definitely interesting.

coreyja profile image
Corey Alexander

This is what peaked my interest most too! Brings to mind some interesting ideas for sure

natevick profile image
Nate Vick

Introduce ActionDispatch::ActionableExceptions.

The ActionDispatch::ActionableExceptions middleware dispatches actions from ActiveSupport::ActionableError descendants.

Actionable errors let's you dispatch actions from Rails' error pages.

I saw this in Rails 6 B-Sides and Rarities