These are chat archives for dry-rb/chat

11th
Jan 2017
Ralf Schmitz Bongiolo
@mrbongiolo
Jan 11 2017 00:34
On dry-validation, when using rules inside an array why they don't return the item index like other errors?
Ex: {:should_have_investment_rate_only=>["must be filled", "must be filled", "must be filled", "cannot be defined"], 2=>{:minimum_investment=>["is missing"]}}
The rule :should_have_investment_rate_only return an array of error messages, but it's not possible to know if it was on item 1,2 or 42..
Tim Riley
@timriley
Jan 11 2017 00:38
@mrbongiolo that sounds like a bug to me. Worth filing a GH issue?
Ralf Schmitz Bongiolo
@mrbongiolo
Jan 11 2017 00:39
I'll do it @timriley
Tim Riley
@timriley
Jan 11 2017 00:40
Thanks!
Abinoam P. Marques Jr.
@abinoam
Jan 11 2017 02:52
Hi @vasspilka . Im a little late at the conversation and im lacking context. Where is Metrics::Messages being defined? It seems it's just being resolve inside the METRICS hash definition.
Maciej Mensfeld
@mensfeld
Jan 11 2017 18:42
hello
+egl?+ is not a valid predicate name
any idea?
aaaa
sorry
eql
typo
damn
:) works like a charm