jhass[m] changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.2, 3.0.4, 2.7.6: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
fercell has joined #ruby
markong has quit [Ping timeout: 260 seconds]
fercell has quit [Ping timeout: 248 seconds]
giorgian has joined #ruby
giorgian has quit [Ping timeout: 248 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 252 seconds]
ur5us has quit [Ping timeout: 244 seconds]
fercell has joined #ruby
Al2O3 has quit [Quit: I'm quitting, thanks for all the sharks.]
fercell has quit [Ping timeout: 252 seconds]
Al2O3 has joined #ruby
John_Ivan has quit [Ping timeout: 248 seconds]
fercell has joined #ruby
giorgian has joined #ruby
fercell has quit [Ping timeout: 252 seconds]
giorgian has quit [Ping timeout: 252 seconds]
cocalero has joined #ruby
cocalero has quit [Quit: Going offline, see ya! (www.adiirc.com)]
fercell has joined #ruby
fercell has quit [Ping timeout: 252 seconds]
Vonter has joined #ruby
jhass has quit [Ping timeout: 268 seconds]
jhass has joined #ruby
Linux_Kerio has joined #ruby
giorgian has joined #ruby
giorgian has quit [Ping timeout: 268 seconds]
justJingo has quit [Quit: ZNC 1.8.2 - https://znc.in]
justache has joined #ruby
oxfuxxx has quit [Ping timeout: 252 seconds]
fercell has joined #ruby
fercell has quit [Ping timeout: 248 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 252 seconds]
siomn has quit [Ping timeout: 252 seconds]
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
oxfuxxx has joined #ruby
giorgian has joined #ruby
giorgian has quit [Ping timeout: 244 seconds]
Rounin has joined #ruby
oxfuxxx has quit [Ping timeout: 260 seconds]
reset has quit [Quit: reset]
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
fercell has joined #ruby
fercell has quit [Ping timeout: 252 seconds]
ur5us has joined #ruby
oxfuxxx has joined #ruby
giorgian has joined #ruby
_ht has joined #ruby
oxfuxxx has quit [Ping timeout: 244 seconds]
giorgian has quit [Ping timeout: 248 seconds]
CrazyEddy has joined #ruby
oxfuxxx has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
foxxx0 has quit [Quit: foxxx0]
ollysmith has quit [Quit: ZNC 1.8.2+deb2+b5 - https://znc.in]
foxxx0 has joined #ruby
ollysmith has joined #ruby
oxfuxxx has quit [Ping timeout: 260 seconds]
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
libsys has quit [Ping timeout: 268 seconds]
giorgian has joined #ruby
giorgian has quit [Ping timeout: 252 seconds]
markong has joined #ruby
Successus has joined #ruby
perrierjouet has quit [Quit: WeeChat 3.6]
perrierjouet has joined #ruby
John_Ivan has joined #ruby
giorgian has joined #ruby
protektwar has quit [Ping timeout: 248 seconds]
giorgian has quit [Ping timeout: 268 seconds]
_ht has quit [Quit: _ht]
_ht has joined #ruby
fercell has joined #ruby
oxfuxxx has joined #ruby
fercell has quit [Ping timeout: 252 seconds]
oxfuxxx has quit [Ping timeout: 268 seconds]
marahin has quit [Changing host]
marahin has joined #ruby
giorgian has joined #ruby
giorgian has quit [Ping timeout: 244 seconds]
Sankalp- has joined #ruby
Sankalp has quit [Ping timeout: 244 seconds]
Sankalp- is now known as Sankalp
reset has joined #ruby
oxfuxxx has joined #ruby
oxfuxxx has quit [Read error: Connection reset by peer]
protektwar has joined #ruby
protektwar has joined #ruby
petgoat has quit [Ping timeout: 268 seconds]
eddof13 has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oxfuxxx has joined #ruby
oxfuxxx has quit [Ping timeout: 252 seconds]
giorgian has joined #ruby
jpn has joined #ruby
giorgian has quit [Ping timeout: 268 seconds]
Vonter has quit [Quit: WeeChat 3.6]
perrierjouet has quit [Ping timeout: 244 seconds]
Vonter has joined #ruby
markong has quit [Ping timeout: 268 seconds]
oxfuxxx has joined #ruby
r3m has quit [Quit: WeeChat 3.7-dev]
r3m has joined #ruby
oxfuxxx has quit [Ping timeout: 260 seconds]
protektwar has quit [Ping timeout: 248 seconds]
siomn has joined #ruby
siomn has quit [Remote host closed the connection]
perrierjouet has joined #ruby
giorgian has joined #ruby
giorgian has quit [Ping timeout: 252 seconds]
nirvdrum has joined #ruby
Linux_Kerio has quit [Ping timeout: 268 seconds]
Xeago_ has joined #ruby
Xeago has quit [Ping timeout: 268 seconds]
Xeago_ is now known as Xeago
giorgian has joined #ruby
nirvdrum has quit [Quit: nirvdrum]
oxfuxxx has joined #ruby
libsys has joined #ruby
_ht has quit [Remote host closed the connection]
jpn has quit [Ping timeout: 268 seconds]
cocalero has joined #ruby
Al2O3 has quit [Ping timeout: 244 seconds]
jpn has joined #ruby
<joto> hello, apparantly I need to pass a hash in the newest Ruby version to a method
<joto> so I tried transforming this: transmit(command: "saved", item_id: item.id) into this: transmit({command => "saved", item_id => item.id}) but it seems that it is no valid syntax. Is it even possible to transform it into a valid hash?
Al2O3 has joined #ruby
jpn has quit [Ping timeout: 252 seconds]
jpn has joined #ruby
fercell has joined #ruby
jpn has quit [Ping timeout: 252 seconds]
jpn has joined #ruby
fercell has quit [Ping timeout: 252 seconds]
giorgian has quit [Ping timeout: 260 seconds]
oxfuxxx has quit [Ping timeout: 252 seconds]
henninb has joined #ruby
jpn has quit [Ping timeout: 268 seconds]
oxfuxxx has joined #ruby
giorgian has joined #ruby
markong has joined #ruby
nirvdrum has joined #ruby
<weaksauc_> joto do it with {command: "saved" ...} instead of {command => "saved ...}
<legit> joto: doesn't command need to be a symbol?
<legit> Like, :command => "saved"
<weaksauc_> the shorthand would do that yeah
weaksauc_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<joto> I'm unsure. I dug into the source of the receiving method (ActionCable base.rb...)
<joto> and it is defined like this: def transmit(data, via: nil)
weaksauce has joined #ruby
<joto> and the guiding doc to that method tells "Transmit a hash of data to the subscriber."
<weaksauce> you should use the shorthand but just wrap it in {command: "saved" ... }
desnudopenguino has quit [Ping timeout: 244 seconds]
<weaksauce> but either way works {:command => "saved}
<joto> okay I am going to try it now. It worked well under 2.7 but now in 3.1 it's gone south it seems
<joto> thanks guys. I was missing the symbol part.
<legit> \o/
John_Ivan has quit [Quit: Ghost of the future.]
<joto> o// legit
<joto> weaksauce \\o
<joto> <3 as a noob I'm lucky to find help on irc
<weaksauce> glad you got sorted joto
<weaksauce> sadly discord is taking the steam away from
<weaksauce> irc
<joto> indeed... I'm not fond of the childish interface
<joto> could very well me be me growing old though but IRC is more relax
nirvdrum has quit [Quit: nirvdrum]
jpn has joined #ruby
jpn has quit [Ping timeout: 268 seconds]
dorian_ is now known as dorian
henninb has quit [Quit: leaving]
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
jetchisel has joined #ruby
giorgian has quit [Ping timeout: 252 seconds]
markong has quit [Ping timeout: 248 seconds]
John_Ivan has joined #ruby
ur5us has joined #ruby
nirvdrum has joined #ruby
jetchisel has quit [Ping timeout: 268 seconds]