caedmon has quit [Read error: Connection reset by peer]
caedmon has joined #ruby
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
caedmon has quit [Ping timeout: 272 seconds]
rvalue has quit [Ping timeout: 260 seconds]
rvalue has joined #ruby
caedmon has joined #ruby
aeris has quit [Ping timeout: 255 seconds]
aeris has joined #ruby
caedmon has quit [Ping timeout: 256 seconds]
c10l has quit [Quit: Ping timeout (120 seconds)]
caedmon has joined #ruby
c10l has joined #ruby
caedmon has quit [Ping timeout: 268 seconds]
c10l has quit [Quit: Ping timeout (120 seconds)]
caedmon has joined #ruby
c10l has joined #ruby
Y05hito__ has quit [Ping timeout: 268 seconds]
caedmon has quit [Ping timeout: 272 seconds]
crax23 has joined #ruby
crax23 has quit [Ping timeout: 256 seconds]
c10l has quit [Ping timeout: 256 seconds]
caedmon has joined #ruby
c10l has joined #ruby
caedmon has quit [Quit: caedmon]
caedmon has joined #ruby
cryptkeeper has quit [Quit: Connection closed for inactivity]
caedmon has quit [Quit: caedmon]
caedmon has joined #ruby
caedmon has quit [Ping timeout: 252 seconds]
<introom>
zaben[m]1:back to my yesterday's question, after looking at zeitwerk, so I think given ActionController::Base, it will load file from action_controller/base.rb
ur5us_ has quit [Ping timeout: 256 seconds]
Sankalp has quit [Ping timeout: 255 seconds]
Sankalp has joined #ruby
c10l has quit [Quit: Ping timeout (120 seconds)]
Pixi has quit [Ping timeout: 272 seconds]
c10l has joined #ruby
cryptkeeper has joined #ruby
otisolsen70 has joined #ruby
otisolsen70 has quit [Remote host closed the connection]
otisolsen70 has joined #ruby
c10l has quit [Quit: Ping timeout (120 seconds)]
<zaben[m]1>
introom: that should be where the class is mainly defined (it may have other patches applied in different files/gems) but at least with Zeitwerk all classes will be eager loaded from application start so when ActionController::Base is first called, it will already be required
c10l has joined #ruby
<introom>
zaben[m]1:thanks for that. a further question, how can I know which patches are applied for ActionController::Base
c10l has quit [Quit: Ping timeout (120 seconds)]
c10l has joined #ruby
<henk>
zaben[m]1: yup
<zaben[m]1>
<introom> "zaben:thanks for that. a further..." <- I am not 100% sure, it does looks like there are methods you can use to attempt to track monkey patches apply: https://stackoverflow.com/a/336308
<henk>
ox1eef_, adam12: thanks, yes: rubydoc.info works and gemdocs also has what I was looking for. but my question was actually just about rdoc.info. https://github.com/ueno/ruby-gpgme/ linked to rdoc.info and I was just wondering whether that should be fixed or the site just has a temporary problem.
Pixi has joined #ruby
Michaela has joined #ruby
teclator has joined #ruby
Mikaela has quit [Ping timeout: 255 seconds]
cartdrige has joined #ruby
tomtmym has joined #ruby
tomtmym has joined #ruby
tomtmym has quit [Changing host]
ur5us_ has joined #ruby
willfish has joined #ruby
Michaela has quit [Remote host closed the connection]
FullMetalStacker has quit [Remote host closed the connection]
FullMetalStacker has joined #ruby
<jhass[m]>
We ever left them?
<leftylink>
in fact we never did
<leftylink>
pandabot: what's ruby flags
<pandabot>
rubyflags is: ruby -ple '$_.upcase!' < input.txt; ruby -nle 'BEGIN { i = c = 0 }; c += $_.size; puts "#{i += 1} #$_"; END { p c }' < input.txt
<leftylink>
but I still have to look those up every time I want to use them since I never used perl enough to nkow them
<leftylink>
they're good flags though
<leftylink>
"they're good flags brent"
cartdrige has quit [Quit: Leaving]
hightower2 has joined #ruby
cartdrige has joined #ruby
FullMetalStacker has quit [Remote host closed the connection]
crax23 has joined #ruby
perrierjouet has joined #ruby
cartdrige has quit [Ping timeout: 256 seconds]
FullMetalStacker has joined #ruby
bewersdorff has quit [Quit: Lost terminal]
hightower3 has joined #ruby
hightower2 has quit [Ping timeout: 252 seconds]
FullMetalStacker has quit [Remote host closed the connection]
hightower3 has quit [Remote host closed the connection]
hightower4 has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 265 seconds]
willfish has quit [Ping timeout: 268 seconds]
TomyWork has quit [Remote host closed the connection]
graywolf has joined #ruby
willfish has joined #ruby
stirl has joined #ruby
caedmon has joined #ruby
caedmon has quit [Ping timeout: 252 seconds]
Y05hito__ has joined #ruby
crax23 has quit [Ping timeout: 252 seconds]
cryptkeeper has joined #ruby
caedmon has joined #ruby
crax23 has joined #ruby
Y05hito__ has quit [Read error: Connection reset by peer]
donofrio__ has quit [Ping timeout: 272 seconds]
cahoots has joined #ruby
donofrio has joined #ruby
cahoots has quit [Ping timeout: 252 seconds]
ur5us_ has joined #ruby
_ht has joined #ruby
willfish has quit [Ping timeout: 272 seconds]
hightower2 has joined #ruby
crax23 has quit [Quit: Leaving]
donofrio_ has joined #ruby
donofrio has quit [Ping timeout: 252 seconds]
caedmon has quit [Ping timeout: 272 seconds]
cahoots has joined #ruby
___nick___ has quit [Ping timeout: 272 seconds]
Laplace has quit [Quit: Connection closed for inactivity]
cartdrige has joined #ruby
<cartdrige>
Hi, i'm doing language translations, i got characters out of CHR range, that is: c="Йю"; puts c[0]; <- this one works, however: code = c[0].ord <- returns 1025, which out of chr range, so i cannot do: puts code.chr <- i got the error, how can i print back the extended glyphe from the code?
stirl has quit [Ping timeout: 252 seconds]
<cartdrige>
There must be some encoding method that knows about extended charset for non latin languages, however c[0].class returns String.
<cartdrige>
Or out of ascii table ofc, for polish or spanish and whatnot.
<bhaak>
code.chr(Encoding::UTF_8) works
_ht has quit [Quit: _ht]
<bhaak>
chr apparently uses ASCII as default, so any number bigger than 255
<ox1eef_>
Nice! Today I learnt chr() accepts an encoding.
<cartdrige>
Yes, just found it, thks bhaak. I thought it would be another method.
<cartdrige>
it would have been nice if the chr exception out of range pointed out the Encoding parameter option for extended charsets.
<adam12>
ox1eef_: I had no idea either. What a nice find.
<adam12>
I figured some `\uN` trickery might be necessary...
___nick___ has joined #ruby
<ox1eef_>
Indeed.
<bhaak>
yeah it's somewhat surprising
finsternis has joined #ruby
cartdrige has quit [Ping timeout: 252 seconds]
moldorcoder7_ has joined #ruby
moldorcoder7 has quit [Ping timeout: 256 seconds]
ur5us_ has quit [Read error: Connection reset by peer]
ur5us_ has joined #ruby
tomtmym has quit [Quit: Gone.]
cartdrige has joined #ruby
otisolsen70 has quit [Quit: Leaving]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
mollerup has quit [Remote host closed the connection]