havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.0, 2.5.3, 2.4.5: 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!
rkazak has joined #ruby
gix has quit [Ping timeout: 246 seconds]
virmagicis has joined #ruby
hutch has quit [Ping timeout: 258 seconds]
Renich has joined #ruby
regedit has quit [Quit: Connection closed for inactivity]
tiff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tiff has joined #ruby
uplime is now known as firetruplime
uplime has joined #ruby
hutch has joined #ruby
hutch has quit [Ping timeout: 250 seconds]
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ruby
firetruplime has quit [Ping timeout: 268 seconds]
tiff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch has joined #ruby
themsay has quit [Ping timeout: 240 seconds]
decal has joined #ruby
kent\n has quit [Ping timeout: 250 seconds]
SuperLag has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
rkazak has joined #ruby
kent\n has joined #ruby
davidw has quit [Ping timeout: 258 seconds]
orbyt_ has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
rkazak has quit [Quit: Sleep.....ing....]
tdy has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
davidw has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
armyriad has joined #ruby
bga57 has joined #ruby
tdy has quit [Ping timeout: 250 seconds]
ua_ has joined #ruby
ua has quit [Ping timeout: 258 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sanscoeur has quit [Ping timeout: 245 seconds]
davidw has quit [Ping timeout: 246 seconds]
tdy has joined #ruby
orbyt_ has joined #ruby
conta has joined #ruby
virmagicis has quit [Quit: Connection closed for inactivity]
_whitelogger has joined #ruby
conta has quit [Ping timeout: 246 seconds]
tdy has quit [Ping timeout: 244 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid has joined #ruby
TomyLobo has quit [Ping timeout: 268 seconds]
orbyt_ has joined #ruby
cschneid has quit [Remote host closed the connection]
esrse has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
r29v has quit [Quit: r29v]
tdy has joined #ruby
bmurt has joined #ruby
Renich has quit [Quit: Renich]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch has quit [Ping timeout: 245 seconds]
envex has quit []
cthulchu_ has quit [Ping timeout: 244 seconds]
hutch has joined #ruby
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
asphyxia has joined #ruby
conta has joined #ruby
hutch has quit [Ping timeout: 250 seconds]
conta has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
orbyt_ has quit [Client Quit]
braincrash has quit [Quit: bye bye]
KeyJoo has joined #ruby
nertzy has joined #ruby
braincrash has joined #ruby
hutch has joined #ruby
sauvin has joined #ruby
TomyLobo has joined #ruby
hutch has quit [Ping timeout: 250 seconds]
indocomsoft has joined #ruby
davidw has joined #ruby
tdy1 has joined #ruby
lytol_ has joined #ruby
cnsvc has joined #ruby
badeball1 has joined #ruby
Puffball_ has joined #ruby
yokel_ has joined #ruby
r29v has joined #ruby
lghtstkr has joined #ruby
indocomsoft has quit [*.net *.split]
tdy has quit [*.net *.split]
bvdw has quit [*.net *.split]
Puffball has quit [*.net *.split]
moei has quit [*.net *.split]
olspookishmagus has quit [*.net *.split]
jordanm has quit [*.net *.split]
paraxial has quit [*.net *.split]
lightstalker has quit [*.net *.split]
yokel has quit [*.net *.split]
yokel_ is now known as yokel
bvdw has joined #ruby
paraxial has joined #ruby
duderonomy has joined #ruby
cschneid has joined #ruby
hutch has joined #ruby
nertzy has quit [Quit: This computer has gone to sleep]
vondruch has quit [Ping timeout: 250 seconds]
Inline has quit [Quit: Leaving]
r29v has quit [Quit: r29v]
dinfuehr has quit [Ping timeout: 246 seconds]
zenogais has quit [Ping timeout: 245 seconds]
dinfuehr has joined #ruby
davidw has quit [Ping timeout: 272 seconds]
marmotini_ has joined #ruby
dinfuehr has quit [Ping timeout: 245 seconds]
hutch has quit [Ping timeout: 252 seconds]
dinfuehr has joined #ruby
cschneid has quit [Ping timeout: 260 seconds]
marmotini_ has quit [Remote host closed the connection]
marmotini_ has joined #ruby
dinfuehr_ has joined #ruby
dinfuehr has quit [Ping timeout: 246 seconds]
Tempesta has quit [Ping timeout: 250 seconds]
Tempesta has joined #ruby
dinfuehr has joined #ruby
dinfuehr_ has quit [Ping timeout: 272 seconds]
za1b1tsu has joined #ruby
orbyt_ has joined #ruby
asphyxia has quit [Quit: Lost terminal]
maufart__ has joined #ruby
dinfuehr has quit [Ping timeout: 264 seconds]
conta has joined #ruby
ansraliant has joined #ruby
dinfuehr has joined #ruby
hiroaki has quit [Ping timeout: 260 seconds]
dinfuehr_ has joined #ruby
dinfuehr has quit [Ping timeout: 244 seconds]
dinfuehr_ has quit [Ping timeout: 272 seconds]
dinfuehr has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jgnagy has joined #ruby
jgnagy has quit []
mikecmpbll has quit [Excess Flood]
jgnagy has joined #ruby
mikecmpbll has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
themsay has joined #ruby
Flonk has quit [Ping timeout: 250 seconds]
dinfuehr has quit [Ping timeout: 268 seconds]
marmotini_ has quit [Remote host closed the connection]
dinfuehr has joined #ruby
marmotini_ has joined #ruby
cschneid has joined #ruby
uplime has quit [Quit: WeeChat 2.2]
dinfuehr has quit [Ping timeout: 252 seconds]
themsay has quit [Ping timeout: 240 seconds]
themsay has joined #ruby
dinfuehr has joined #ruby
dinfuehr has quit [Ping timeout: 250 seconds]
dinfuehr has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marmotini_ has quit [Remote host closed the connection]
marmotini_ has joined #ruby
RougeR has quit [Ping timeout: 246 seconds]
cschneid has quit [Ping timeout: 272 seconds]
profetes has joined #ruby
marmotini_ has quit [Remote host closed the connection]
marmotini_ has joined #ruby
drale2k_ has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
cnsvc has quit [Remote host closed the connection]
d^sh_ has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
d^sh has quit [Ping timeout: 268 seconds]
DTZUZO has quit [Ping timeout: 250 seconds]
drale2k_ has joined #ruby
drale2k_ has quit [Client Quit]
drale2k_ has joined #ruby
clemens3 has joined #ruby
drale2k_ has quit [Ping timeout: 240 seconds]
<za1b1tsu> Anyone using reek as a linter. So I have this method in a module. The module is a collection of methods that generate random data and the method generates a random letter. Reek complains about: UtilityFunction
<za1b1tsu> I mean a UtilityFunction should be in a module, correct? Where should I put it then
<za1b1tsu> ah it wans self.method, ok kidna makes sense
<za1b1tsu> kinda
dionysus69 has quit [Ping timeout: 272 seconds]
stryek has quit [Quit: Connection closed for inactivity]
themsay has quit [Ping timeout: 246 seconds]
tdy1 has quit [Ping timeout: 246 seconds]
cnsvc has joined #ruby
s2013 has joined #ruby
marmotini_ has quit [Remote host closed the connection]
marmotini_ has joined #ruby
ansraliant has quit [Quit: My planet needs me]
marmotini_ has quit [Remote host closed the connection]
marmotini_ has joined #ruby
jmcgnh has quit [Read error: Connection reset by peer]
jmcgnh has joined #ruby
nowhere_man has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
mikecmpbll has quit [Client Quit]
nowhere_man has joined #ruby
n13z has joined #ruby
vondruch has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<za1b1tsu> I'm researching best practises to use custom errors, and I see that usually they are put in lib/my_app/exceptions.rb
<za1b1tsu> but what if an exception is tied to a certain module/class, do I define the exception in the module/class definition or do I still put in lib/my_app/exceptions.rb?
mikecmpbll has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
<tbuehlmann> za1b1tsu: up to you really, I think both options are good ones
dionysus69 has joined #ruby
<za1b1tsu> tbuehlmann, I really like the idea of lib/my_app/exceptions.rb instead of having exceptions all other the place. But this means I should have more generic error classes
yokel has quit [Remote host closed the connection]
jinie_ has quit [Quit: ZNC 1.6.1 - http://znc.in]
yokel has joined #ruby
clemens3 has quit [Quit: WeeChat 2.1]
lxsameer has joined #ruby
clemens3 has joined #ruby
clemens3 has quit [Client Quit]
jsrn has joined #ruby
RougeR has joined #ruby
clemens3 has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
cnsvc has quit [Quit: WeeChat 2.2]
clemens3 has quit [Remote host closed the connection]
cschneid has joined #ruby
Dbugger has joined #ruby
RougeRR has joined #ruby
RougeR has quit [Ping timeout: 268 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lunarkittychan is now known as lunarkitty7
clemens3 has joined #ruby
ziyadb has joined #ruby
cschneid has quit [Ping timeout: 250 seconds]
ldnunes has joined #ruby
jsrn has quit [Quit: Leaving]
Puffball_ has quit [Remote host closed the connection]
RougeRR has quit [Read error: Connection reset by peer]
RougeR has joined #ruby
troulouliou_div2 has joined #ruby
<RougeR> hey
<RougeR> can anyone explain why this doesnt work
<RougeR> result.dig(:work, :workers) += 1
<RougeR> the value its incrementing is an integer
<RougeR> it also works if i dont use dig
<canton7> RougeR, for the same reason that 'workers = result.dig(:work, :workers); workers += `' "doesn't work"
<canton7> in that it increments the 'workers' variable, not the value of result[:work][:workers]
maetthew has left #ruby ["Leaving"]
Flonk has joined #ruby
cschneid has joined #ruby
badeball1 has quit [Quit: WeeChat 2.3]
<phaul> &>> a = [1,2]; b = a; a += [3]; [a, b]
badeball has joined #ruby
<rubydoc> # => [[1, 2, 3], [1, 2]] (https://carc.in/#/r/5yft)
RedNifre has joined #ruby
<phaul> so as canton7 said. Plus apart from += doesn't modify as it's just a shorthand for .. = .. + .., integers cannot be modified anyway. there is no way to monkey patch a method into Integer that modifies the value of self
<canton7> but, there's no need for dig here. Just do 'result[:work][:workers] += 1'
badeball has quit [Quit: WeeChat 1.6]
InfinityFye has joined #ruby
RedNifre has quit [Ping timeout: 268 seconds]
RedNifre has joined #ruby
badeball has joined #ruby
troulouliou_div2 has quit [Ping timeout: 240 seconds]
za1b1tsu has quit [Ping timeout: 268 seconds]
<phaul> there must be a further magic that makes that work. namely it calls []=. because [] returns the same object as dig, so there is no difference there.
cschneid has quit [Ping timeout: 268 seconds]
vondruch_ has joined #ruby
<canton7> well, '+=' will expand to 'result[:work][:workers] = result[:work][:workers] + 1'
vondruch has quit [Ping timeout: 272 seconds]
vondruch_ is now known as vondruch
Emmanuel_Chanel has quit [Ping timeout: 246 seconds]
troulouliou_div2 has joined #ruby
<phaul> yeah, it's quite invlolved. (result.[](:work)).[]=(:workers, (result.[](:work)).[](:workers).+(1))) if im parsing it correctly
<phaul> &ast>> result[:workers][:work] += 1
<rubydoc> I have parsed your code, the result is at https://carc.in/#/r/5yfy
<phaul> ast doesn't expand it
lxsameer has quit [Ping timeout: 250 seconds]
fiachetti has joined #ruby
lxsameer has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
nertzy has joined #ruby
armyriad has joined #ruby
lucasb has joined #ruby
lxsameer has quit [Ping timeout: 246 seconds]
troulouliou_div2 has quit [Ping timeout: 268 seconds]
vondruch has quit [Quit: vondruch]
esrse has quit [Quit: 좋은 밤~]
vondruch has joined #ruby
donofrio has quit [Remote host closed the connection]
Dbugger has quit [Quit: Leaving]
donofrio has joined #ruby
reber has joined #ruby
troulouliou_div2 has joined #ruby
wmoxam has quit [Ping timeout: 250 seconds]
bmurt has joined #ruby
nertzy has quit [Quit: This computer has gone to sleep]
Emmanuel_Chanel has joined #ruby
lxsameer has joined #ruby
troulouliou_div2 has quit [Ping timeout: 244 seconds]
sarink has joined #ruby
sarink has quit [Ping timeout: 240 seconds]
InfinityFye has quit [Quit: Leaving]
johnny56_ has quit [Ping timeout: 272 seconds]
conta has quit [Ping timeout: 246 seconds]
Emmanuel_Chanel has quit [Ping timeout: 250 seconds]
themsay has joined #ruby
davidw has joined #ruby
krawchyk has joined #ruby
themsay has quit [Ping timeout: 272 seconds]
KeyJoo has quit [Quit: KeyJoo]
conta has joined #ruby
johnny56_ has joined #ruby
conta has quit [Ping timeout: 268 seconds]
dviola has joined #ruby
clemens3 has quit [Quit: WeeChat 2.1]
clemens3 has joined #ruby
cschneid has joined #ruby
saTchymoto has joined #ruby
conta has joined #ruby
saTchymoto has quit []
jordanm has joined #ruby
go|dfish has quit [Ping timeout: 250 seconds]
grvgr has joined #ruby
davidw has quit [Ping timeout: 252 seconds]
grvgr has quit [Client Quit]
dviola has quit [Quit: WeeChat 2.3]
Rapture has joined #ruby
gnufied has joined #ruby
marmotini_ has quit [Quit: Leaving]
vondruch_ has joined #ruby
chouhoulis has joined #ruby
cschneid has quit [Ping timeout: 246 seconds]
Inline has joined #ruby
za1b1tsu has joined #ruby
vondruch has quit [Ping timeout: 244 seconds]
vondruch_ is now known as vondruch
Emmanuel_Chanel has joined #ruby
cschneid has joined #ruby
DTZUZO has joined #ruby
sarink has joined #ruby
uplime has joined #ruby
conta has quit [Ping timeout: 250 seconds]
Emmanuel_Chanel has quit [Max SendQ exceeded]
maryo has joined #ruby
sarink has quit [Ping timeout: 240 seconds]
Emmanuel_Chanel has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
cschneid has quit [Ping timeout: 252 seconds]
rippa has joined #ruby
<RougeR> any resque/redis experts here?
SeepingN has joined #ruby
conta has joined #ruby
<RougeR> trying to get a worker to register its queue as a key in redis when it is brought online
RedNifre has quit [Ping timeout: 252 seconds]
RedNifre has joined #ruby
dalpo has joined #ruby
powerbit has quit [Remote host closed the connection]
chouhoulis has joined #ruby
polishdub has joined #ruby
cschneid has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
cschneid has quit [Remote host closed the connection]
cschneid has joined #ruby
uplime has quit [Quit: brb]
uplime has joined #ruby
GodFather has joined #ruby
Renich has joined #ruby
hutch has joined #ruby
dinfuehr has quit [Ping timeout: 245 seconds]
sarink has joined #ruby
dinfuehr has joined #ruby
tdy1 has joined #ruby
cow[moo] has joined #ruby
Renich has quit [Ping timeout: 250 seconds]
Renich has joined #ruby
nowhere_man has quit [Ping timeout: 252 seconds]
kidPalooma has joined #ruby
maufart__ has quit [Ping timeout: 244 seconds]
conta has quit [Quit: conta]
davidw has joined #ruby
dviola has joined #ruby
<dviola> hi
<phaul> hi
<havenwood> hi
sylario has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
cthulchu_ has joined #ruby
<dviola> I've wrote some code to "normalize" some text but I'm not exactly proud of my normalize method, I was wondering if I can get some help :P
krawchyk has quit [Quit: krawchyk]
<dviola> it does work but I'm out of ideas how to make it better
<dviola> People#normalize
krawchyk has joined #ruby
<mspo> yeah seems kind of repeat-y
<dviola> mostly I'm trying to refactor this method because I'm calling #each 5 times, it feels kinda wrong
<havenwood> dviola: Are all keys either `:comma` or `:dollar`?
<dviola> havenwood: yes
nowhere_man has joined #ruby
<mspo> but the order is different depending
<mspo> you could make the method take the field mapping as a parameter
<mspo> then it would be, like, if $ normalize {name => 2, city => 4, ..} ?
<mspo> but each field would need its own normalizing method too
<mspo> since you have that trick on date
<dviola> right
r29v has joined #ruby
jcalla has quit [Ping timeout: 260 seconds]
reber has quit [Read error: Connection reset by peer]
KazeFX has quit [Ping timeout: 250 seconds]
al2o3-cr has quit [Ping timeout: 246 seconds]
\void has joined #ruby
gnufied has quit [Quit: Leaving]
go|dfish has joined #ruby
chouhoulis has quit [Remote host closed the connection]
profetes has quit [Quit: Leaving]
gnufied has joined #ruby
ellcs has quit [Remote host closed the connection]
sarink has quit [Ping timeout: 246 seconds]
stryek has joined #ruby
krawchyk has quit [Quit: krawchyk]
mkroman has quit [Read error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number]
mkroman has joined #ruby
krawchyk has joined #ruby
akem has quit [Remote host closed the connection]
krawchyk has quit [Quit: krawchyk]
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #ruby
<phaul> dviola: you might not even like this rewrite, but my attempt: https://gist.github.com/phaul/be4256516ee5c0917fb57eded580303d
krawchyk has joined #ruby
nowhere_man has quit [Ping timeout: 252 seconds]
irdr has quit [Ping timeout: 252 seconds]
<dviola> phaul: interesting, it's nice
<dviola> I like the way you separated the values with name_source, etc
duderonomy has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
lghtstkr is now known as lightstalker
kidPalooma has quit [Ping timeout: 256 seconds]
urbanmonk has joined #ruby
maryo has quit [Ping timeout: 252 seconds]
<phaul> dviola: I made my changes mainly following the ideas from here: https://www.deconstructconf.com/2018/sandi-metz-polly-want-a-message
krawchyk has quit [Quit: krawchyk]
<dviola> I see
lxsameer has quit [Ping timeout: 245 seconds]
fmccann has joined #ruby
<dviola> watching
<havenwood> dviola: I agree with the extract method refactoring. You might consider Regexp with named captures. Something like: https://dpaste.de/7BDT
mikecmpbll has joined #ruby
<havenwood> dviola: I think it'd be nicer to assign @result to the return value of #flat_map and #map rather than shoveling.
<dviola> nice
<dviola> yeah I feel it's better with the regex
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mozzarella> do you guys use/like crystal?
sanscoeur has joined #ruby
Rapture_ has joined #ruby
Rapture has quit [Ping timeout: 246 seconds]
clemens3 has quit [Ping timeout: 250 seconds]
orbyt_ has joined #ruby
Aqo has joined #ruby
conta has joined #ruby
conta1 has joined #ruby
tdy1 has quit [Ping timeout: 268 seconds]
conta1 has quit [Ping timeout: 240 seconds]
RougeR has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
orbyt_ is now known as rep_bot
rep_bot is now known as orbyt_
Dbugger has joined #ruby
zenogais has joined #ruby
chamunks has joined #ruby
krawchyk has joined #ruby
s2013 has joined #ruby
<Eiam> lol what the hell
<phaul> mspo: Sandi calls these or wrapper objects of these factories, and she talks about pushing the conditional out as far as possible (out or up the stack). But she can't avoid having them
<Eiam> come back from holiday and super old shit fails to deploy now thanks bud
<mspo> phaul: bummer
<mozzarella> mspo: you mean syntactically?
<mozzarella> { comma: CommaPerson.new, dollar: DollarPerson.new }[key]
<mspo> mozzarella: I mean it's a lot of layers
<mozzarella> I haven't been following the conversation so I'm not sure what you're doing
<phaul> mspo, undeniably we introduce more classes and more complexity at the surface level, in exchange eliminating all conditional code paths from everywhere, apart from 1 top level factory dispatch
<phaul> same as null pattern just applied for every if not just nil?
s2013 has quit [Ping timeout: 245 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<phaul> alhtough I don't agree with sandi that this should be applied all the time, but in her example and here as well I think it fits
irdr has joined #ruby
Renich has quit [Ping timeout: 246 seconds]
orbyt_ has joined #ruby
eldritch has quit [Quit: ZNC 1.6.6+deb1ubuntu0.1 - http://znc.in]
Renich has joined #ruby
sameerynho has joined #ruby
mozzarella has quit [Quit: WeeChat 2.2]
jcarl43 has joined #ruby
eldritch has joined #ruby
tdy1 has joined #ruby
RedNifre has quit [Quit: spiders everywhere!]
zenogais has quit [Ping timeout: 268 seconds]
sanscoeur has quit [Read error: Connection reset by peer]
hutch has quit [Ping timeout: 268 seconds]
sanscoeur has joined #ruby
sanscoeur has quit [Read error: Connection reset by peer]
gix has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
haylon has joined #ruby
haylon has quit [Remote host closed the connection]
haylon has joined #ruby
sanscoeur has joined #ruby
Aqo has quit [Ping timeout: 272 seconds]
urbanmonk has quit [Ping timeout: 250 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
sanscoeur has quit [Read error: Connection reset by peer]
skryking has joined #ruby
sanscoeur has joined #ruby
RougeR has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
ur5us has joined #ruby
tdy1 has quit [Ping timeout: 245 seconds]
hutch has joined #ruby
zenogais has joined #ruby
r29v has quit [Quit: r29v]
ldnunes has quit [Quit: Leaving]
dviola has quit [Quit: WeeChat 2.3]
uplime has quit [Quit: brb - please send all requests, no matter how silly they are, to blkshp asap]
Nicmavr has quit [Read error: Connection reset by peer]
twobitsprite has joined #ruby
Nicmavr has joined #ruby
<twobitsprite> Can Rakefiles be aware of non-file target such as docker images, etc? I'm considering moving away from Makefiles, and one of the things I have to do in make is touch files after building images so make can know what needs to be rebuilt.
uplime has joined #ruby
cschneid has quit [Remote host closed the connection]
GodFather has joined #ruby
gix has quit [Ping timeout: 268 seconds]
Sou|cutter has joined #ruby
GodFather has quit [Ping timeout: 250 seconds]
troulouliou_dev has joined #ruby
fiachetti has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
RougeR has quit [Ping timeout: 268 seconds]
grvgr has joined #ruby
orbyt_ has joined #ruby
jinie has joined #ruby
orbyt_ has quit [Client Quit]
orbyt_ has joined #ruby
haylon has quit [Remote host closed the connection]
ellcs has joined #ruby
profetes has joined #ruby
cow[moo] has joined #ruby
skryking has quit [Quit: Leaving]
Dbugger has quit [Remote host closed the connection]
cow[moo] has quit [Ping timeout: 244 seconds]
grvgr_ has joined #ruby
grvgr has quit [Ping timeout: 246 seconds]
grvgr_ is now known as grvgr
raulp has quit [Ping timeout: 272 seconds]
raulp has joined #ruby
dellavg_ has quit [Ping timeout: 272 seconds]
powerbit has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
funnel has quit [Ping timeout: 246 seconds]
grvgr_ has joined #ruby
funnel has joined #ruby
ellcs has quit [Ping timeout: 252 seconds]
za1b1tsu has quit [Remote host closed the connection]
lxsameer has joined #ruby
grvgr has quit [Quit: grvgr]
grvgr_ is now known as grvgr
ellcs has joined #ruby
lxsameer has quit [Quit: rcirc on GNU Emacs 27.0.50]
hahuang6- is now known as hahuang65
troulouliou_dev has quit [Quit: Leaving]
r29v has joined #ruby
tdy1 has joined #ruby
conta has quit [Quit: conta]
ellcs has quit [Ping timeout: 272 seconds]
tdy1 is now known as tdy
GinoMan2440 has quit [Read error: Connection reset by peer]
al2o3-cr has joined #ruby
orbyt_ has joined #ruby
akem has joined #ruby
profetes has quit [Quit: Leaving]
duderonomy has joined #ruby
polishdub has quit [Remote host closed the connection]
Rapture_ has quit [Quit: Textual IRC Client: www.textualapp.com]
twobitsprite has quit [Ping timeout: 250 seconds]
grvgr_ has joined #ruby
grvgr_ has quit [Client Quit]
Swyper has joined #ruby
Swyper has quit [Ping timeout: 244 seconds]
GodFather has joined #ruby
GodFather has quit [Read error: Connection reset by peer]
cschneid has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
mozzarella has joined #ruby
sarink has joined #ruby
GodFather has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.3]
sarink has quit [Ping timeout: 268 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
<SeepingN> Has there been a change in ruby/rails around ruby 2.2.3 where the console no longer returns a value for something unless you use puts to print it out?
<SeepingN> => 1+1
<baweaver> SeepingN: no?
<baweaver> Do you have an example?
<SeepingN> sure: 1+1
<baweaver> Works in 2.3, 2.4, 2.5, and 2.6.
<baweaver> Not sure what you're seeing.
<SeepingN> Used to get the value back (=> 2). Now I just get empty result (=> )
<SeepingN> unless it's a string
<SeepingN> irb(main):015:0> 1+1
<SeepingN> =>
<SeepingN> irb(main):016:0> "wow"
<SeepingN> => "wow"
<baweaver> What version of Ruby are you using?
chouhoulis has quit [Ping timeout: 245 seconds]
<SeepingN> 2.2.3 according to RUBY_VERSION
<baweaver> 2.6.0 :001 > RUBY_VERSION
<baweaver> => "2.6.0"
chouhoulis has joined #ruby
<baweaver> 2.6.0 :002 > 1 + 1
<baweaver> => 2
<baweaver> 2.5.1 :001 > RUBY_VERSION
<baweaver> => "2.5.1"
<baweaver> 2.5.1 :002 > 1 + 1
<baweaver> => 2
<SeepingN> conf.echo
<SeepingN> oops
<baweaver> I think something's screwy with your ruby install
<SeepingN> conf.echo is true... thinking maybe someone else in engineering changed it
<baweaver> That, and 2.2.x is super out of date
<SeepingN> well there's that too, yes. we just switched our team to india too, so
<SeepingN> ..going to be old for a while I imagine
chouhoulis has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby
Azure has quit [Ping timeout: 246 seconds]
<SeepingN> it will print out objects too, such as User.last