Skip to content

Add an ability to customize not only error message, but error details as well #22

@ec

Description

@ec

Due to Rails 5 innovation - adding error.details will be cool to have an opportunity to customize it.
Now it is ->

     {:error=>:"password.password_strength",
      :use_dictionary=>true,
      :min_entropy=>14,
      :value=>""}

For some reasons (unifying errors format in the app to be compatible for translations) i need to have smth like

{:error=>:"low_strength",}

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