Run pending migrations from error page in Rails
I am still trying to figure out how I missed this!! However, in Rails 6, ActionableError was added. With ActionableError we now have a hook that gives us the functionality to perform tasks from the Rails’ error page… like running the migration task that we’d normally run from CLI.