adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.2, 2.7.4, 2.6.8: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
<howdoi> > How many Rails developers does it take to query a database?
<howdoi> `n+1`
sam113102 is now known as sam113101
TCZ has quit [Quit: ...]
<leah2> lol
Guest18 has quit [Ping timeout: 256 seconds]
Rounin has quit [Ping timeout: 252 seconds]
roadie` has joined #ruby
roadie` has quit [Ping timeout: 240 seconds]
hololeap_ has joined #ruby
ur5us has joined #ruby
roadie` has joined #ruby
deadworld has joined #ruby
deadworld has left #ruby [#ruby]
dorian has quit [Remote host closed the connection]
roadie` has quit [Ping timeout: 256 seconds]
hololeap_ is now known as hololeap
Oxfuxxx has quit [Ping timeout: 240 seconds]
Oxfuxxx has joined #ruby
lunarkitty has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
reset has quit [Quit: reset]
sam113101 has quit [Quit: WeeChat 3.2]
sam113101 has joined #ruby
sam113101 has quit [Client Quit]
sam113101 has joined #ruby
Guest18 has joined #ruby
Guest18 has quit [Client Quit]
jetchisel has quit [Ping timeout: 245 seconds]
jetchisel has joined #ruby
jpw has joined #ruby
lunarkitty has quit [Quit: Connection closed for inactivity]
ur5us has quit [Ping timeout: 240 seconds]
kaivai has quit [Quit: ZNC - https://znc.in]
kaivai has joined #ruby
jpw has quit [Remote host closed the connection]
Rounin has joined #ruby
joast has quit [Ping timeout: 240 seconds]
niv has quit [Quit: Powered by LunarBNC: https://LunarBNC.net]
niv has joined #ruby
joast has joined #ruby
fdan has joined #ruby
dachi_ has quit [Remote host closed the connection]
dachi_ has joined #ruby
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
flooose has joined #ruby
jetchisel has joined #ruby
gr33n7007h has joined #ruby
hololeap_ has joined #ruby
hololeap has quit [Ping timeout: 276 seconds]
lad has quit [Ping timeout: 252 seconds]
Ca1us has joined #ruby
Caius has quit [Ping timeout: 272 seconds]
flooose has quit [Ping timeout: 245 seconds]
weaksauce has quit [Ping timeout: 245 seconds]
itok has quit []
itok has joined #ruby
<rapha> c'mon give us a non-rails one, too
AsenMx has joined #ruby
<AsenMx> Hello, does anyone know in Gitlab CI how to make include of template to be a manual job?
dorian has joined #ruby
flooose has joined #ruby
psb has quit []
psb has joined #ruby
flooose has quit [Ping timeout: 256 seconds]
AsenMx has quit [Ping timeout: 240 seconds]
AsenMx has joined #ruby
AsenMx has quit [Remote host closed the connection]
AsenMx has joined #ruby
fdan has quit [Quit: Client closed]
hololeap_ is now known as hololeap
keir has joined #ruby
reset has joined #ruby
Oxfuxxx has quit [Ping timeout: 244 seconds]
gggp has joined #ruby
Oxfuxxx has joined #ruby
flooose has joined #ruby
AsenMx has quit [Ping timeout: 256 seconds]
bit4bit has joined #ruby
teclator has joined #ruby
factor has quit [Ping timeout: 252 seconds]
elf_fortrez has joined #ruby
gggp has quit [Ping timeout: 244 seconds]
Oxfuxxx has quit [Ping timeout: 240 seconds]
Oxfuxxx has joined #ruby
factor has joined #ruby
gggp_ has joined #ruby
Oxfuxxx has quit [Quit: leaving]
elf_fortrez has quit [Ping timeout: 256 seconds]
keir has left #ruby [#ruby]
factor has quit [Read error: Connection reset by peer]
Tempesta has quit [*.net *.split]
Tempesta has joined #ruby
Tempesta has joined #ruby
Tempesta has quit [Changing host]
Tempesta has quit [Excess Flood]
nopcOde has joined #ruby
Tempesta has joined #ruby
Tempesta has quit [Excess Flood]
Tempesta has joined #ruby
Tempesta has quit [Changing host]
Tempesta has joined #ruby
Tempesta has quit [Excess Flood]
Tempesta has joined #ruby
nopc0de_ has quit [Ping timeout: 252 seconds]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
_ht has joined #ruby
Oxfuxxx has joined #ruby
factor has joined #ruby
gr33n7001 has joined #ruby
gr33n7007h has quit [Ping timeout: 245 seconds]
Oxfuxxx has quit [Ping timeout: 244 seconds]
fdan has joined #ruby
Oxfuxxx has joined #ruby
gggp_ has quit [Ping timeout: 244 seconds]
lunarkitty has joined #ruby
jpw has joined #ruby
fdan has quit [Ping timeout: 256 seconds]
mjh has quit [Ping timeout: 252 seconds]
TomyWork has joined #ruby
Oxfuxxx has quit [Ping timeout: 244 seconds]
jpw_ has joined #ruby
jpw has quit [Ping timeout: 252 seconds]
weaksauce has joined #ruby
Oxfuxxx has joined #ruby
jpw_ has quit [Ping timeout: 244 seconds]
flooose has quit [Ping timeout: 252 seconds]
goepsilongo has joined #ruby
jpw has joined #ruby
brw7 has joined #ruby
brw has quit [Read error: Connection reset by peer]
brw7 is now known as brw
hololeap has quit [Ping timeout: 276 seconds]
aeris has quit [Ping timeout: 276 seconds]
aeris has joined #ruby
hololeap has joined #ruby
Fusl has quit [Excess Flood]
Fusl has joined #ruby
TomyWork has quit [Remote host closed the connection]
jpw_ has joined #ruby
jpw has quit [Ping timeout: 244 seconds]
VoidNoir0 has quit [Quit: Connection closed]
ur5us has joined #ruby
gr33n7001 has quit [Ping timeout: 244 seconds]
gr33n7001 has joined #ruby
lunarkitty has quit [Quit: Connection closed for inactivity]
bit4bit has quit [Ping timeout: 252 seconds]
jpw_ has quit [Remote host closed the connection]
_ht has quit [Remote host closed the connection]
<aestheti1> Is there a faster way to get a method to a proc than (&method(:the_method))
<adam12> aestheti1: Like a shorter method? There was 12125 which introduced .: but it was accepted, merged, and then reverted.
<aestheti1> nooo
<aestheti1> i need it
<adam12> aestheti1: Unless this is a method on the receiver (like objects passed through map)
<aestheti1> right
<adam12> aestheti1: In that case, maybe Symbol#to_proc? foobar.map(&:the_method)
<aestheti1> I have just a then (yield_self) chain that calls a bunch of methods with one arguemtn ,woudl eb nice
<adam12> Yes, that should work then. Symbol#to_proc.
<aestheti1> no its just within the class not on the receiver
<aestheti1> so its a case of &method
pgib has joined #ruby
<adam12> >> "foobar".then(&:upcase).then(&:reverse)
<adam12> aestheti1: Oh, in that case, there's no shorthand.
<aestheti1> someone get matz on the phone
<aestheti1> lol
<adam12> O_O
<aestheti1> you could almost implement it yourself, but all the good single symbols are already taken
<adam12> What about numbered arguments. Maybe a decent compromise.
<aestheti1> like def Kernel.% or something
<aestheti1> yeah
<adam12> foo.then { SomeMethod.baz(_1) }.then { SomeMethod.bar(_1) }
<adam12> Gotta run. Good luck.
<aestheti1> peace and thanks
<aestheti1> for those who want to read https://bugs.ruby-lang.org/issues/12125
ur5us has quit [Ping timeout: 240 seconds]
lad has joined #ruby
hololeap has quit [Ping timeout: 276 seconds]
hololeap has joined #ruby
flooose has joined #ruby
hololeap_ has joined #ruby
hololeap has quit [Ping timeout: 276 seconds]
flooose has quit [Ping timeout: 240 seconds]
<adam12> Heres the revert: https://bugs.ruby-lang.org/issues/16275
<adam12> I'm kind of glad that it was reverted. Some parts of Ruby are already so cryptic.
<nakilon> better revert numbered args ..P
<adam12> :P
Skyfire has quit [Quit: WeeChat 3.2]
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
fredlinhares has joined #ruby
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
<newton> I still feel weird about using &.
nopcOde has quit [Ping timeout: 245 seconds]
weaksauce has joined #ruby
fredlinhares has quit [Quit: WeeChat 2.8]
oft_gegong has joined #ruby
<oft_gegong> what is your favorite ruby ability?
<newton> it generates my paycheck
<weaksauce> writing code that generally works the first time
<oft_gegong> I mean like function calls
<newton> what's yours
<oft_gegong> my favorite part of php is file_get_contents. my favorite part of perl is List::shuf. my favorite part of C is printf. my favorite part of ruby is not currently defined.
<weaksauce> map/reduce maybe
<newton> yeah enumerable stuff
<oft_gegong> As a raging nerd I am unsatisfied with my copy of all software. I am an unhappy customer.
hololeap_ is now known as hololeap