Skip to content

Rails 7.1 "config.action_dispatch.show_exceptions" support #111

@a3626a

Description

@a3626a

Rails 7.1 added new config option ":rescuable" for "config.action_dispatch.show_exceptions"
(https://mattbrictson.com/blog/rails-71-features#1-finally-we-can-write-proper-integration-tests-for-errors)

Therefore, we can now delete "Rails.env.test?" condition from here:
https://github.com/stas/jsonapi.rb/blob/master/lib/jsonapi/errors.rb#L12-L29

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions