Skip to content

Formatting of error's "detail" attribute #97

Description

@kamk

If rails-i18n gem is used, the formatting of detail member of error object

[translation_for(resource_key), message].join(' ')

should reflect locale's configuration:

I18n.t('errors.format', attribute: translation_for(resource_key), message: message)

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