DEV Community

Discussion on: Favorite Rails 6 Small Changes/Features

Collapse
 
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