00:11
markong has quit [Ping timeout: 252 seconds]
00:13
grokify has joined #ruby
00:17
grokify has quit [Remote host closed the connection]
00:23
smp has quit [Ping timeout: 240 seconds]
00:24
markong has joined #ruby
00:24
smp has joined #ruby
00:31
cognemo has quit [Read error: Software caused connection abort]
00:34
cognemo has joined #ruby
00:36
grokify has joined #ruby
00:37
finsternis has joined #ruby
00:37
Rounin has quit [Ping timeout: 272 seconds]
00:38
markong has quit [Ping timeout: 252 seconds]
00:41
grokify has quit [Ping timeout: 252 seconds]
00:41
bougyman has quit [Read error: Software caused connection abort]
00:45
bougyman has joined #ruby
00:55
agent_white has joined #ruby
00:58
victori has joined #ruby
00:59
vigumnov has quit [Ping timeout: 252 seconds]
01:01
Vonter has quit [Ping timeout: 252 seconds]
01:03
Vonter has joined #ruby
01:14
stirl has joined #ruby
01:16
favadi has joined #ruby
01:18
NightMonkey has quit [Ping timeout: 252 seconds]
01:23
NightMonkey has joined #ruby
01:34
Al2O3 has quit [Ping timeout: 255 seconds]
01:43
gr33n7007h has quit [Ping timeout: 255 seconds]
01:48
gr33n7007h has joined #ruby
01:48
thomas25 has quit [Read error: Software caused connection abort]
01:51
thomas25 has joined #ruby
01:52
favadi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:54
favadi has joined #ruby
01:59
jpn_ has joined #ruby
02:01
grokify has joined #ruby
02:02
jpn has quit [Ping timeout: 252 seconds]
02:07
grokify has quit [Remote host closed the connection]
02:07
cocalero_ has joined #ruby
02:07
grokify has joined #ruby
02:07
Sankalp has quit [Ping timeout: 248 seconds]
02:09
Sankalp has joined #ruby
02:14
grokify has quit [Remote host closed the connection]
02:15
grokify has joined #ruby
02:17
stirl has quit [Quit: stirl]
02:21
cartdrige has joined #ruby
02:21
grokify has quit [Remote host closed the connection]
02:23
gr33n7007h has quit [Ping timeout: 255 seconds]
02:26
gr33n7007h has joined #ruby
02:35
grokify has joined #ruby
02:37
cognemo has quit [Ping timeout: 252 seconds]
02:37
cognemo has joined #ruby
02:39
grokify has quit [Ping timeout: 246 seconds]
03:04
phryk has joined #ruby
03:26
NightMonkey has quit [Ping timeout: 252 seconds]
03:27
NightMonkey has joined #ruby
04:03
rvalue has quit [Ping timeout: 272 seconds]
04:19
Petruchio has quit [Remote host closed the connection]
04:19
Petruchio has joined #ruby
04:22
crax23 has joined #ruby
04:23
ur5us has quit [Ping timeout: 255 seconds]
04:25
cartdrige has quit [Ping timeout: 252 seconds]
04:28
ur5us has joined #ruby
04:29
cartdrige has joined #ruby
04:31
Y05hito__ has joined #ruby
04:31
crax23 has quit [Ping timeout: 272 seconds]
04:31
rvalue has joined #ruby
04:33
jpn_ has quit [Ping timeout: 272 seconds]
04:34
cartdrige has quit [Ping timeout: 252 seconds]
04:44
jpn has joined #ruby
05:21
ur5us has quit [Ping timeout: 255 seconds]
05:25
D_A_N has quit [Quit: leaving]
05:31
grokify has joined #ruby
05:35
FetidToot8 has joined #ruby
05:36
FetidToot has quit [Ping timeout: 272 seconds]
05:36
FetidToot8 is now known as FetidToot
05:36
jpn has quit [Ping timeout: 248 seconds]
05:37
grokify has quit [Remote host closed the connection]
05:48
grokify has joined #ruby
05:50
jpn has joined #ruby
05:50
grokify has quit [Remote host closed the connection]
05:54
grokify has joined #ruby
05:57
grokify has quit [Remote host closed the connection]
05:58
grokify has joined #ruby
06:00
rvalue has quit [Ping timeout: 255 seconds]
06:01
ur5us has joined #ruby
06:17
rvalue has joined #ruby
06:23
jpn has quit [Ping timeout: 252 seconds]
06:25
grokify has quit [Remote host closed the connection]
06:27
RetroPunk has joined #ruby
06:28
grokify has joined #ruby
06:28
jpn has joined #ruby
06:43
grokify has quit [Remote host closed the connection]
06:47
grokify has joined #ruby
06:51
ur5us has quit [Ping timeout: 255 seconds]
06:52
grokify has quit [Ping timeout: 276 seconds]
06:58
kerunaru has joined #ruby
07:05
teclator has joined #ruby
07:09
havenwood has quit [Quit: Ping timeout (120 seconds)]
07:09
havenwood has joined #ruby
07:24
ur5us has joined #ruby
07:29
crax23 has joined #ruby
07:31
Y05hito__ has quit [Ping timeout: 248 seconds]
07:33
otisolsen70 has joined #ruby
07:34
otisolsen70 has quit [Remote host closed the connection]
07:35
otisolsen70 has joined #ruby
07:37
ur5us has quit [Ping timeout: 246 seconds]
07:37
reset has quit [Quit: reset]
07:58
szkl has quit [Quit: Connection closed for inactivity]
08:02
Rounin has joined #ruby
08:02
Rounin has quit [Changing host]
08:02
Rounin has joined #ruby
08:07
ur5us has joined #ruby
08:08
jpn has quit [Ping timeout: 248 seconds]
08:10
agent_white has quit [Quit: night]
08:20
jvalleroy has joined #ruby
08:27
or2b has joined #ruby
08:32
<
cxl >
Hi all, I'm trying to generate images for each PDF file's pages. I'm attempting it with a new Previewer that inherits from PopplerPDFPreviewer and monkeypatching the #preview method to call my own private method with the page number. But how do I tell Rails to use that previewer instead of the default PopplerPDFPreviewer? Or is a previewer the wrong way to go about it? I thought it would be nice since it would
08:33
<
cxl >
give me all the ActiveStorage machinery, caching, etc for free
08:39
<
cxl >
well monkeypatching is the wrong word, I meant implement my own #preview method but keep the rest of PopplerPDFPreviewer
08:40
JayDoubleu__ has quit [Ping timeout: 268 seconds]
08:42
JayDoubleu__ has joined #ruby
08:48
otisolsen70_ has joined #ruby
08:52
otisolsen70 has quit [Ping timeout: 272 seconds]
09:22
gr33n7007h has quit [Ping timeout: 246 seconds]
09:23
gr33n7007h has joined #ruby
09:28
aeris has quit [Remote host closed the connection]
09:29
vito has quit [Ping timeout: 268 seconds]
09:29
vito has joined #ruby
09:35
zoknert has joined #ruby
09:35
ur5us has quit [Ping timeout: 246 seconds]
09:37
dionysus69 has joined #ruby
09:38
zoknert has quit [Read error: Connection reset by peer]
09:39
wand has quit [Ping timeout: 255 seconds]
09:45
Aminda has quit [Ping timeout: 255 seconds]
09:45
Aminda has joined #ruby
09:51
wand has joined #ruby
09:54
kerunaru has quit [Ping timeout: 255 seconds]
09:56
kerunaru has joined #ruby
10:01
aeris has joined #ruby
10:06
Rounin has quit [Ping timeout: 252 seconds]
10:07
some14u has joined #ruby
10:17
fandre1986 has joined #ruby
10:18
jpn has joined #ruby
10:19
Rounin has joined #ruby
10:19
Rounin has quit [Changing host]
10:19
Rounin has joined #ruby
10:37
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:47
jpn has quit [Ping timeout: 272 seconds]
10:48
jpn has joined #ruby
10:52
<
cxl >
I also don't understand how to express a method that takes an argument and a block, which then passes that block within the method to File.open(myfile, &myblock)
11:17
kerunaru has quit [Remote host closed the connection]
11:19
kerunaru has joined #ruby
11:27
grokify has joined #ruby
11:34
grokify has quit [Ping timeout: 255 seconds]
11:54
markong has joined #ruby
11:55
teclator has quit [Ping timeout: 255 seconds]
11:55
kerunaru has quit [Quit: leaving]
11:55
teclator has joined #ruby
11:56
kerunaru has joined #ruby
11:58
Y05hito__ has joined #ruby
12:01
crax23 has quit [Ping timeout: 246 seconds]
12:03
kerunaru has quit [Quit: leaving]
12:04
kerunaru has joined #ruby
12:20
royo25 has joined #ruby
12:25
teclator has quit [Remote host closed the connection]
12:27
ua_ has quit [Ping timeout: 240 seconds]
12:30
teclator has joined #ruby
12:37
fandre1986 has quit [Quit: Connection closed]
12:39
<
supay >
hi, how do we change what branch capistrano is deploying to? is there any way to see if it's using the deploy.rb? like a log from within deploy.rb?
12:40
ua_ has joined #ruby
12:44
jpn has quit [Ping timeout: 255 seconds]
12:49
<
kinduff >
supay: you can either use an env variable when calling cap, or set a setting in deploy.rb with a proc calling git to check the current branch
12:49
<
supay >
kinduff: but it weirdly doesn't change the branch. and i've tried everything i can think of.
12:50
<
supay >
when i look at the commit hash it prints out, that commit has belongs to 'master', but i want it to deploy 'staging'
12:50
<
kinduff >
is your remote pointing to staging instead of master?
12:51
<
supay >
kinduff: remote might be pointing to master.. let me check boxuk
12:52
<
supay >
it's the same link! :D
12:53
<
supay >
kinduff: even hardcoding inside deploy.rb as: `set :branch, "staging"` and then running `cap staging deploy` doesn't seem to help
12:54
<
supay >
also, it says `-S` is not a recognized flag
12:58
Y05hito__ has quit [Quit: Leaving]
13:01
D_A_N has joined #ruby
13:08
FetidToot has quit [Read error: Connection reset by peer]
13:09
FetidToot has joined #ruby
13:20
aeris has quit [Ping timeout: 255 seconds]
13:22
aeris has joined #ruby
13:25
FetidToot4 has joined #ruby
13:27
FetidToot has quit [Ping timeout: 246 seconds]
13:27
FetidToot4 is now known as FetidToot
13:28
markong has quit [Ping timeout: 252 seconds]
13:36
grokify has joined #ruby
13:37
agent_white has joined #ruby
13:39
mahlon has quit [*.net *.split]
13:39
legahc has quit [*.net *.split]
13:39
hololeap has quit [*.net *.split]
13:42
markong has joined #ruby
13:45
<
kinduff >
do you have a "config/deploy/staging.rb"?
13:45
grokify has quit [Remote host closed the connection]
13:46
kaivai has joined #ruby
13:49
grokify has joined #ruby
13:52
grokify has quit [Remote host closed the connection]
13:53
grokify has joined #ruby
13:58
grokify has quit [Remote host closed the connection]
14:04
teclator has joined #ruby
14:07
dionysus70 has joined #ruby
14:07
kerunaru has quit [Ping timeout: 252 seconds]
14:08
kerunaru has joined #ruby
14:08
dionysus69 has quit [Ping timeout: 272 seconds]
14:08
dionysus70 is now known as dionysus69
14:10
otisolsen70_ has quit [Quit: Leaving]
14:15
dionysus70 has joined #ruby
14:17
hololeap has joined #ruby
14:17
legahc has joined #ruby
14:17
mahlon has joined #ruby
14:17
hololeap has quit [Max SendQ exceeded]
14:17
dionysus69 has quit [Ping timeout: 248 seconds]
14:17
dionysus70 is now known as dionysus69
14:17
hololeap has joined #ruby
14:23
royo25 has quit [Ping timeout: 252 seconds]
14:24
royo25 has joined #ruby
14:28
jpn has joined #ruby
14:31
grokify has joined #ruby
14:35
teclator has quit [Remote host closed the connection]
14:36
grokify has quit [Ping timeout: 255 seconds]
14:39
eddof13 has joined #ruby
14:40
teclator has joined #ruby
14:44
gr33n7007h has quit [Ping timeout: 255 seconds]
14:45
gr33n7007h has joined #ruby
14:45
eddof13 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
14:50
teclator has quit [Remote host closed the connection]
14:55
teclator has joined #ruby
14:57
kerunaru has quit [Quit: leaving]
14:57
grokify has joined #ruby
14:57
kerunaru has joined #ruby
15:02
grokify has quit [Ping timeout: 246 seconds]
15:04
wand has quit [Ping timeout: 255 seconds]
15:04
D_A_N has quit [Ping timeout: 252 seconds]
15:04
Aminda has quit [Ping timeout: 255 seconds]
15:04
D_A_N has joined #ruby
15:05
wand has joined #ruby
15:06
Aminda has joined #ruby
15:09
grokify has joined #ruby
15:11
grokify has quit [Remote host closed the connection]
15:12
jpn_ has joined #ruby
15:13
grokify_ has joined #ruby
15:14
jpn has quit [Ping timeout: 246 seconds]
15:17
scottgy has joined #ruby
15:17
kerunaru has quit [Quit: leaving]
15:17
jpn_ has quit [Ping timeout: 255 seconds]
15:17
scottg489 has quit [Ping timeout: 246 seconds]
15:17
grokify_ has quit [Ping timeout: 252 seconds]
15:17
kerunaru has joined #ruby
15:20
dionysus69 has quit [Ping timeout: 246 seconds]
15:20
<
supay >
kinduff: i do, yes
15:21
dionysus69 has joined #ruby
15:21
josephl has joined #ruby
15:22
otisolsen70 has joined #ruby
15:32
jpn has joined #ruby
15:34
kerunaru has quit [Remote host closed the connection]
15:42
grokify has joined #ruby
15:43
grokify has quit [Remote host closed the connection]
15:45
markong has quit [Ping timeout: 252 seconds]
15:52
zoknert has joined #ruby
15:58
zoknert has quit [Ping timeout: 272 seconds]
15:59
markong has joined #ruby
15:59
___nick___ has joined #ruby
16:06
yxhuvud has quit [Remote host closed the connection]
16:08
wand has quit [Remote host closed the connection]
16:10
yxhuvud has joined #ruby
16:13
wand has joined #ruby
16:21
hololeap has quit [Ping timeout: 252 seconds]
16:22
hololeap has joined #ruby
16:23
cartdrige has joined #ruby
16:23
wand_ has joined #ruby
16:27
c10l has quit [Quit: Ping timeout (120 seconds)]
16:27
wand has quit [Ping timeout: 255 seconds]
16:27
c10l has joined #ruby
16:34
gr33n7007h has quit [Ping timeout: 268 seconds]
16:43
royo25 has quit [Quit: Bye]
16:44
teclator has quit [Ping timeout: 252 seconds]
16:45
teclator has joined #ruby
16:47
gr33n7007h has joined #ruby
16:56
grokify has joined #ruby
17:00
grokify has quit [Ping timeout: 248 seconds]
17:01
jpn has quit [Ping timeout: 268 seconds]
17:03
reset has joined #ruby
17:06
TomyWork has joined #ruby
17:09
crax23 has joined #ruby
17:11
cartdrige has quit [Ping timeout: 255 seconds]
17:20
ccapndave has joined #ruby
17:23
otisolsen70_ has joined #ruby
17:24
ccapndave has quit [Client Quit]
17:25
otisolsen70 has quit [Ping timeout: 252 seconds]
17:53
grokify has joined #ruby
17:58
grokify has quit [Ping timeout: 272 seconds]
18:01
<
BeverlyBot >
Mornin'
18:03
<
adam12 >
BeverlyBot: how goes
18:03
___nick___ has quit [Ping timeout: 252 seconds]
18:04
___nick___ has joined #ruby
18:07
<
BeverlyBot >
Pretty good, pretty good
18:08
<
BeverlyBot >
About to launch, I'll show in a sec
18:08
<
BeverlyBot >
What's good over there?
18:11
<
adam12 >
BeverlyBot: Nice.
18:22
Y05hito__ has joined #ruby
18:24
grokify has joined #ruby
18:24
grokify has quit [Remote host closed the connection]
18:25
grokify has joined #ruby
18:25
crax23 has quit [Ping timeout: 268 seconds]
18:29
grokify has quit [Ping timeout: 246 seconds]
18:33
Sankalp has quit [Ping timeout: 268 seconds]
18:35
markong has quit [Ping timeout: 248 seconds]
18:37
Sankalp has joined #ruby
18:49
teclator has quit [Ping timeout: 252 seconds]
18:50
teclator has joined #ruby
18:59
___nick___ has joined #ruby
18:59
___nick___ has quit [Client Quit]
19:01
___nick___ has joined #ruby
19:01
finsternis has quit [Ping timeout: 248 seconds]
19:02
finsternis has joined #ruby
19:06
reset has quit [Ping timeout: 252 seconds]
19:11
josephl has quit [Quit: Connection closed for inactivity]
19:19
reset has joined #ruby
19:22
Awoobis is now known as A_Dragon
19:35
_ht has joined #ruby
19:53
or2b has quit [Ping timeout: 255 seconds]
19:57
or2b has joined #ruby
20:07
___nick___ has quit [Ping timeout: 252 seconds]
20:07
___nick___ has joined #ruby
20:08
crax23 has joined #ruby
20:12
Y05hito__ has quit [Ping timeout: 272 seconds]
20:14
cocalero has joined #ruby
20:21
ur5us has joined #ruby
20:32
polishdub has quit [Ping timeout: 272 seconds]
20:39
polishdub has joined #ruby
20:40
teclator has quit [Remote host closed the connection]
20:43
jpn has joined #ruby
20:48
jpn has quit [Ping timeout: 272 seconds]
20:52
dionysus69 has quit [Ping timeout: 272 seconds]
21:00
grokify has joined #ruby
21:03
kinduff has quit [Remote host closed the connection]
21:04
___nick___ has quit [Ping timeout: 252 seconds]
21:04
grokify has quit [Ping timeout: 252 seconds]
21:05
kinduff has joined #ruby
21:05
dionysus69 has joined #ruby
21:06
dionysus69 has quit [Client Quit]
21:06
dionysus69 has joined #ruby
21:07
_ht has quit [Remote host closed the connection]
21:10
cartdrige has joined #ruby
21:11
crax23 has quit [Ping timeout: 252 seconds]
21:36
crax23 has joined #ruby
21:39
cartdrige has quit [Ping timeout: 248 seconds]
21:43
some14u has joined #ruby
21:46
or2b has quit [Quit: Leaving]
21:56
dionysus69 has quit [Ping timeout: 272 seconds]
21:58
otisolsen70_ has quit [Quit: Leaving]
22:09
Y05hito__ has joined #ruby
22:11
cartdrige has joined #ruby
22:11
crax23 has quit [Ping timeout: 252 seconds]
22:13
Y05hito__ has quit [Ping timeout: 248 seconds]
22:51
dionysus69 has joined #ruby
22:54
crax23 has joined #ruby
22:55
<
leftylink >
no problem with two kw splats, right?
22:56
markong has joined #ruby
22:56
jpn has joined #ruby
22:56
<
leftylink >
pandabot: rb ->**a { a }[**{k1: 1, k2: 2}. **{k3: 3}]
22:56
<
leftylink >
pandabot: rb ->**a { a }[**{k1: 1, k2: 2}. **{k3: 3}]
22:56
cartdrige has quit [Ping timeout: 248 seconds]
22:56
<
leftylink >
pandabot: rb ->**a { a }[**{k1: 1, k2: 2}, **{k3: 3}]
22:57
<
leftylink >
this will be useful for my project
23:00
dionysus69 has quit [Ping timeout: 252 seconds]
23:01
Y05hito__ has joined #ruby
23:01
jpn has quit [Ping timeout: 248 seconds]
23:01
<
leftylink >
what other capabilities will be necessary for my project?
23:01
<
leftylink >
honestly though even if it wouldn't work, you'd just do a merge
23:02
<
leftylink >
... hold on though
23:02
<
leftylink >
pandabot: rb ->**a { a }[**{k1: 1, k2: 2}, **{k2: :conf, k3: 3}]
23:02
<
leftylink >
okay, so second takes it
23:03
crax23 has quit [Ping timeout: 272 seconds]
23:05
<
havenwood >
leftylink: splat limitlessly!
23:05
<
havenwood >
I mean, double splat limitlessly!
23:09
crax23 has joined #ruby
23:12
Y05hito__ has quit [Ping timeout: 272 seconds]
23:21
leftylink has quit [Quit: [TLS] Client upgrade]
23:21
leftylink has joined #ruby
23:22
leftylink has quit [Client Quit]
23:26
gonix has joined #ruby
23:26
howdoi has joined #ruby
23:28
leftylink has joined #ruby
23:32
leftylink has quit [Remote host closed the connection]
23:32
pandabot has quit [Remote host closed the connection]
23:34
gonix has quit [Ping timeout: 252 seconds]
23:35
pandabot has joined #ruby
23:36
leftylink has joined #ruby
23:42
<
leftylink >
let's also have some custom **
23:42
<
leftylink >
pandabot: rb ->**a { a }[**Struct.new(:a) { def to_hash; {foo: :bar, a: a} end }.new(5)]
23:43
pyrex is now known as coolbat666
23:44
coolbat666 is now known as pyrex
23:44
some14u- has joined #ruby
23:48
some14u has quit [Ping timeout: 252 seconds]