havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.0, 2.7.2, 2.6.6: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.org | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | BLM <3
orien has quit [Ping timeout: 256 seconds]
fuzzface has quit [Quit: Leaving]
orien has joined #ruby
JohanP has joined #ruby
fippy_ has quit [Ping timeout: 260 seconds]
JohanP has quit [Ping timeout: 260 seconds]
JohanP has joined #ruby
JohanP has quit [Ping timeout: 265 seconds]
keyvan has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
keyvan has joined #ruby
orien has quit [Ping timeout: 256 seconds]
_whitelogger has joined #ruby
JohanP has joined #ruby
burgestrand has quit [Quit: burgestrand]
JohanP has quit [Ping timeout: 268 seconds]
hiroaki_ has joined #ruby
hiroaki has quit [Ping timeout: 260 seconds]
Technodrome has joined #ruby
prion has quit [Ping timeout: 260 seconds]
JohanP has joined #ruby
JohanP has quit [Ping timeout: 260 seconds]
swaggboi has quit [Ping timeout: 260 seconds]
Swyper has quit [Remote host closed the connection]
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
JohanP has joined #ruby
swaggboi has joined #ruby
LtHummus has quit [Quit: ZNC 1.8.2 - https://znc.in]
LtHummus has joined #ruby
JohanP has quit [Ping timeout: 246 seconds]
dfucci has joined #ruby
braincrash has quit [Ping timeout: 256 seconds]
siaw23 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
dfucci has quit [Ping timeout: 272 seconds]
JohanP has joined #ruby
envex has joined #ruby
JohanP has quit [Ping timeout: 256 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
weaksauce has joined #ruby
JohanP has joined #ruby
DTZUZU has quit [Read error: Connection reset by peer]
ian| has quit [Quit: Exiting]
JohanP has quit [Ping timeout: 240 seconds]
JohanP has joined #ruby
Dreamer3 has joined #ruby
JohanP has quit [Ping timeout: 256 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_whitelogger has joined #ruby
JohanP has joined #ruby
JohanP has quit [Ping timeout: 256 seconds]
elcuervo has joined #ruby
cuerbot has quit [Ping timeout: 240 seconds]
JohanP has joined #ruby
JohanP has quit [Ping timeout: 240 seconds]
dfucci has joined #ruby
_whitelogger has joined #ruby
JohanP has joined #ruby
JohanP has quit [Ping timeout: 268 seconds]
Swyper has joined #ruby
dfucci has quit [Ping timeout: 246 seconds]
JohanP has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
JohanP has quit [Ping timeout: 240 seconds]
Swyper has quit [Remote host closed the connection]
JohanP has joined #ruby
blackmesa has joined #ruby
JohanP has quit [Ping timeout: 265 seconds]
blackmesa has quit [Ping timeout: 258 seconds]
prion has joined #ruby
JohanP has joined #ruby
JohanP has quit [Ping timeout: 240 seconds]
eli___ has joined #ruby
JohanP has joined #ruby
eli___ has quit [Client Quit]
fanta1 has joined #ruby
adu has joined #ruby
JohanP has quit [Ping timeout: 264 seconds]
rf` has joined #ruby
rf` has quit [Client Quit]
JohanP has joined #ruby
envex has quit [Ping timeout: 264 seconds]
JohanP has quit [Ping timeout: 260 seconds]
JohanP has joined #ruby
prion has quit [Ping timeout: 246 seconds]
JohanP has quit [Ping timeout: 240 seconds]
adu has quit [Quit: adu]
ChmEarl has quit [Quit: Leaving]
JohanP has joined #ruby
gavlee has joined #ruby
JohanP has quit [Ping timeout: 260 seconds]
dfucci has joined #ruby
dfucci has quit [Ping timeout: 272 seconds]
siaw23 has joined #ruby
JohanP has joined #ruby
JohanP has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
adu has joined #ruby
JohanP has joined #ruby
adu has quit [Quit: adu]
JohanP has quit [Ping timeout: 272 seconds]
kent\n has quit [Remote host closed the connection]
JohanP has joined #ruby
kent\n has joined #ruby
JohanP has quit [Ping timeout: 264 seconds]
burgestrand has joined #ruby
burgestrand has quit [Client Quit]
JohanP has joined #ruby
JohanP has quit [Remote host closed the connection]
JohanP has joined #ruby
burgestrand has joined #ruby
burgestrand has quit [Client Quit]
JohanP has quit [Remote host closed the connection]
JohanP has joined #ruby
dfucci has joined #ruby
dfucci has quit [Ping timeout: 240 seconds]
Rudd0 has quit [Ping timeout: 246 seconds]
Swyper has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
Swyper has quit [Ping timeout: 268 seconds]
burgestrand has joined #ruby
prion has joined #ruby
burgestrand has quit [Quit: burgestrand]
blackmesa has joined #ruby
burgestrand has joined #ruby
burgestrand has quit [Quit: burgestrand]
dfucci has joined #ruby
burgestrand has joined #ruby
prion has quit [Ping timeout: 265 seconds]
dfucci has quit [Ping timeout: 260 seconds]
linuus[m] has quit [Quit: Idle for 30+ days]
TzilTzal has joined #ruby
cd has quit [Quit: cd]
braincrash has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
_whitelogger has joined #ruby
burgestrand has quit [Quit: burgestrand]
TCZ has joined #ruby
TzilTzal has quit [Remote host closed the connection]
TzilTzal has joined #ruby
dionysus69 has joined #ruby
jeromelanteri has joined #ruby
<dionysus69> URI.escape: Ruby 3.0 - NoMethodError: undefined method `escape' for URI:Module
TzilTzal has quit [Remote host closed the connection]
TzilTzal has joined #ruby
ua has quit [Ping timeout: 260 seconds]
coniptor has quit [Ping timeout: 246 seconds]
Rudd0 has joined #ruby
ua has joined #ruby
JohanP has quit [Ping timeout: 272 seconds]
JohanP has joined #ruby
coniptor has joined #ruby
TzilTzal has quit [Remote host closed the connection]
TzilTzal has joined #ruby
TCZ has quit [Quit: Wawel - Czujesz sie dobrze, czynisz dobrze]
TzilTzal has quit [Remote host closed the connection]
<dionysus69> replaced by encode_www_form_component if anyone cares :P
TzilTzal has joined #ruby
Swyper has joined #ruby
naftilos76 has joined #ruby
TzilTzal has quit [Client Quit]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
dfucci has joined #ruby
Swyper has quit [Ping timeout: 260 seconds]
dfucci_ has joined #ruby
dfucci has quit [Ping timeout: 256 seconds]
dfucci has joined #ruby
dfucci_ has quit [Ping timeout: 264 seconds]
hiroaki_ has quit [Ping timeout: 265 seconds]
dfucci_ has joined #ruby
dfucci has quit [Ping timeout: 256 seconds]
hiroaki_ has joined #ruby
dfucci has joined #ruby
dfucci_ has quit [Ping timeout: 265 seconds]
dfucci_ has joined #ruby
prion has joined #ruby
dfucci has quit [Ping timeout: 260 seconds]
dfucci has joined #ruby
JohanP has quit [Ping timeout: 256 seconds]
dfucci_ has quit [Ping timeout: 260 seconds]
JohanP has joined #ruby
dfucci_ has joined #ruby
dfucci has quit [Ping timeout: 264 seconds]
JohanP has quit [Ping timeout: 264 seconds]
JohanP has joined #ruby
coniptor has quit [Read error: Connection reset by peer]
Technodrome has joined #ruby
JohanP has quit [Ping timeout: 272 seconds]
dfucci has joined #ruby
dfucci_ has quit [Ping timeout: 264 seconds]
dfucci_ has joined #ruby
<dionysus69> is this frozen_string_literal: true still required for ruby 3.0 ? I thought this would be a default behavior and thus I wouldn't have to append files with these?
dfucci has quit [Ping timeout: 272 seconds]
JohanP has joined #ruby
dfucci_ has quit [Ping timeout: 246 seconds]
dfucci has joined #ruby
coniptor has joined #ruby
JohanP has quit [Ping timeout: 240 seconds]
prion has quit [Ping timeout: 246 seconds]
JohanP has joined #ruby
fandre1986 has joined #ruby
JohanP has quit [Remote host closed the connection]
JohanP has joined #ruby
prion has joined #ruby
alex554 has joined #ruby
dfucci_ has joined #ruby
blackmesa has joined #ruby
dfucci has quit [Ping timeout: 246 seconds]
s_ has quit [Remote host closed the connection]
JohanP has quit [Ping timeout: 240 seconds]
s_ has joined #ruby
umjisus has quit [Ping timeout: 260 seconds]
dfucci has joined #ruby
kristian_on_linu has joined #ruby
dfucci_ has quit [Ping timeout: 256 seconds]
burgestrand has joined #ruby
JohanP has joined #ruby
umjisus has joined #ruby
dfucci_ has joined #ruby
Swyper has joined #ruby
dfucci has quit [Ping timeout: 260 seconds]
dfucci has joined #ruby
Swyper has quit [Remote host closed the connection]
dfucci_ has quit [Ping timeout: 240 seconds]
SpyEye has joined #ruby
<SpyEye> is ruby safe?
cd has joined #ruby
dfucci has quit [Ping timeout: 256 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
<markong> I just had a deja-vù
<SpyEye> about what
<SpyEye> i think ruby might not be as secure as reactjs.
<surrounder> SpyEye: hi troll, different channel each day huh
<burgestrand> if you have rubies, you usually have them in a safe
<burgestrand> therefore ruby is safe
Swyper has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
CrazyEdd_ is now known as CrazEd
<SpyEye> im not a troll.
<SpyEye> just askin leg1t quest
CrazEd is now known as Guest9673
dfucci has joined #ruby
burgestrand has quit [Quit: burgestrand]
coniptor has quit [Ping timeout: 246 seconds]
dfucci has quit [Ping timeout: 260 seconds]
dfucci has joined #ruby
SpyEye has left #ruby ["Leaving"]
<ruurd> SpyEye why would you want to know?
coniptor has joined #ruby
fandre1986 has quit [Quit: Connection closed]
blackmesa has joined #ruby
blackmesa1 has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
Rizwan has joined #ruby
<Rizwan> Hi everyone, I am Riz
<Rizwan> I am really struggling to figure out why `rubocop -v` doesn't work on my machine. If anyone could help me that would be amazing
prion has quit [Ping timeout: 264 seconds]
wald0 has joined #ruby
wald0 has quit [Client Quit]
Guest9673 is now known as CrazEd
CrazEd is now known as Guest11553
Swyper has quit [Remote host closed the connection]
somazero has joined #ruby
coniptor has quit [Ping timeout: 260 seconds]
somazero has quit [Quit: Leaving]
<dionysus69> run: which rubocop
coniptor has joined #ruby
somazero has joined #ruby
dfucci has quit [Ping timeout: 240 seconds]
Rizwan has quit [Remote host closed the connection]
kristian_on_linu has quit [Remote host closed the connection]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
FastJack has quit [Ping timeout: 240 seconds]
wald0 has joined #ruby
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
naftilos76 has quit [Quit: Leaving]
FastJack has joined #ruby
FastJack has quit [Ping timeout: 260 seconds]
FastJack has joined #ruby
gray-_-wolf has joined #ruby
<adam12> dionysus69: frozen string literal: true never became default since Matz didn't want to break backwards compatibility.
<adam12> dionysus69: There's a command line flag that you can set (either manually or using RUBYOPTS) which will enable it globally, but this affects gems too so beware.
<dionysus69> adam12: ok, makes sense :) I just used rubocop autocorrect to add it to everything
<adam12> dionysus69: Be nice if you could set it by path.
<adam12> dionysus69: yep that works.
cuerbot has joined #ruby
elcuervo has quit [Ping timeout: 260 seconds]
FastJack has quit [Ping timeout: 240 seconds]
FastJack has joined #ruby
prion has joined #ruby
coniptor has quit [Ping timeout: 264 seconds]
weaksauce has quit [Ping timeout: 256 seconds]
coniptor has joined #ruby
blackmesa1 has quit [Ping timeout: 260 seconds]
blackmesa1 has joined #ruby
blackmesa1 has quit [Ping timeout: 268 seconds]
harlin has joined #ruby
SpyEye has joined #ruby
<SpyEye> is ruby safe?
FastJack has quit [Ping timeout: 260 seconds]
SpyEye has left #ruby ["Leaving"]
cloud69 has joined #ruby
dfucci has joined #ruby
blackmesa1 has joined #ruby
<prion> how much has ruby changed since 1.9/2.0 when the pickaxe book 4th edition came out
<prion> it seems like all of the popular ruby books are old
blackmesa1 has quit [Ping timeout: 260 seconds]
<adam12> prion: There's new functionality but a lot of the syntax is the same.
dfucci has quit [Ping timeout: 240 seconds]
blackmesa1 has joined #ruby
coniptor has quit [Read error: Connection reset by peer]
fuzzface has joined #ruby
dfucci has joined #ruby
ChmEarl has joined #ruby
dfucci has quit [Ping timeout: 264 seconds]
coniptor has joined #ruby
jjong has joined #ruby
FastJack has joined #ruby
al2o3-cr has joined #ruby
harlin has quit [Quit: Leaving]
rocko has joined #ruby
<rocko> hi there
<rocko> whats a good book to learn ruby??
<rocko> I know perl and a little C
prion has quit [Ping timeout: 264 seconds]
cow[moo] has joined #ruby
pwnd_sfw has quit [Ping timeout: 246 seconds]
fuzzface has quit [Quit: Leaving]
JohanP has quit [Remote host closed the connection]
ur5us has joined #ruby
JohanP has joined #ruby
<havenwood> rocko: hey
<havenwood> rocko: Here are some tidbits to get started, if you haven't seen them:
<havenwood> rocko: Here's a list of books: https://goo.gl/wpGhoQ
stonerl has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<havenwood> rocko: Ruby Under a Microscope is super interesting, if you're interested in the reference Ruby implementation.
moldorcoder7 has quit [Ping timeout: 246 seconds]
<havenwood> rocko: Very basic walkthrough here: https://try.ruby-lang.org/
Emmanuel_Chanel has quit [Read error: No route to host]
JohanP has quit [Ping timeout: 272 seconds]
moldorcoder7 has joined #ruby
JohanP has joined #ruby
<rocko> thanks ill check those out
moldorcoder7 has quit [Ping timeout: 272 seconds]
Emmanuel_Chanel has joined #ruby
JohanP has quit [Ping timeout: 260 seconds]
JohanP has joined #ruby
alextee has joined #ruby
<alextee> hi, can someone help me understand this syntax used in rails?
<alextee> get '/', :to => 'top#index'
<alextee> is "get" a function here and those 2 parameters?
moldorcoder7 has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Emmanuel_Chanel has quit [Read error: No route to host]
JohanP has quit [Ping timeout: 256 seconds]
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
JohanP has joined #ruby
cow[moo] has joined #ruby
Emmanuel_Chanel has joined #ruby
bvdw has joined #ruby
coniptor has quit [Ping timeout: 246 seconds]
JohanP has quit [Ping timeout: 260 seconds]
Emmanuel_Chanel has quit [Read error: No route to host]
JohanP has joined #ruby
JohanP has quit [Remote host closed the connection]
JohanP has joined #ruby
coniptor has joined #ruby
rocko has quit [Quit: WeeChat 3.0]
pwnd_sfw has joined #ruby
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
bvdw has joined #ruby
dfucci has joined #ruby
JohanP has quit [Ping timeout: 265 seconds]
<havenwood> alextee: Yeah, #get is a method.
duckpupp- has joined #ruby
<havenwood> alextee: Then there are two parameters, the first is `'/'` and the second is `{to: 'top#index'}`.
duckpuppy has quit [Ping timeout: 260 seconds]
dfucci has quit [Ping timeout: 256 seconds]
<alextee> havenwood, that's what I thought but then why is this giving me a syntax error?
<alextee> get ('/', { to: 'top#index' })
JohanP has joined #ruby
<alextee> I'm looking at this which suggests that this is some kind of magic DSL and not actual ruby syntax: https://weblog.jamisbuck.org/2006/10/2/under-the-hood-rails-routing-dsl.html
JohanP has quit [Ping timeout: 246 seconds]
<phaul> space between get and (. it parses differently from "get("
<havenwood> alextee: You can omit the parens but if you use the they need to be snug, like phaul notes.
<alextee> ah oops, TIL. thanks!
<havenwood> alextee: get '/', to: 'top#index'
<havenwood> alextee: get('/', to: 'top#index')
<alextee> that worked, thanks!
<phaul> fyi it tried to parse the expression in () as such and pass the result to get. which prly result in errors
<phaul> which is the gist of how f (1) is good, f(1,2) is good but f (1, 2) is syntax error, as (1, 2) is not a valid expression
JohanP has joined #ruby
JohanP has quit [Remote host closed the connection]
JohanP` has joined #ruby
Emmanuel_Chanel has joined #ruby
Furai has quit [Quit: WeeChat 3.0]
JohanP` has quit [Remote host closed the connection]
Furai has joined #ruby
JohanP` has joined #ruby
dfucci has joined #ruby
coniptor has quit [Ping timeout: 260 seconds]
fanta1 has quit [Quit: fanta1]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Furai has quit [Quit: WeeChat 3.0]
Furai has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
coniptor has joined #ruby
JohanP` has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
JohanP has joined #ruby
blackmesa1 has quit [Ping timeout: 260 seconds]
GodFather has quit [Ping timeout: 240 seconds]
GodFather_ has quit [Ping timeout: 260 seconds]
coniptor has quit [Ping timeout: 268 seconds]
ur5us has quit [Ping timeout: 264 seconds]
dfucci_ has joined #ruby
Furai has quit [Quit: WeeChat 3.0]
Furai has joined #ruby
Furai has quit [Client Quit]
Furai has joined #ruby
dfucci has quit [Ping timeout: 260 seconds]
coniptor has joined #ruby
Furai has quit [Client Quit]
Furai has joined #ruby
Furai has quit [Client Quit]
Furai has joined #ruby
weaksauce has joined #ruby
somazero has quit [Remote host closed the connection]
somazero has joined #ruby
blackmesa1 has joined #ruby
aphel has quit [Read error: Connection reset by peer]
d0liver has quit [Read error: Connection reset by peer]
proc has quit [Ping timeout: 260 seconds]
fowl has quit [Ping timeout: 260 seconds]
nickb has quit [Ping timeout: 264 seconds]
d0liver has joined #ruby
aphel has joined #ruby
proc has joined #ruby
kwilczynski has quit [Ping timeout: 260 seconds]
nickb has joined #ruby
fowl has joined #ruby
kwilczynski has joined #ruby
bambanx has joined #ruby
blackmesa1 has quit [Ping timeout: 260 seconds]
JohanP has quit [Remote host closed the connection]
JohanP has joined #ruby
iNs_ has quit [Read error: Connection reset by peer]
iNs has joined #ruby
prion has joined #ruby
iNs has quit [Remote host closed the connection]
iNs has joined #ruby
coniptor has quit [Ping timeout: 246 seconds]
dfucci has joined #ruby
dfucci_ has quit [Ping timeout: 256 seconds]
ur5us has joined #ruby
coniptor has joined #ruby
JohanP has quit [Ping timeout: 240 seconds]
duderonomy has joined #ruby
JohanP has joined #ruby
dfucci has quit [Ping timeout: 264 seconds]
siaw23 has quit [Quit: Textual IRC Client: www.textualapp.com]
JohanP has quit [Ping timeout: 256 seconds]
burgestrand has joined #ruby
dfucci has joined #ruby
emdev has joined #ruby
emdev has quit [Max SendQ exceeded]
mroulston has joined #ruby
mroulston has quit [Client Quit]
dfucci_ has joined #ruby
dfucci has quit [Ping timeout: 240 seconds]
pwnd_sfw has quit [Ping timeout: 260 seconds]
dfucci_ has quit [Ping timeout: 246 seconds]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
blackmesa1 has joined #ruby
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
dfucci has joined #ruby
ur5us_ has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
somazero has quit [Remote host closed the connection]
burgestrand has quit [Quit: burgestrand]
dfucci has quit [Ping timeout: 264 seconds]
dfucci has joined #ruby
Fire-Dragon-DoL has quit [Quit: Quit]
weaksauce has joined #ruby
dfucci has quit [Ping timeout: 272 seconds]
dfucci has joined #ruby
Technodrome has joined #ruby
ur5us_ has quit [Ping timeout: 260 seconds]
blackmesa1 has quit [Ping timeout: 268 seconds]
dfucci has quit [Ping timeout: 260 seconds]
coniptor has quit [Ping timeout: 256 seconds]
braincrash has quit [Ping timeout: 240 seconds]
JohanP has joined #ruby