Skip to content

Instantly share code, notes, and snippets.

@groony
Created July 2, 2018 09:19
Show Gist options
  • Save groony/ec808d6972c091104444d66d35a801c1 to your computer and use it in GitHub Desktop.
Save groony/ec808d6972c091104444d66d35a801c1 to your computer and use it in GitHub Desktop.
example error messages namespace per schema
schema = Dry::Validation.Schema(Dry::Validation::Schema::Params) do
configure { config.namespace = :user }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment