These are chat archives for dry-rb/chat

Jan 2017
Pierre-Alexandre Kofron
Jan 26 2017 14:27
I'm confused about something : where do dry-validations expect to find I18n translations of keys and nested keys of errors? (ie models, nested models / collections etc)
{:"anchors.address"=>["doit être rempli"]} # message
Anchors Address doit être rempli # full message
I want to translate "Anchors Address". Anchor is a model, address an attribute
Tim Riley
Jan 26 2017 21:08
I think’d be up to you to translate, @kofronpi. dry-validation doesn’t translate key paths.
They’re meant to correspond to the data