havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.3, 2.5.5, 2.7.0-preview1: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
code_zombie has quit [Ping timeout: 252 seconds]
gix has quit [Ping timeout: 272 seconds]
fphilipe_ has quit [Ping timeout: 252 seconds]
orbyt_ has joined #ruby
Fernando-Basso has quit [Remote host closed the connection]
queip has quit [Ping timeout: 245 seconds]
ricekrispie has quit [Read error: Connection reset by peer]
ricekrispie has joined #ruby
queip has joined #ruby
haxx0r has quit [Ping timeout: 245 seconds]
regedit has joined #ruby
ricekrispie has quit [Read error: Connection reset by peer]
ricekrispie has joined #ruby
ricekrispie has quit [Read error: Connection reset by peer]
tdy has quit [Ping timeout: 245 seconds]
AndreYuhai has quit [Remote host closed the connection]
AndreYuhai has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
llua is now known as psprint-llua
psprint-llua is now known as llua
AndreYuhai has quit [Remote host closed the connection]
AndreYuhai has joined #ruby
spiette has quit [Quit: ZNC 1.7.3 - https://znc.in]
duderonomy has joined #ruby
ramfjord has joined #ruby
spiette has joined #ruby
renich has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fphilipe_ has joined #ruby
renich has quit [Remote host closed the connection]
renich has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
orbyt_ has joined #ruby
crankharder has joined #ruby
AndreYuhai has quit [Remote host closed the connection]
AndreYuhai has joined #ruby
AJA4350 has quit [Quit: AJA4350]
ur5us has joined #ruby
maryo has quit [Ping timeout: 245 seconds]
Swyper has joined #ruby
AndreYuhai has quit [Remote host closed the connection]
AndreYuhai has joined #ruby
AndreYuhai has quit [Remote host closed the connection]
codefriar has joined #ruby
ricekrispie has joined #ruby
crankharder has quit [Ping timeout: 268 seconds]
fphilipe_ has quit [Ping timeout: 257 seconds]
DTZUZO has quit [Ping timeout: 248 seconds]
CCDelivery has quit [Remote host closed the connection]
tranch has joined #ruby
crankharder has joined #ruby
ramfjord has quit [Ping timeout: 248 seconds]
spiette has quit [Quit: ZNC 1.7.3 - https://znc.in]
vjacob has quit [Ping timeout: 245 seconds]
spiette has joined #ruby
duderonomy has joined #ruby
dbugger__ has joined #ruby
tranch has quit [Quit: tranch]
_dbugger has quit [Ping timeout: 252 seconds]
tranch has joined #ruby
tdy has joined #ruby
Freshnuts has joined #ruby
tranch has quit [Quit: tranch]
tranch has joined #ruby
tdy has quit [Ping timeout: 245 seconds]
jtdowney has quit [Quit: jtdowney]
jtdowney has joined #ruby
dbugger__ has quit [Ping timeout: 250 seconds]
dbugger has joined #ruby
tdy has joined #ruby
Swyper has quit [Remote host closed the connection]
maryo has joined #ruby
r29v has quit [Quit: r29v]
ricekrispie2 has joined #ruby
braincrash has quit [Quit: bye bye]
ricekrispie has quit [Ping timeout: 245 seconds]
fphilipe_ has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
braincrash has joined #ruby
skyikot has quit [Quit: skyikot]
kyrylo has joined #ruby
ThePacketBender has quit [Quit: smell ya later]
maryo_ has joined #ruby
fphilipe_ has quit [Ping timeout: 259 seconds]
maryo has quit [Ping timeout: 245 seconds]
fphilipe_ has joined #ruby
_whitelogger has joined #ruby
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maryo_ has quit [Quit: Leaving]
tranch has quit [Quit: tranch]
tranch has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
queip has quit [Ping timeout: 246 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
queip has joined #ruby
ur5us has quit [Remote host closed the connection]
fphilipe_ has quit [Ping timeout: 258 seconds]
haxx0r has joined #ruby
tranch has quit [Quit: tranch]
queip has quit [Ping timeout: 248 seconds]
duderonomy has joined #ruby
fphilipe_ has joined #ruby
haxx0r has quit [Remote host closed the connection]
queip has joined #ruby
fphilipe_ has quit [Ping timeout: 252 seconds]
fphilipe_ has joined #ruby
Freshnuts has quit [Quit: Leaving]
conta has joined #ruby
helpa-bot has joined #ruby
garyserj has joined #ruby
x0f_ has joined #ruby
crankharder has quit [Ping timeout: 272 seconds]
helpa-bot has quit [Remote host closed the connection]
canton7_ has joined #ruby
helpa-bot has joined #ruby
justinmcp_ has joined #ruby
helpa has quit [Remote host closed the connection]
spiette has quit [Quit: ZNC 1.7.3 - https://znc.in]
barg has quit [Read error: Connection reset by peer]
canton7 has quit [Remote host closed the connection]
x0f has quit [Quit: quit]
justinmcp has quit [Quit: No Ping reply in 180 seconds.]
Milos has quit [Excess Flood]
Phage has quit [Ping timeout: 268 seconds]
canton7_ is now known as canton7
hanmac has quit [Ping timeout: 268 seconds]
spiette_ has joined #ruby
Milos has joined #ruby
helpa-bot has quit [Remote host closed the connection]
helpa has joined #ruby
haxx0r has joined #ruby
hanmac has joined #ruby
lord4163 has quit [Ping timeout: 248 seconds]
priodev has quit [Ping timeout: 272 seconds]
salvor has quit [Ping timeout: 272 seconds]
Phage has joined #ruby
Phage has joined #ruby
Phage has quit [Changing host]
tranch has joined #ruby
priodev has joined #ruby
lord4163 has joined #ruby
salvor has joined #ruby
Milos has quit [Max SendQ exceeded]
Inline has quit [Quit: Leaving]
Milos has joined #ruby
sauvin has joined #ruby
dellavg_ has joined #ruby
tranch has quit [Quit: tranch]
lxsameer has joined #ruby
tranch has joined #ruby
skarlso has quit [Quit: The Lounge - https://thelounge.chat]
haxx0r has quit [Remote host closed the connection]
skarlso has joined #ruby
andikr has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
duderonomy has quit [Client Quit]
schne1der has joined #ruby
DTZUZO has joined #ruby
dellavg_ has quit [Ping timeout: 245 seconds]
DTZUZO has quit [Ping timeout: 258 seconds]
DTZUZO has joined #ruby
r3m is now known as Pascal
Pascal is now known as r3m
ramfjord has joined #ruby
code_zombie_ has quit [Quit: Leaving]
ramfjord has quit [Ping timeout: 244 seconds]
aupadhye has joined #ruby
fphilipe_ has quit [Ping timeout: 258 seconds]
JoL1hAHN has joined #ruby
tdy1 has joined #ruby
ur5us has joined #ruby
aupadhye has quit [Ping timeout: 248 seconds]
tdy has quit [Ping timeout: 246 seconds]
aupadhye has joined #ruby
j416 has quit [Ping timeout: 258 seconds]
TheBrayn has quit [Quit: poof]
schne1der has quit [Ping timeout: 258 seconds]
ur5us has quit [Ping timeout: 272 seconds]
conta has quit [Ping timeout: 244 seconds]
tdy1 has quit [Ping timeout: 272 seconds]
tdy1 has joined #ruby
TheBrayn has joined #ruby
tdy2 has joined #ruby
j416 has joined #ruby
tdy1 has quit [Ping timeout: 248 seconds]
ur5us has joined #ruby
kujira has joined #ruby
conta has joined #ruby
haxx0r has joined #ruby
tdy3 has joined #ruby
esrse has joined #ruby
tdy2 has quit [Ping timeout: 245 seconds]
fphilipe_ has joined #ruby
schne1der has joined #ruby
tdy4 has joined #ruby
tdy3 has quit [Ping timeout: 268 seconds]
mayurvpatil has joined #ruby
tdy has joined #ruby
tdy4 has quit [Ping timeout: 245 seconds]
tdy1 has joined #ruby
Jonopoly has joined #ruby
tdy has quit [Ping timeout: 258 seconds]
TomyWork has joined #ruby
haxx0r has quit [Remote host closed the connection]
regedit has quit [Quit: Connection closed for inactivity]
jmcgnh has quit [Ping timeout: 246 seconds]
jmcgnh has joined #ruby
conta has quit [Ping timeout: 245 seconds]
deepredsky has quit [Ping timeout: 258 seconds]
mayurvpatil_ has joined #ruby
mayurvpatil has quit [Ping timeout: 245 seconds]
armyriad has quit [Quit: Leaving]
queip has quit [Ping timeout: 248 seconds]
conta has joined #ruby
rafadc has quit [Read error: Connection reset by peer]
rafadc has joined #ruby
queip has joined #ruby
NL3limin4t0r_afk is now known as NL3limin4t0r
kolaman has joined #ruby
twe4ked has quit [Ping timeout: 250 seconds]
twe4ked has joined #ruby
crankharder has joined #ruby
haxx0r has joined #ruby
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
<frojnd> Hi there.
<phaul> hi frojnd
<frojnd> I have "input" that looks like this: => "[{\"event\":{\"count\":1,\"date\":\"Jun 17, 2019 9:10:07 AM\",...}]" and if I say string = input.to_s I get: [{"event":{"count":1,"date":"Jun 17, 2019 9:10:07 AM",...}] how do I convert _this_ to hash or json?
infernix has quit [Ping timeout: 268 seconds]
<phaul> isn't this already json?
<manveru> frojnd: require 'json'; JSON.parse(string)
<frojnd> Or I will ask differently, why when I don't say puts it prints like this with `\"` and if I say puts it's without `\"`
<manveru> because irb calls .inspect before printing
<manveru> that way you can copy&paste it easily
<frojnd> manveru: aha thanx
deepredsky has joined #ruby
<manveru> `puts` calls `to_s`, so no need to for that :)
crankharder has quit [Ping timeout: 245 seconds]
alem0lars has joined #ruby
deathwishdave has joined #ruby
fphilipe_ has quit [Ping timeout: 250 seconds]
conta1 has joined #ruby
infernix has joined #ruby
conta has quit [Ping timeout: 246 seconds]
conta1 is now known as conta
dhollin3 has joined #ruby
fphilipe_ has joined #ruby
mayurvpatil_ has quit [Quit: This computer has gone to sleep]
conta has quit [Client Quit]
ur5us has quit [Remote host closed the connection]
conta has joined #ruby
dhollinger has quit [Ping timeout: 245 seconds]
fphilipe_ has quit [Ping timeout: 259 seconds]
krandi has joined #ruby
andikr has quit [Ping timeout: 272 seconds]
fphilipe_ has joined #ruby
gingitsune has joined #ruby
fphilipe_ has quit [Ping timeout: 252 seconds]
krandi has quit [Ping timeout: 245 seconds]
rafadc has quit [Read error: Connection reset by peer]
rafadc has joined #ruby
fphilipe_ has joined #ruby
ur5us has joined #ruby
mayurvpatil_ has joined #ruby
fphilipe_ has quit [Ping timeout: 250 seconds]
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
fphilipe_ has joined #ruby
fphilipe_ has quit [Ping timeout: 258 seconds]
kliq has joined #ruby
_joes_ has joined #ruby
mayurpatil11 has joined #ruby
dellavg_ has joined #ruby
fphilipe_ has joined #ruby
mayurvpatil_ has quit [Ping timeout: 272 seconds]
alem0lars has quit [Remote host closed the connection]
fphilipe_ has quit [Ping timeout: 258 seconds]
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mayurvpatil_ has joined #ruby
mayurpatil11 has quit [Ping timeout: 268 seconds]
fphilipe_ has joined #ruby
deepredsky has quit [Ping timeout: 248 seconds]
deepredsky has joined #ruby
queip has quit [Ping timeout: 245 seconds]
kolaman has quit [Ping timeout: 256 seconds]
fphilipe_ has quit [Ping timeout: 258 seconds]
deepredsky has quit [Ping timeout: 268 seconds]
fphilipe_ has joined #ruby
deathwishdave has joined #ruby
queip has joined #ruby
Rabautius has joined #ruby
kliq has quit [Read error: Connection reset by peer]
kliq has joined #ruby
fphilipe_ has quit [Ping timeout: 252 seconds]
andikr has joined #ruby
fphilipe_ has joined #ruby
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fphilipe_ has quit [Ping timeout: 258 seconds]
deepredsky has joined #ruby
zapata has quit [Ping timeout: 258 seconds]
AJA4350 has joined #ruby
deepredsky has quit [Ping timeout: 268 seconds]
zapata has joined #ruby
conta has quit [Ping timeout: 258 seconds]
deathwishdave has joined #ruby
ramfjord has joined #ruby
Swyper has joined #ruby
tranch has quit [Quit: tranch]
ramfjord has quit [Ping timeout: 272 seconds]
tranch has joined #ruby
tsrt^ has quit []
spiette_ has quit [Ping timeout: 272 seconds]
deepredsky has joined #ruby
mayurvpatil_ has quit [Quit: This computer has gone to sleep]
_joes_ has quit [Ping timeout: 268 seconds]
mayurvpatil_ has joined #ruby
ur5us has quit [Remote host closed the connection]
conta has joined #ruby
mayurvpatil_ has quit [Quit: This computer has gone to sleep]
mayurvpatil_ has joined #ruby
kliq has quit [Ping timeout: 272 seconds]
tranch has quit [Quit: tranch]
tdy1 has quit [Ping timeout: 268 seconds]
tranch has joined #ruby
Swyper has quit [Remote host closed the connection]
AJA4350 has quit [Ping timeout: 268 seconds]
fphilipe_ has joined #ruby
mayurvpatil_ has quit [Quit: This computer has gone to sleep]
nowhere_man has joined #ruby
Jonopoly has quit [Quit: WeeChat 2.4]
nowhere_man has quit [Ping timeout: 268 seconds]
AJA4350 has joined #ruby
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
jinie has joined #ruby
solars has joined #ruby
queip has quit [Ping timeout: 244 seconds]
haxx0r has quit [Remote host closed the connection]
mayurvpatil_ has joined #ruby
queip has joined #ruby
Jonopoly has joined #ruby
nowhere_man has joined #ruby
crankharder has joined #ruby
nowhere_man has quit [Ping timeout: 258 seconds]
_joes_ has joined #ruby
tranch has quit [Quit: tranch]
ramfjord has joined #ruby
esrse has quit [Ping timeout: 246 seconds]
_joes_ has quit [Ping timeout: 245 seconds]
ramfjord has quit [Ping timeout: 246 seconds]
conta has quit [Ping timeout: 248 seconds]
nowhere_man has joined #ruby
ellcs1 has quit [Remote host closed the connection]
nowhere_man has quit [Ping timeout: 268 seconds]
ellcs has joined #ruby
gingitsune has quit [Quit: Page closed]
conta has joined #ruby
Cthulu201 has quit [Ping timeout: 258 seconds]
iffraff has quit [Ping timeout: 248 seconds]
mayurvpatil_ has quit [Quit: This computer has gone to sleep]
deepredsky has quit [Ping timeout: 258 seconds]
lxsameer has quit [Ping timeout: 244 seconds]
mayurvpatil has joined #ruby
stryek has joined #ruby
matchaw has joined #ruby
codefriar has joined #ruby
mayurvpatil_ has joined #ruby
mayurvpatil has quit [Ping timeout: 245 seconds]
axyjo has joined #ruby
axyjo has quit [Changing host]
axyjo has joined #ruby
Cthulu201 has joined #ruby
matchaw has quit [Remote host closed the connection]
matchaw has joined #ruby
spiette has joined #ruby
cek has joined #ruby
<cek> is there a shorthand for {a: a, b:b } in newer ruby versions?
axyjo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Inline has joined #ruby
matchaw has quit [Remote host closed the connection]
mayurvpatil_ has quit [Ping timeout: 246 seconds]
matchaw has joined #ruby
aupadhye has quit [Remote host closed the connection]
lxsameer has joined #ruby
cisco has joined #ruby
matchaw has quit [Remote host closed the connection]
matchaw has joined #ruby
vondruch_ has joined #ruby
Rapture has joined #ruby
vondruch has quit [Ping timeout: 245 seconds]
vondruch_ is now known as vondruch
misaki_m has joined #ruby
conta has quit [Ping timeout: 268 seconds]
axyjo has joined #ruby
axyjo has quit [Client Quit]
fluxAeon has joined #ruby
lucasb has joined #ruby
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kent\n has quit [Ping timeout: 258 seconds]
bogn has joined #ruby
misaki_m has quit [Quit: Mutter: www.mutterirc.com]
axyjo has joined #ruby
dhollin3 is now known as dhollinger
SolarAquarion has quit [Ping timeout: 258 seconds]
dviola has joined #ruby
jeremycw has joined #ruby
matheusmoreira has quit [Ping timeout: 246 seconds]
kent\n has joined #ruby
matheusmoreira has joined #ruby
rubydoc has quit [Ping timeout: 245 seconds]
axyjo has quit [Client Quit]
mniip has quit [Ping timeout: 633 seconds]
axyjo has joined #ruby
Esa_ has joined #ruby
renich has quit [Ping timeout: 248 seconds]
renich_ has joined #ruby
renich_ is now known as renich
deathwishdave has joined #ruby
axyjo has quit [Client Quit]
haxx0r has joined #ruby
queip has quit [Ping timeout: 248 seconds]
<NL3limin4t0r> cek: No. Assuming you mean like JavaScript `{ a, b }`
<cek> yeah, it's strange js managed to be up to date on dev requests
maryo has joined #ruby
conta has joined #ruby
<NL3limin4t0r> Imo they still miss a lot of features. Like zipping arrays together or having a decent group_by/unique methods.
<NL3limin4t0r> But it's getting better each update.
queip has joined #ruby
conta has quit [Quit: conta]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
matchaw has quit [Ping timeout: 268 seconds]
cow[moo] has joined #ruby
TomyWork has quit [Ping timeout: 246 seconds]
fphilipe_ has quit [Ping timeout: 252 seconds]
schne1der has quit [Ping timeout: 268 seconds]
dviola has quit [Quit: WeeChat 2.5]
cschne___ has quit [Remote host closed the connection]
fphilipe_ has joined #ruby
fphilipe_ has quit [Ping timeout: 258 seconds]
fphilipe_ has joined #ruby
NL3limin4t0r is now known as NL3limin4t0r_afk
r29v has joined #ruby
charon77 has joined #ruby
fphilipe_ has quit [Ping timeout: 250 seconds]
r29v has quit [Quit: r29v]
charon77 has quit [Client Quit]
GodFather has joined #ruby
r29v has joined #ruby
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schne1der has joined #ruby
deathwishdave has joined #ruby
dviola has joined #ruby
cisco has quit [Ping timeout: 246 seconds]
maryo has quit [Remote host closed the connection]
maryo has joined #ruby
queip has quit [Ping timeout: 245 seconds]
cthulchu_ has joined #ruby
Jonopoly has quit [Quit: WeeChat 2.4]
queip has joined #ruby
rippa has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
r29v has quit [Ping timeout: 245 seconds]
tewlz has joined #ruby
tewlz has quit [Client Quit]
crankharder has quit [Ping timeout: 272 seconds]
matchaw has joined #ruby
matchaw_ has joined #ruby
mfb2 has joined #ruby
mfb2 has quit [Client Quit]
matchaw has quit [Ping timeout: 268 seconds]
maryo has quit [Ping timeout: 268 seconds]
AJA4351 has joined #ruby
andikr has quit [Remote host closed the connection]
AJA4350 has quit [Ping timeout: 248 seconds]
AJA4351 is now known as AJA4350
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ruby
Iarfen has joined #ruby
d10n-work has joined #ruby
duderonomy has joined #ruby
cschneid has joined #ruby
m17 has quit [Changing host]
m17 has joined #ruby
cschneid has quit [Ping timeout: 248 seconds]
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
crankharder has joined #ruby
maryo has joined #ruby
maryo has quit [Client Quit]
lucasb has quit [Quit: Connection closed for inactivity]
matchaw_ has quit [Ping timeout: 244 seconds]
queip has quit [Ping timeout: 244 seconds]
sameerynho has joined #ruby
queip has joined #ruby
fphilipe_ has joined #ruby
nowhere_man has joined #ruby
fphilipe_ has quit [Ping timeout: 258 seconds]
deepredsky has joined #ruby
brool has joined #ruby
reber has joined #ruby
nowhere_man has quit [Ping timeout: 258 seconds]
d^sh has quit [Ping timeout: 245 seconds]
kent\n has quit [Ping timeout: 246 seconds]
themsay has quit [Ping timeout: 245 seconds]
d^sh has joined #ruby
bogn has quit [Ping timeout: 244 seconds]
themsay has joined #ruby
kent\n has joined #ruby
r29v has joined #ruby
SeepingN has joined #ruby
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ruby
leftylink has quit [Ping timeout: 272 seconds]
leftylink has joined #ruby
solars has quit [Quit: Connection closed for inactivity]
ramfjord has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
reber has quit [Remote host closed the connection]
gix has joined #ruby
duckpuppy has quit [Quit: ZNC 1.7.2 - https://znc.in]
duckpuppy has joined #ruby
queip has quit [Ping timeout: 268 seconds]
Joufflu has joined #ruby
queip has joined #ruby
nolanv has quit [Ping timeout: 245 seconds]
d^sh has quit [Ping timeout: 258 seconds]
d^sh has joined #ruby
rippa has quit [Ping timeout: 244 seconds]
rippa has joined #ruby
tdy1 has joined #ruby
maryo has joined #ruby
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
matchaw_ has joined #ruby
code_zombie has joined #ruby
jinie has joined #ruby
<ule> The same way if we do: a = nil || 'foo', how would you do: a = [] || 'foo' ?
<ule> Assiming that sometimes [] is actually populated, and in this case, it shouldn't assume the default value 'foo'
matchaw_ has quit [Ping timeout: 245 seconds]
jinie has quit [Client Quit]
<ule> nvm, just did a ternary if with conditional to solve the issue here
rokra has quit [Ping timeout: 245 seconds]
jinie has joined #ruby
sezuan has quit [Quit: ____]
fphilipe_ has joined #ruby
deepreds1 has joined #ruby
<ytti> i woudl have probaly just done
<ytti> a = ary
<ytti> a = 'foo' if a.empty?
<ytti> but minor detail
deepredsky has quit [Ping timeout: 258 seconds]
<ytti> but if example was realistic, it may not be good idea to have same variable array or string depending on situation
maryo has quit [Ping timeout: 246 seconds]
fphilipe_ has quit [Ping timeout: 252 seconds]
vjacob has joined #ruby
queip has quit [Ping timeout: 246 seconds]
queip has joined #ruby
cisco has joined #ruby
cisco is now known as Guest15014
r29v has quit [Quit: r29v]
Joufflu has quit [Quit: Leaving]
ozzloy has quit [Quit: leaving]
haxx0r has quit [Quit: Ping timeout (120 seconds)]
RickyAtRigor has joined #ruby
ozzloy has joined #ruby
ozzloy has joined #ruby
ozzloy has quit [Changing host]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
haxx0r has joined #ruby
queip has quit [Ping timeout: 245 seconds]
cschneid_ has joined #ruby
tjarvis has joined #ruby
cschneid_ has quit [Ping timeout: 268 seconds]
nolanv has joined #ruby
tjarvis has quit [Quit: WeeChat 2.5]
queip has joined #ruby
Rabautius has quit [Read error: Connection reset by peer]
teej has joined #ruby
tjarvis has joined #ruby
tjarvis has quit [Client Quit]
tjarvis has joined #ruby
tjarvis has quit [Client Quit]
jinie has quit [Ping timeout: 244 seconds]
jinie has joined #ruby
r29v has joined #ruby
dviola has quit [Quit: WeeChat 2.5]
jinie_ has joined #ruby
jinie has quit [Ping timeout: 272 seconds]
rokra has joined #ruby
cek has quit [Quit: Connection closed for inactivity]
sezuan has joined #ruby
renich has quit [Ping timeout: 248 seconds]
dellavg_ has quit [Ping timeout: 258 seconds]
queip has quit [Ping timeout: 244 seconds]
houhoulis has joined #ruby
ua has quit [Ping timeout: 272 seconds]
codefriar has quit [Ping timeout: 244 seconds]
queip has joined #ruby
ua has joined #ruby
vjacob has quit [Ping timeout: 272 seconds]
fphilipe_ has joined #ruby
cthulchu_ has quit [Ping timeout: 268 seconds]
fphilipe_ has quit [Ping timeout: 252 seconds]
ellcs1 has joined #ruby
Esa has joined #ruby
Esa_ has quit [Ping timeout: 245 seconds]
vjacob has joined #ruby
sameerynho has quit [Ping timeout: 246 seconds]
themsay has quit [Ping timeout: 272 seconds]
themsay has joined #ruby
ur5us has joined #ruby
r29v has quit [Quit: r29v]
brool has quit [Quit: WeeChat 2.4]
schne1der has quit [Ping timeout: 245 seconds]
violentE has joined #ruby
Iarfen has quit [Remote host closed the connection]
r29v has joined #ruby
exmortus has joined #ruby
queip has quit [Ping timeout: 268 seconds]
staticx has quit [Ping timeout: 245 seconds]
schne1der has joined #ruby
r29v has quit [Ping timeout: 272 seconds]
deathwishdave has joined #ruby
Guest15014 has quit [Ping timeout: 248 seconds]
queip has joined #ruby
jeremycw has quit [Ping timeout: 244 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 268 seconds]
AJA4351 is now known as AJA4350
nowhere_man has joined #ruby
deathwishdave has quit [Quit: Textual IRC Client: www.textualapp.com]
phaul has quit [Ping timeout: 245 seconds]
nowhere_man has quit [Ping timeout: 258 seconds]
Esa has quit []
vondruch has quit [Ping timeout: 245 seconds]
r29v has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
phaul has joined #ruby
ellcs1 has quit [Ping timeout: 250 seconds]
r29v has quit [Ping timeout: 245 seconds]
ramfjord has joined #ruby
nowhere_man has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
lxsameer has quit [Ping timeout: 268 seconds]
AndBobsYourUncle has quit [Ping timeout: 245 seconds]
cschneid_ has joined #ruby
mynameisdebian has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
AJA4351 is now known as AJA4350
stryek has quit [Quit: Connection closed for inactivity]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ricekrispie2 has quit [Read error: Connection reset by peer]
<mynameisdebian> I am trying to set up unfurls for a Slack app. To do so I POST to the unfurl API endpoint. I am following the "Pure JSON Example" at https://api.slack.com/docs/message-link-unfurling#unfurls_parameter . My code is at https://dpaste.de/spra . My JSON that I am passing into the function is '{"channel":"CKKF5EV1D","ts":"1560985906.010200","unfurls":{"https://app.diffbot.com":{"text":"output_from_kg_call"}}}' . When I submit my request I get
<mynameisdebian> Net::HTTPBadRequest . Can anyone tell me the correct way to form this request, with net/http or another library?
ricekrispie has joined #ruby
cschneid_ has quit [Remote host closed the connection]
crankharder has quit [Ping timeout: 245 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
crankharder has joined #ruby
cisco has joined #ruby
cisco is now known as Guest21977
<leftylink> mynameisdebian: in total ignorance because I have no experience with slack api, is it at all possible that https://ruby-doc.org/stdlib-2.6.3/libdoc/net/http/rdoc/Net/HTTP.html#method-i-use_ssl-3D is needed? to set it to true
ricekrispie has quit [Read error: Connection reset by peer]
<mynameisdebian> leftylink: I really appreciate the reply, let me look into that
schne1der has quit [Ping timeout: 248 seconds]
cschneid_ has joined #ruby
fphilipe_ has joined #ruby
ellcs1 has joined #ruby
<mynameisdebian> leftylink: THANKS!
<leftylink> oh, was tha tit?
cschneid_ has quit [Ping timeout: 245 seconds]
fphilipe_ has quit [Ping timeout: 252 seconds]
cschneid_ has joined #ruby
mynameisdebian has quit [Ping timeout: 245 seconds]