These are chat archives for dry-rb/chat

9th
Mar 2017
Gustavo Caso
@GustavoCaso
Mar 09 2017 09:31
Any good suggestion for a conference this year ?
Gabriel Gizotti
@gizotti
Mar 09 2017 09:32
RubyKaigi for sure
Gustavo Caso
@GustavoCaso
Mar 09 2017 09:33
Well I do not think my company will pay for the flights
any suggestion in Europe ?
Jeff Dickey
@jdickey
Mar 09 2017 15:50
@solnic discuss.dry-rb.org seems to have SSL cert problems; tried clicking on the link in your response to @Morozzzko and when that didn't work, curl https://discuss.dry-rb.org. When that didn't work, curl -k https://discuss.dry-rb.org, which did.
Nikita Shilnikov
@flash-gordon
Mar 09 2017 16:09
@jdickey what curl https://discuss.dry-rb.org said?
it seems to work for me
Gustavo Caso
@GustavoCaso
Mar 09 2017 16:16
It works for me as well
Jeff Dickey
@jdickey
Mar 09 2017 16:50
ok; it's likely just my VPN stepping on their HTTPS for some reason; I notice git pull and git clone transfers are very slow. Sorry
Nikita Shilnikov
@flash-gordon
Mar 09 2017 16:51
@jdickey no worries, I assembled the cert manually few months ago so was wondering if there are still any issues :)
Jeff Dickey
@jdickey
Mar 09 2017 16:56
it appears that there may be; I just pulled fresh copies of every active repo I have cloned from GitHub using curl on Terminal, and they work Just Fine, so it appears to be a diff between your cert and GitHub's (as an example)
(found that's a handy script to throw together) :P
Nikita Shilnikov
@flash-gordon
Mar 09 2017 16:58
well.... I used several checkers and every said it looks fine, so, what curl https://discuss.dry-rb.org did show to you?
Pablo Herrero
@pabloh
Mar 09 2017 23:18
Hey guys, If I have something like this:
schema = Dry::Validation.Schema do
  required(:appointment).filled(:date?)

  rule(:future_appointment: [:appointment]) do |appointment|
     appointment.gte?(Time.now + 2.days)
  end
end
the Time.now inside the rule will be evaluated every time the validation runs?
Don Morrison
@elskwid
Mar 09 2017 23:21
@pabloh I wonder if some good ‘ol fashioned puts debugging could help?
When all else fails dump some text somewhere. heh.
Pablo Herrero
@pabloh
Mar 09 2017 23:21
yeap, sorry I doing that now
I was having problem getting my app back running again
but maybe there was some conceptual error I was making someone could clarify
Don Morrison
@elskwid
Mar 09 2017 23:23
Oh, don’t apologize. I hope I didn’t come across as being snarky or whatever. I didn’t/don't know the answer . :smiley:
Pablo Herrero
@pabloh
Mar 09 2017 23:23
no, don't worry...
Don Morrison
@elskwid
Mar 09 2017 23:23
stops worrying
Pablo Herrero
@pabloh
Mar 09 2017 23:23
haha
Pablo Herrero
@pabloh
Mar 09 2017 23:33
fuck it doesn't
it got fixed, on the first call
Maybe with a custom validation block...
Tim Riley
@timriley
Mar 09 2017 23:43
@pabloh if you made a custom predicate, it'd work
def time_after?(time)
Philip Arndt
@parndt
Mar 09 2017 23:49
If you're lost you can look and you will find me
Don Morrison
@elskwid
Mar 09 2017 23:49
:heart_eyes: