Created
July 2, 2018 08:24
-
-
Save groony/1c34d5b4b94e34b1fb991da3d5ea68c4 to your computer and use it in GitHub Desktop.
dry-validation initializer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dry::Validation::Schema::Params.configure do |config| | |
config.messages_file = Rails.root.join('config', 'locales', 'errors.yml') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment