00:02
<
howdoi >
> How many Rails developers does it take to query a database?
00:03
sam113102 is now known as sam113101
00:06
TCZ has quit [Quit: ...]
00:19
Guest18 has quit [Ping timeout: 256 seconds]
00:23
Rounin has quit [Ping timeout: 252 seconds]
00:33
roadie` has joined #ruby
00:38
roadie` has quit [Ping timeout: 240 seconds]
00:40
hololeap_ has joined #ruby
00:50
ur5us has joined #ruby
01:00
roadie` has joined #ruby
01:02
deadworld has joined #ruby
01:06
deadworld has left #ruby [#ruby]
01:10
dorian has quit [Remote host closed the connection]
01:10
roadie` has quit [Ping timeout: 256 seconds]
01:22
hololeap_ is now known as hololeap
01:27
Oxfuxxx has quit [Ping timeout: 240 seconds]
01:35
Oxfuxxx has joined #ruby
01:52
lunarkitty has joined #ruby
02:38
howdoi has quit [Quit: Connection closed for inactivity]
02:48
reset has quit [Quit: reset]
03:59
sam113101 has quit [Quit: WeeChat 3.2]
04:02
sam113101 has joined #ruby
04:05
sam113101 has quit [Client Quit]
04:05
sam113101 has joined #ruby
04:25
Guest18 has joined #ruby
04:25
Guest18 has quit [Client Quit]
04:37
jetchisel has quit [Ping timeout: 245 seconds]
04:47
jetchisel has joined #ruby
04:52
jpw has joined #ruby
05:02
lunarkitty has quit [Quit: Connection closed for inactivity]
05:29
ur5us has quit [Ping timeout: 240 seconds]
06:10
kaivai has joined #ruby
06:28
jpw has quit [Remote host closed the connection]
07:17
Rounin has joined #ruby
08:04
joast has quit [Ping timeout: 240 seconds]
08:07
niv has joined #ruby
08:17
joast has joined #ruby
08:25
fdan has joined #ruby
08:48
dachi_ has quit [Remote host closed the connection]
08:48
dachi_ has joined #ruby
08:57
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
08:57
flooose has joined #ruby
09:02
jetchisel has joined #ruby
09:16
gr33n7007h has joined #ruby
09:17
hololeap_ has joined #ruby
09:18
hololeap has quit [Ping timeout: 276 seconds]
09:24
lad has quit [Ping timeout: 252 seconds]
09:30
Ca1us has joined #ruby
09:31
Caius has quit [Ping timeout: 272 seconds]
09:43
flooose has quit [Ping timeout: 245 seconds]
10:35
weaksauce has quit [Ping timeout: 245 seconds]
11:00
itok has joined #ruby
11:23
<
rapha >
c'mon give us a non-rails one, too
11:25
AsenMx has joined #ruby
11:25
<
AsenMx >
Hello, does anyone know in Gitlab CI how to make include of template to be a manual job?
11:38
dorian has joined #ruby
11:41
flooose has joined #ruby
11:49
psb has joined #ruby
12:01
flooose has quit [Ping timeout: 256 seconds]
12:02
AsenMx has quit [Ping timeout: 240 seconds]
12:03
AsenMx has joined #ruby
12:16
AsenMx has quit [Remote host closed the connection]
12:16
AsenMx has joined #ruby
12:28
fdan has quit [Quit: Client closed]
12:56
hololeap_ is now known as hololeap
13:15
keir has joined #ruby
13:16
reset has joined #ruby
13:37
Oxfuxxx has quit [Ping timeout: 244 seconds]
13:47
gggp has joined #ruby
13:52
Oxfuxxx has joined #ruby
13:59
flooose has joined #ruby
14:21
AsenMx has quit [Ping timeout: 256 seconds]
14:43
bit4bit has joined #ruby
15:10
teclator has joined #ruby
15:18
factor has quit [Ping timeout: 252 seconds]
15:22
elf_fortrez has joined #ruby
15:22
gggp has quit [Ping timeout: 244 seconds]
15:25
Oxfuxxx has quit [Ping timeout: 240 seconds]
15:27
Oxfuxxx has joined #ruby
15:33
factor has joined #ruby
15:34
gggp_ has joined #ruby
15:52
Oxfuxxx has quit [Quit: leaving]
15:56
elf_fortrez has quit [Ping timeout: 256 seconds]
15:59
keir has left #ruby [#ruby]
16:01
factor has quit [Read error: Connection reset by peer]
16:05
Tempesta has quit [*.net *.split]
16:06
Tempesta has joined #ruby
16:06
Tempesta has joined #ruby
16:06
Tempesta has quit [Changing host]
16:06
Tempesta has quit [Excess Flood]
16:07
nopcOde has joined #ruby
16:07
Tempesta has joined #ruby
16:07
Tempesta has quit [Excess Flood]
16:08
Tempesta has joined #ruby
16:08
Tempesta has quit [Changing host]
16:08
Tempesta has joined #ruby
16:08
Tempesta has quit [Excess Flood]
16:09
Tempesta has joined #ruby
16:10
nopc0de_ has quit [Ping timeout: 252 seconds]
16:35
_ht has joined #ruby
16:37
Oxfuxxx has joined #ruby
16:42
factor has joined #ruby
16:44
gr33n7001 has joined #ruby
16:45
gr33n7007h has quit [Ping timeout: 245 seconds]
16:48
Oxfuxxx has quit [Ping timeout: 244 seconds]
16:52
fdan has joined #ruby
16:52
Oxfuxxx has joined #ruby
16:59
gggp_ has quit [Ping timeout: 244 seconds]
17:12
lunarkitty has joined #ruby
17:21
jpw has joined #ruby
17:24
fdan has quit [Ping timeout: 256 seconds]
17:28
mjh has quit [Ping timeout: 252 seconds]
17:33
TomyWork has joined #ruby
17:41
Oxfuxxx has quit [Ping timeout: 244 seconds]
17:45
jpw_ has joined #ruby
17:48
jpw has quit [Ping timeout: 252 seconds]
17:49
weaksauce has joined #ruby
17:50
Oxfuxxx has joined #ruby
17:51
jpw_ has quit [Ping timeout: 244 seconds]
17:54
flooose has quit [Ping timeout: 252 seconds]
18:03
goepsilongo has joined #ruby
18:11
jpw has joined #ruby
18:12
brw7 has joined #ruby
18:14
brw has quit [Read error: Connection reset by peer]
18:14
brw7 is now known as brw
18:22
hololeap has quit [Ping timeout: 276 seconds]
18:24
aeris has quit [Ping timeout: 276 seconds]
18:28
aeris has joined #ruby
18:32
hololeap has joined #ruby
18:34
Fusl has quit [Excess Flood]
18:34
Fusl has joined #ruby
18:35
TomyWork has quit [Remote host closed the connection]
18:46
jpw_ has joined #ruby
18:49
jpw has quit [Ping timeout: 244 seconds]
19:05
VoidNoir0 has quit [Quit: Connection closed]
19:12
ur5us has joined #ruby
19:26
gr33n7001 has quit [Ping timeout: 244 seconds]
19:31
gr33n7001 has joined #ruby
19:32
lunarkitty has quit [Quit: Connection closed for inactivity]
19:42
bit4bit has quit [Ping timeout: 252 seconds]
19:57
jpw_ has quit [Remote host closed the connection]
20:07
_ht has quit [Remote host closed the connection]
20:17
<
aestheti1 >
Is there a faster way to get a method to a proc than (&method(:the_method))
20:20
<
adam12 >
aestheti1: Like a shorter method? There was 12125 which introduced .: but it was accepted, merged, and then reverted.
20:20
<
aestheti1 >
i need it
20:21
<
adam12 >
aestheti1: Unless this is a method on the receiver (like objects passed through map)
20:21
<
adam12 >
aestheti1: In that case, maybe Symbol#to_proc? foobar.map(&:the_method)
20:21
<
aestheti1 >
I have just a then (yield_self) chain that calls a bunch of methods with one arguemtn ,woudl eb nice
20:21
<
adam12 >
Yes, that should work then. Symbol#to_proc.
20:22
<
aestheti1 >
no its just within the class not on the receiver
20:22
<
aestheti1 >
so its a case of &method
20:22
pgib has joined #ruby
20:22
<
adam12 >
>> "foobar".then(&:upcase).then(&:reverse)
20:22
<
adam12 >
aestheti1: Oh, in that case, there's no shorthand.
20:23
<
aestheti1 >
someone get matz on the phone
20:23
<
aestheti1 >
you could almost implement it yourself, but all the good single symbols are already taken
20:23
<
adam12 >
What about numbered arguments. Maybe a decent compromise.
20:23
<
aestheti1 >
like def Kernel.% or something
20:23
<
adam12 >
foo.then { SomeMethod.baz(_1) }.then { SomeMethod.bar(_1) }
20:23
<
adam12 >
Gotta run. Good luck.
20:23
<
aestheti1 >
peace and thanks
20:31
ur5us has quit [Ping timeout: 240 seconds]
21:05
lad has joined #ruby
21:31
hololeap has quit [Ping timeout: 276 seconds]
21:31
hololeap has joined #ruby
21:33
flooose has joined #ruby
21:49
hololeap_ has joined #ruby
21:50
hololeap has quit [Ping timeout: 276 seconds]
22:00
flooose has quit [Ping timeout: 240 seconds]
22:20
<
adam12 >
I'm kind of glad that it was reverted. Some parts of Ruby are already so cryptic.
22:24
<
nakilon >
better revert numbered args ..P
22:36
Skyfire has quit [Quit: WeeChat 3.2]
23:13
fredlinhares has joined #ruby
23:18
aeris has quit [Remote host closed the connection]
23:18
aeris has joined #ruby
23:26
<
newton >
I still feel weird about using &.
23:30
nopcOde has quit [Ping timeout: 245 seconds]
23:34
weaksauce has joined #ruby
23:37
fredlinhares has quit [Quit: WeeChat 2.8]
23:38
oft_gegong has joined #ruby
23:39
<
oft_gegong >
what is your favorite ruby ability?
23:39
<
newton >
it generates my paycheck
23:40
<
weaksauce >
writing code that generally works the first time
23:40
<
oft_gegong >
I mean like function calls
23:40
<
newton >
what's yours
23:41
<
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.
23:41
<
weaksauce >
map/reduce maybe
23:43
<
newton >
yeah enumerable stuff
23:49
<
oft_gegong >
As a raging nerd I am unsatisfied with my copy of all software. I am an unhappy customer.
23:52
hololeap_ is now known as hololeap