havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.3, 2.4.5, 2.3.8, 2.6.0-preview3: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
jhass has joined #ruby
howdoicomputer has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has quit [Ping timeout: 252 seconds]
nchambers has quit [Ping timeout: 272 seconds]
dkmueller has quit [Quit: Lost terminal]
daemonwrangler has quit [Ping timeout: 246 seconds]
jcalla has quit [Read error: Connection timed out]
jcalla has joined #ruby
cd has joined #ruby
patr0clus has quit [Quit: WeeChat 2.1]
queip has quit [Read error: Connection reset by peer]
howdoicomputer has quit [Quit: WeeChat 2.3]
queip has joined #ruby
AJA4350 has quit [Quit: AJA4350]
jcalla has quit [Ping timeout: 252 seconds]
asphyxia has joined #ruby
nchambers has joined #ruby
chouhoulis has joined #ruby
sgen has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chihhsin has quit [Ping timeout: 244 seconds]
thejs has quit [Quit: Leaving]
chihhsin has joined #ruby
Guest24308 has joined #ruby
queip has quit [Read error: Connection reset by peer]
queip has joined #ruby
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dviola has quit [Ping timeout: 252 seconds]
ausmat has quit []
Freshnuts has joined #ruby
Freshnuts has quit [Max SendQ exceeded]
Freshnuts has joined #ruby
Exuma has joined #ruby
jrhorn424 has joined #ruby
jrhorn424 has quit [Client Quit]
jrhorn424 has joined #ruby
queip has quit [Read error: Connection reset by peer]
sgen has quit [Ping timeout: 260 seconds]
DTZUZO has quit [Ping timeout: 268 seconds]
jrhorn424 is now known as jrhorn424_away
jrhorn424_away is now known as jrhorn424
esrse has joined #ruby
queip has joined #ruby
jrhorn424 is now known as jrhorn424_away
jrhorn424_away has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrhorn424 has joined #ruby
leah2 has quit [Ping timeout: 268 seconds]
bmurt has joined #ruby
dinfuehr has quit [Ping timeout: 252 seconds]
dinfuehr has joined #ruby
Fusl has quit [Excess Flood]
nertzy has joined #ruby
Fusl has joined #ruby
elphe has quit [Ping timeout: 268 seconds]
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elphe has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
paulscoder has quit [Quit: paulscoder]
Nicmavr has joined #ruby
ByronJohnson has quit [Ping timeout: 272 seconds]
RougeR has quit [Ping timeout: 244 seconds]
braincrash has quit [Quit: bye bye]
ivanskie has joined #ruby
braincrash has joined #ruby
ivanskie has quit [Client Quit]
asphyxia has quit [Ping timeout: 240 seconds]
ivanskie has joined #ruby
arescorpio has joined #ruby
bairyn has joined #ruby
MoritaShinobu has joined #ruby
ivanskie has quit [Quit: Textual IRC Client: www.textualapp.com]
arescorpio has quit [Quit: Leaving.]
nima_m has joined #ruby
nima_m has quit [Client Quit]
asphyxia has joined #ruby
ChatCodingLab has joined #ruby
cliluw has quit [Ping timeout: 272 seconds]
cliluw has joined #ruby
nima_m has joined #ruby
nima_m has quit [Read error: Connection reset by peer]
maximjaffe has quit [Ping timeout: 272 seconds]
nima_m has joined #ruby
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
tdy has quit [Ping timeout: 250 seconds]
tdy has joined #ruby
Guest24308 has quit [Ping timeout: 252 seconds]
rawrg has joined #ruby
marz_d`ghostman has joined #ruby
ChatCodingLab has quit [Read error: Connection reset by peer]
ChatCodingLab has joined #ruby
nima_m has quit [Quit: nima_m]
nima_m has joined #ruby
nima_m has quit [Quit: nima_m]
nima_m has joined #ruby
Inline has quit [Quit: Leaving]
ChatCodingLab has quit [Quit: This computer has gone to sleep]
nima_m has quit [Quit: nima_m]
jrhorn424 is now known as jrhorn424_away
jrhorn424_away has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jmcgnh has quit [Ping timeout: 252 seconds]
jaddison has joined #ruby
nima_m has joined #ruby
jaddison has quit [Quit: jaddison]
jrhorn424 has joined #ruby
elphe has quit [Ping timeout: 268 seconds]
aufi has joined #ruby
luhn has joined #ruby
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
luhn has quit [Client Quit]
nertzy has quit [Quit: This computer has gone to sleep]
jrhorn424 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nima_m has quit [Quit: nima_m]
conta has joined #ruby
jrhorn424 has joined #ruby
aufi has quit [Ping timeout: 246 seconds]
teardown has quit [Ping timeout: 246 seconds]
nchambers has quit [Quit: WeeChat 2.2]
elphe has joined #ruby
marmotini_ has joined #ruby
marmotini_ has quit [Remote host closed the connection]
roshanavand has quit [Remote host closed the connection]
marmotini_ has joined #ruby
roshanavand has joined #ruby
marmotini_ has quit [Remote host closed the connection]
marmotini_ has joined #ruby
marmotini_ has quit [Max SendQ exceeded]
marmotini_ has joined #ruby
dionysus69 has quit [Remote host closed the connection]
marmotini_ has quit [Remote host closed the connection]
marmotini_ has joined #ruby
dionysus69 has joined #ruby
marmotini_ has quit [Remote host closed the connection]
marmotini_ has joined #ruby
jrhorn424 is now known as jrhorn424_away
<marz_d`ghostman> I'm trying to test the format of logger, is there like a test specific stream I can use instead of a file?
marmotini_ has quit [Remote host closed the connection]
marmotini_ has joined #ruby
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
BH23 has quit [Ping timeout: 240 seconds]
roshanavand has quit [Client Quit]
jrhorn424_away is now known as jrhorn424
marmotini_ has quit [Remote host closed the connection]
lomex has joined #ruby
marmotini_ has joined #ruby
queip has quit [Read error: Connection reset by peer]
queip has joined #ruby
DTZUZO has joined #ruby
whysthatso has joined #ruby
elphe has quit [Ping timeout: 252 seconds]
marmotini_ has quit [Remote host closed the connection]
marmotini_ has joined #ruby
jamied has joined #ruby
weaksauce has quit [Ping timeout: 245 seconds]
clemens3 has joined #ruby
jcarl43 has joined #ruby
marmotini_ has quit [Remote host closed the connection]
marmotini_ has joined #ruby
marmotini_ has quit [Remote host closed the connection]
marmotini_ has joined #ruby
venmx has joined #ruby
Burgestrand has joined #ruby
whysthatso has quit [Quit: whysthatso]
whysthatso has joined #ruby
elphe has joined #ruby
phaul has joined #ruby
jamied has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
venmx has quit [Ping timeout: 252 seconds]
elphe has quit [Ping timeout: 252 seconds]
queip has quit [Read error: Connection reset by peer]
marmotini_ has quit [Remote host closed the connection]
marmotini_ has joined #ruby
vondruch has joined #ruby
queip has joined #ruby
gix has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jamied has joined #ruby
lomex has joined #ruby
elphe has joined #ruby
apparition has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
themsay has quit [Ping timeout: 240 seconds]
roshanavand has joined #ruby
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
themsay has joined #ruby
Freshnuts has quit [Quit: Leaving]
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ruby
sameerynho has joined #ruby
roshanavand has quit [Remote host closed the connection]
sameerynho is now known as Guest61808
themsay has quit [Ping timeout: 246 seconds]
themsay has joined #ruby
keden has joined #ruby
themsay has quit [Ping timeout: 244 seconds]
pskosinski has quit [Ping timeout: 244 seconds]
marmotini_ has quit [Quit: Leaving]
marmotini_ has joined #ruby
Guest24308 has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.3]
pskosinski has joined #ruby
jmcgnh has joined #ruby
queip has quit [Read error: Connection reset by peer]
BH23 has joined #ruby
leah2 has joined #ruby
queip has joined #ruby
themsay has joined #ruby
BH23 has quit [Ping timeout: 240 seconds]
aufi has joined #ruby
lomex has joined #ruby
jrhorn424 has quit [Ping timeout: 250 seconds]
roshanavand has joined #ruby
dhollin3 has joined #ruby
venmx has joined #ruby
roshanavand has quit [Remote host closed the connection]
BH23 has joined #ruby
BH23 has quit [Remote host closed the connection]
roshanavand has joined #ruby
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
roshanavand has quit [Remote host closed the connection]
za1b1tsu has joined #ruby
TheBloke has quit [Ping timeout: 252 seconds]
aufi has quit [Ping timeout: 252 seconds]
c0ncealed4 has quit [Remote host closed the connection]
<Iambchop> marz_d`ghostman: not "test specific", but look at StringIO?
c0ncealed4 has joined #ruby
yohji has joined #ruby
dviola has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
esrse has quit [Ping timeout: 272 seconds]
za1b1tsu has quit [Quit: WeeChat 2.3]
queip has quit [Read error: Connection reset by peer]
lomex has joined #ruby
roshanavand has joined #ruby
themsay has quit [Ping timeout: 240 seconds]
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
themsay has joined #ruby
queip has joined #ruby
jordila has joined #ruby
roshanavand has quit [Remote host closed the connection]
marmotini_ has quit [Ping timeout: 268 seconds]
Guest24308 has quit [Remote host closed the connection]
nowhere_man has joined #ruby
GodFather has joined #ruby
jrhorn424 has joined #ruby
jrhorn424 has quit [Client Quit]
marmotini_ has joined #ruby
GodFather has quit [Ping timeout: 252 seconds]
paraxial has quit [Ping timeout: 245 seconds]
paraxial has joined #ruby
AJA4350 has joined #ruby
Spitfire has quit [Ping timeout: 264 seconds]
Spitfire has joined #ruby
nertzy has joined #ruby
roshanavand has joined #ruby
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
raggi has quit [Ping timeout: 264 seconds]
raggi has joined #ruby
aufi has joined #ruby
roshanavand has quit [Remote host closed the connection]
dviola has quit [Quit: WeeChat 2.3]
roshanavand has joined #ruby
jamied has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yohji has quit [Remote host closed the connection]
roshanavand has quit [Remote host closed the connection]
thinkpad has quit [Quit: lawl]
Danielss89 has joined #ruby
thinkpad has joined #ruby
marmotini_ has quit [Remote host closed the connection]
marmotini_ has joined #ruby
Guest61808 has quit [Ping timeout: 240 seconds]
Guest61808 has joined #ruby
Guest61808 has quit [Ping timeout: 246 seconds]
LinuxKnight has quit [Remote host closed the connection]
keden has quit [Ping timeout: 272 seconds]
LinuxKnight has joined #ruby
marmotini_ has quit [Ping timeout: 268 seconds]
roshanavand has joined #ruby
ur5us has joined #ruby
Guest61808 has joined #ruby
ur5us has quit [Ping timeout: 252 seconds]
queip has quit [Read error: Connection reset by peer]
yohji has joined #ruby
gregf_ has joined #ruby
apparition has quit [Quit: Bye]
queip has joined #ruby
jordila has quit [Ping timeout: 252 seconds]
yohji has quit [Quit: Leaving]
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
keden has joined #ruby
jamied has joined #ruby
<marz_d`ghostman> Iambchop: thanks I'll look into it
marz_d`ghostman has quit [Quit: Page closed]
nowhere_man has quit [Ping timeout: 252 seconds]
nowhere_man has joined #ruby
nowhere_man has quit [Remote host closed the connection]
hiroaki has joined #ruby
GodFather has joined #ruby
TheBloke has joined #ruby
roshanavand has quit [Remote host closed the connection]
keden has quit [Ping timeout: 268 seconds]
vondruch_ has joined #ruby
vondruch has quit [Ping timeout: 260 seconds]
vondruch_ is now known as vondruch
roshanavand has joined #ruby
roshanavand has quit [Remote host closed the connection]
bmurt has joined #ruby
bmurt has quit [Client Quit]
bmurt has joined #ruby
maximjaffe has joined #ruby
keden has joined #ruby
crankhar1er has joined #ruby
keden has quit [Ping timeout: 268 seconds]
vonfry has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch_ has joined #ruby
vonfry has quit [Quit: WeeChat 2.2]
jcalla has joined #ruby
roshanavand has joined #ruby
paraxial has quit [Ping timeout: 246 seconds]
alan_w has joined #ruby
paraxial has joined #ruby
discopatrick has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
crankhar1er has quit [Ping timeout: 268 seconds]
crankhar1er has joined #ruby
nertzy has quit [Quit: This computer has gone to sleep]
awkwords has joined #ruby
paulscoder has joined #ruby
donofrio has joined #ruby
jsc has joined #ruby
jsc is now known as status402
GodFather has quit [Ping timeout: 252 seconds]
RougeR has joined #ruby
<RougeR> hello, has anyone got experience running resque/resque scheduler with docker
rippa has joined #ruby
daemonwrangler has joined #ruby
Guest61808 has quit [Ping timeout: 264 seconds]
Guest61808 has joined #ruby
arup_r has joined #ruby
Rapture has joined #ruby
MoritaShinobu has quit [Ping timeout: 244 seconds]
keden has joined #ruby
cmckee has joined #ruby
paulscoder has quit [Quit: paulscoder]
cmckee has quit [Quit: cmckee]
troulouliou_div2 has joined #ruby
vondruch_ has quit [Quit: vondruch_]
vondruch has joined #ruby
kaleido has joined #ruby
keden has quit [Ping timeout: 245 seconds]
akaiiro has joined #ruby
keden has joined #ruby
arup_r has quit [Remote host closed the connection]
GodFather has joined #ruby
arup_r has joined #ruby
Inline has joined #ruby
akaiiro has quit [Remote host closed the connection]
Inside has joined #ruby
Tuor has joined #ruby
dviola has joined #ruby
akaiiro has joined #ruby
whysthatso has quit [Quit: whysthatso]
queip has quit [Read error: Connection reset by peer]
aufi has quit [Ping timeout: 250 seconds]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
queip has joined #ruby
status402 has quit [Ping timeout: 272 seconds]
akosednar has quit [Ping timeout: 244 seconds]
dinfuehr has quit [Ping timeout: 252 seconds]
troulouliou_div2 has quit [Read error: Connection reset by peer]
dinfuehr has joined #ruby
status402 has joined #ruby
Burgestrand has quit [Quit: Closing time!]
themsay has quit [Ping timeout: 244 seconds]
akosednar has joined #ruby
status402 has quit [Quit: status402]
ellcs has quit [Ping timeout: 268 seconds]
ujjain has joined #ruby
saltsa has joined #ruby
desperek has joined #ruby
conta has quit [Ping timeout: 272 seconds]
arup_r has quit []
aufi has joined #ruby
GodFather has quit [Ping timeout: 250 seconds]
mostlybadfly has joined #ruby
Exuma has joined #ruby
aufi has quit [Read error: Connection reset by peer]
aufi has joined #ruby
maximjaffe has quit [Ping timeout: 260 seconds]
elphe has quit [Ping timeout: 264 seconds]
elphe has joined #ruby
queip has quit [Read error: Connection reset by peer]
jetchisel has joined #ruby
NL3limin4t0r has joined #ruby
NL3limin4t0r has quit [Client Quit]
whysthatso has joined #ruby
queip has joined #ruby
lomex has joined #ruby
jaddison has joined #ruby
cow[moo] has joined #ruby
dhollin3 is now known as dhollinger
AJA4350 has quit [Quit: AJA4350]
nowhere_man has joined #ruby
Guest61808 has quit [Ping timeout: 260 seconds]
Guest61808 has joined #ruby
clemens3 has quit [Ping timeout: 252 seconds]
Guest61808 has quit [Ping timeout: 246 seconds]
Guest61808 has joined #ruby
nchambers has joined #ruby
Guest61808 has quit [Ping timeout: 252 seconds]
aces1up has joined #ruby
<aces1up> just asking here this ROR question as you guys seem more active
<aces1up> hey all i have been searching around but can not find an answer to this. when i save a datetime to column in rails I know it saves it as utc.. How can I later do a query on that datetime to see if it has passed a certain time in another timezone?
<aces1up> <aces1up> it is as simple as querying the database using a datetime object set with a different timezone and AR knows what to do from there?
jordila has joined #ruby
Guest61808 has joined #ruby
<RougeR> aces1up, what db
jaddison has quit [Quit: jaddison]
<RougeR> might be of interest
<RougeR> could be that you have to write a sql method otherwise you are going to be doing the checks in rails
<aces1up> RougeR mysql
<aces1up> RougeR shouldnt i be having AR do the checks?
<aces1up> this is actually a standalone ruby project not rails
<aces1up> but i use active record for dbase stuff
<RougeR> aces1up, ah okay, i dont use rails much either
<RougeR> mostly pure ruby/sinatra
<aces1up> yeh i use unicorn for web stuff
<RougeR> aces1up, AR is just a DSL for sql
<RougeR> i dont think what you want can be done in active record
<RougeR> and you dont want to load all the objects into memory
<bougyman> AR is an orm
<aces1up> but activ support has new timezone stuff i should be using in my queries
<bougyman> arel is the dsl for sql, no?
<RougeR> idont know how mysql stores timestamps
<RougeR> i mostly stick to postgres
<RougeR> ill have a look
<RougeR> timezones*
<aces1up> right now i have an app where i was storing all things as unix timestamp, now i need to adapt it to retreieve stuff based on biz location / timezone
GodFather has joined #ruby
<aces1up> from what i seeing i need to create new columns of datetime.
<RougeR> same as postgres
<RougeR> aces1up, it doesnt store a timezone field though i think
<aces1up> and do comparisons with date time objects in AR instead of unix timestamps.
<RougeR> it just stores adds an offset
<RougeR> youll want to compare against created_at or maybe current_time
<aces1up> RougeR as long as AR gets the queries right im good
<RougeR> aces1up, how are you storing the objects
<aces1up> i understand it stored things as UTC.
<RougeR> id add a column for timezone
<aces1up> RougeR everything based off unix time stamp using Time.now.to_i
<RougeR> ah kk
<aces1up> i have column now for timezone..
<aces1up> need to integrate it.
<RougeR> you already do, or you just made one?
<aces1up> but can i use my timestamps?
<RougeR> aces1up, maybe, im just trying to think how to do it
<aces1up> or should i just switch over everything to date time object so AR can do queries against timezone of business?
<RougeR> aces1up, how often will this query be run
<RougeR> and against how big a db
jrhorn424 has joined #ruby
<aces1up> its polling businesses for new leads that come in.. so i have a cron job running every 30 secs.
<RougeR> you could just do
<aces1up> not too big a db now.
cthulchu has joined #ruby
<RougeR> hmm
<RougeR> sorry i gotta be brb
<RougeR> im not being much help, trying to finish something at work
<aces1up> sure let me know your thoughts if i can adapt just Timestamps to work with timezones.
<RougeR> yeah i will do. i honestly might not be back for a while. :(
<aces1up> i guess i need to convert the timestamp to time object then convert to timezone but then how would I do a query with all those conversions.
<RougeR> i would recommend reading this
<RougeR> and related
<RougeR> seems similar
<aces1up> sure man will do
<aces1up> thanks for the help
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest61808 has quit [Ping timeout: 268 seconds]
RougeR has quit [Ping timeout: 268 seconds]
mangold has joined #ruby
queip has quit [Read error: Connection reset by peer]
crankhar1er has quit [Ping timeout: 252 seconds]
\void has joined #ruby
Dbugger has joined #ruby
jcarl43 has joined #ruby
GodFather has quit [Ping timeout: 250 seconds]
mistergibson has quit [Remote host closed the connection]
maximjaffe has joined #ruby
queip has joined #ruby
sanscoeur has joined #ruby
elphe has quit [Ping timeout: 244 seconds]
aufi has quit [Ping timeout: 240 seconds]
dkmueller has joined #ruby
venmx has quit [Ping timeout: 244 seconds]
jetchisel has quit [Ping timeout: 246 seconds]
jetchisel has joined #ruby
GodFather has joined #ruby
keden has quit [Quit: WeeChat 2.3]
crankhar1er has joined #ruby
fmccann has joined #ruby
crankhar1er has quit [Ping timeout: 268 seconds]
<baweaver> What's the latest hotness for Timeout in Ruby?
dviola has quit [Quit: WeeChat 2.3]
<baweaver> Timeout::timeout is still its regular old fun self.
Arkantos has joined #ruby
reber has joined #ruby
Tuor has quit [Quit: Konversation terminated!]
joufflu has joined #ruby
<joufflu> sup dudes
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lytol has joined #ruby
elcontrastador has joined #ruby
crankhar1er has joined #ruby
Arkantos has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has joined #ruby
queip has quit [Read error: Connection reset by peer]
gregf_ has quit [Ping timeout: 256 seconds]
awkwords has quit [Quit: sleepy time]
TheBloke has quit [Quit: Textual IRC Client: www.textualapp.com]
GodFather has quit [Ping timeout: 260 seconds]
awkwords has joined #ruby
tdy has quit [Ping timeout: 246 seconds]
sgen has joined #ruby
Puffball has quit [Remote host closed the connection]
Puffball has joined #ruby
queip has joined #ruby
jrhorn424 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
awkwords has quit [Quit: sleepy time]
dellavg_ has joined #ruby
awkwords has joined #ruby
awkwords has quit [Client Quit]
<phaul> &list timeout
<rubydoc> OpenSSL::SSL::Session#timeout, Object#timeout, Timeout.timeout, WEBrick::Utils.timeout
<phaul> &ri Object#timeout
jrhorn424 has joined #ruby
<al2o3-cr> Object.timeout is deprecated.
awkwords has joined #ruby
awkwords has quit [Client Quit]
<al2o3-cr> *Object#timeout
tdy has joined #ruby
jordila has quit [Ping timeout: 240 seconds]
goatish has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
emerson has quit [Quit: WeeChat 2.3]
Arkantos_ has joined #ruby
aces1up has quit []
queip has quit [Read error: Connection reset by peer]
OrangeManBad has quit [Ping timeout: 260 seconds]
OrangeManBad has joined #ruby
SeepingN has joined #ruby
cd has quit [Quit: cd]
reber has quit [Remote host closed the connection]
queip has joined #ruby
cagomez has joined #ruby
jobewan has joined #ruby
Mike11 has joined #ruby
hiroaki has quit [Ping timeout: 252 seconds]
jrhorn424 has quit [Quit: Textual IRC Client: www.textualapp.com]
Puffball has quit [Remote host closed the connection]
OrangeManBad has quit [Ping timeout: 260 seconds]
Puffball has joined #ruby
Ghosties has joined #ruby
gnufied has joined #ruby
<Ghosties> hello, are there any ruby gems for screen recording?
pabs has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
phaul has quit [Ping timeout: 246 seconds]
sgen has quit [Ping timeout: 252 seconds]
OrangeManBad has joined #ruby
tdy has quit [Ping timeout: 272 seconds]
Ghosties has left #ruby ["fat people are easier to kidnap"]
sgen has joined #ruby
queip has quit [Read error: Connection reset by peer]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mostlybadfly has quit [Quit: Connection closed for inactivity]
elphe has joined #ruby
cow[moo] has joined #ruby
Puffball has quit [Remote host closed the connection]
Puffball has joined #ruby
nowhere_man has quit [Ping timeout: 252 seconds]
queip has joined #ruby
impermanence has joined #ruby
dkmueller has quit [Quit: Lost terminal]
sgen has quit [Remote host closed the connection]
akem has joined #ruby
joufflu has quit [Ping timeout: 256 seconds]
conta has joined #ruby
conta has quit [Client Quit]
sanscoeu_ has joined #ruby
sanscoeur has quit [Ping timeout: 268 seconds]
dellavg_ has quit [Ping timeout: 244 seconds]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Azure has joined #ruby
cow[moo] has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
saltsa has quit [Quit: leaving]
sanscoeu_ has quit [Remote host closed the connection]
goatish has quit [Quit: bye]
sanscoeur has joined #ruby
sanscoeur has quit [Remote host closed the connection]
Arkantos_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
minimal_life has joined #ruby
queip has quit [Read error: Connection reset by peer]
akem has quit [Read error: Connection reset by peer]
sanscoeur has joined #ruby
themsay has joined #ruby
jobewan has quit [Quit: jobewan]
jetchisel has quit [Ping timeout: 252 seconds]
Dbugger has quit [Ping timeout: 252 seconds]
nowhere_man has joined #ruby
queip has joined #ruby
patr0clus has joined #ruby
sagax has joined #ruby
whysthatso has quit [Quit: whysthatso]
nowhere_man has quit [Ping timeout: 252 seconds]
Inline has quit [Read error: Connection reset by peer]
dviola has joined #ruby
Arkantos has joined #ruby
moei has quit [Quit: Leaving...]
akem has joined #ruby
patr0clus has quit [Quit: WeeChat 2.1]
akem__ has joined #ruby
akem has quit [Ping timeout: 240 seconds]
akem__ has quit [Quit: Leaving]
discopatrick has quit [Quit: Connection closed for inactivity]
jcarl43 has quit [Quit: WeeChat 2.3]
quipa_ has joined #ruby
dionysus69_ has joined #ruby
spiette has quit [Quit: ZNC 1.7.1 - https://znc.in]
catsed has joined #ruby
duckpuppy has joined #ruby
Puffball_ has joined #ruby
elphe_ has joined #ruby
DTZUZO_ has joined #ruby
jokke2 has joined #ruby
Xeago_ has joined #ruby
asphyxia_ has joined #ruby
funnel_ has joined #ruby
bmurt has quit [Ping timeout: 268 seconds]
NightMonkey has quit [Ping timeout: 268 seconds]
DTZUZO has quit [Ping timeout: 268 seconds]
Fire-Dragon-DoL has quit [Ping timeout: 268 seconds]
Xeago has quit [Ping timeout: 268 seconds]
cats has quit [Ping timeout: 268 seconds]
KazeFX has quit [Ping timeout: 268 seconds]
duckpupp- has quit [Ping timeout: 268 seconds]
impermanence has quit [Ping timeout: 268 seconds]
maximjaffe has quit [Ping timeout: 268 seconds]
vondruch has quit [Ping timeout: 268 seconds]
akosednar has quit [Ping timeout: 268 seconds]
dionysus69 has quit [Ping timeout: 268 seconds]
segy has quit [Ping timeout: 268 seconds]
nicolasb has quit [Ping timeout: 268 seconds]
jokke has quit [Ping timeout: 268 seconds]
j416 has quit [Ping timeout: 268 seconds]
havenwood has quit [Ping timeout: 268 seconds]
Puffball has quit [Ping timeout: 268 seconds]
asphyxia has quit [Ping timeout: 268 seconds]
Tom-_ has quit [Ping timeout: 268 seconds]
eckhardt has quit [Ping timeout: 268 seconds]
funnel has quit [Ping timeout: 268 seconds]
Liothen has quit [Ping timeout: 268 seconds]
elphe has quit [Ping timeout: 268 seconds]
catsed is now known as cats
chongtxtx has quit [Ping timeout: 268 seconds]
Xeago_ is now known as Xeago
dionysus69_ is now known as dionysus69
funnel_ is now known as funnel
havenwood has joined #ruby
NightMonkey has joined #ruby
j416 has joined #ruby
chongtxtx has joined #ruby
Fire-Dragon-DoL has joined #ruby
segy has joined #ruby
akosednar has joined #ruby
queip has quit [Read error: Connection reset by peer]
beowuff has joined #ruby
spiette has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cow[moo] has joined #ruby
crankhar1er has quit [Ping timeout: 245 seconds]
Arkantos has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
queip has joined #ruby
dviola has quit [Quit: WeeChat 2.3]
postmodern has joined #ruby
alan_w has quit [Ping timeout: 244 seconds]
tdy has joined #ruby
AJA4350 has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Tom-_ has joined #ruby
dachi` has joined #ruby
<dachi`> hi
<dachi`> how do you do
<dachi`> something like
<dachi`> public_send(res.reason_phrase == "Created" ? *[:a, "PR Created"] : *[:a, "PR not created"])
<dachi`> I mean the :a in last would be :b
BH23 has joined #ruby
<baweaver> dachi`: What's the full code there?
<baweaver> You should probably break it into multiple methods
<baweaver> 99% of the time you don't need send
<dachi`> So I'd like to convert [:smth, "Arg"] to argument that I can pass to function
<dachi`> baweaver: Ok i'll break it down then
<dachi`> Thanks
cow[moo] has joined #ruby
nfk has joined #ruby
dachi has joined #ruby
<zenspider> dachi: that looks like an if statement to me. Don't be clever when you don't need to be
<dachi`> zenspider: thanks
<Radar> strong agree with zenspider
cow[moo] has quit [Client Quit]
<dachi`> Radar: thanks I broke it down, I was just thinking that one line would be better, but still this looks nicer now
<Radar> Out of those three options I would pick B. Ternaries are good for short bits of code and I think the string there makes it too long.
<Radar> lines of code are cheap
<dachi`> yep thanks guys. i'll leave, i had this bnc but seems something went wrang. I'm in a hurry, tty later maybe, I remember Radar and some other names for 4-5 years already
dachi` has quit [Quit: Page closed]
discopatrick has joined #ruby
<zenspider> I could use some jruby help. I posted 2 questions in #jruby but they're dead
desperek has quit [Quit: xoxo]
sanscoeur has quit [Remote host closed the connection]
<Radar> zenspider: fire away
<zenspider> first foray into jruby in a looong time. Having some problems. Installed 9.2.4.0 via rbenv, but I'm getting heavy handed warnings on every invocation about reflection & security? Is there something I should be doing?
awkwords has joined #ruby
<zenspider> I've literally just installed and fired off
<zenspider> Second problem: rbenv seems to hate jgem and probably everything else? stubs just bitch and give up. I have to full path everything. Clue?
<zenspider> java is openjdk 11 2018-09-25 via homebrew
sanscoeur has joined #ruby
queip has quit [Read error: Connection reset by peer]
queip has joined #ruby
OrangeManBad has quit [Ping timeout: 260 seconds]
DTZUZO_ has quit [Quit: WeeChat 2.0]
dubuc has joined #ruby
<dubuc> Hello channel
sagax has quit [Remote host closed the connection]
<dubuc> I have a ruby noob question probably
hutch has joined #ruby
<dubuc> I am using Puppet provided by my platform team. And for some reason, an Array.to_yaml.lines returns Enumerable instead of Array.
<dubuc> Ruby 2.1.9 apparently.
<zenspider> that is expected
<zenspider> what are you actually trying to do?
<zenspider> you probably don't want `to_yaml.lines` at all, right? what would you be doing with the yaml?
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
<dubuc> Well this got committed into the puppet module I am using
quipa_ has quit [Ping timeout: 240 seconds]
<zenspider> that's old / bad code. hands down
<dubuc> and essentially dooes to_yaml.lines[1..-1].join()
<dubuc> ha
<zenspider> that worked in... 1.9, maybe? 1.8 definitely
<zenspider> they're trying to drop the first line
<zenspider> for whatever reason
<zenspider> you can modify it to be lines.to_a[1..-1]
<dubuc> yeah because the to_yaml adds ["--- blah blah"]
<dubuc> and it doesnt want the "---"
<zenspider> but really, what they're doing is stupid
<dubuc> :)
<zenspider> that first line is absolutely valid yaml.
<dubuc> it is! but it's a yaml config file. I think they wanted a workaround
<dubuc> So what would be the best practice way to drop the "---"?
<zenspider> there's a lot wrong with that diff fragment already
awkwords has quit [Quit: sleepy time]
<zenspider> ah. ok. I see. they're doing this in a yml.erb file... so no, the --- isn't valid at that location... the problem is using to_yaml at all. sec.
SeepingN has quit [Ping timeout: 272 seconds]
<dubuc> btw thanks a lot for your insight zenspider
awkwords has joined #ruby
awkwords has quit [Client Quit]