tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benlieb has joined #ruby
mitt3ns has quit [Quit: mitt3ns]
millerti has joined #ruby
bweston92_ has quit [Quit: Connection closed for inactivity]
ResidentBiscuit has joined #ruby
millerti has quit [Client Quit]
ruby810 has joined #ruby
ruby810 has quit [Client Quit]
ResidentBiscuit has quit [Ping timeout: 240 seconds]
sdwrage has joined #ruby
tessi_zz has quit [Ping timeout: 240 seconds]
tessi_zz has joined #ruby
millerti has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
ShoaibJahejo has quit [Quit: PanicBNC account has been auto selected for removal due to login inactivity.]
Xiti has joined #ruby
Channel6 has quit [Quit: Leaving]
JeanCarloMachado has quit [Ping timeout: 255 seconds]
d0nn1e has quit [Ping timeout: 255 seconds]
d0nn1e has joined #ruby
JeanCarloMachado has joined #ruby
benlieb has quit [Quit: benlieb]
hutch34 has joined #ruby
tau has quit [Remote host closed the connection]
ngpestelos has joined #ruby
lenwood has quit [Quit: Konversation terminated!]
xall has joined #ruby
jhack has joined #ruby
jhack has joined #ruby
jhack has quit [Changing host]
Pumukel has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 260 seconds]
biberu has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
benlieb has joined #ruby
Mon_Ouie has quit [Read error: Connection reset by peer]
jtdoncas has quit [Ping timeout: 260 seconds]
Mon_Ouie has joined #ruby
tau has joined #ruby
[ohjn] has joined #ruby
Pumukel has quit [Ping timeout: 255 seconds]
houhoulis has joined #ruby
benlieb has quit [Quit: benlieb]
[ohjn] has quit []
aryaching has joined #ruby
Pumukel has joined #ruby
jameser has joined #ruby
jameser has quit [Client Quit]
Pumukel has quit [Ping timeout: 255 seconds]
Pumukel has joined #ruby
CT_STATE_MARSHAL has quit [Read error: Connection reset by peer]
marr has quit [Ping timeout: 240 seconds]
CT_STATE_MARSHAL has joined #ruby
Pumukel has quit [Ping timeout: 255 seconds]
JoshS has joined #ruby
[ohjn] has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gloscombe_ has quit [Quit: gloscombe_]
KicStart has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Channel6 has joined #ruby
ngpestelos has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
KicStart has quit [Remote host closed the connection]
KicStart has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
adgtl has quit [Quit: bye]
last_staff has joined #ruby
jtdoncas has joined #ruby
ecuanaso has joined #ruby
KicStart has quit [Remote host closed the connection]
KicStart has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rakm has joined #ruby
ResidentBiscuit has joined #ruby
last_staff has quit [Quit: last_staff]
KC_ has joined #ruby
hutch34 has joined #ruby
rakm has quit [Ping timeout: 260 seconds]
KC__ has joined #ruby
KC___ has joined #ruby
KC_ has quit [Ping timeout: 240 seconds]
hutch34 has quit [Ping timeout: 268 seconds]
KC__ has quit [Ping timeout: 260 seconds]
KC___ has quit [Ping timeout: 268 seconds]
millerti has joined #ruby
houhoulis has quit [Remote host closed the connection]
pawnbox has joined #ruby
ngpestelos has joined #ruby
brent__ has joined #ruby
tau has quit [Remote host closed the connection]
Kerea has joined #ruby
SuperLag_ has joined #ruby
pawnbox has quit [Ping timeout: 255 seconds]
Jackneill_ has quit [Remote host closed the connection]
SuperLag_ is now known as SuperLag
adgtl has joined #ruby
SuperLag has quit [Changing host]
SuperLag has joined #ruby
blackmes1 has quit [Ping timeout: 268 seconds]
brent__ has quit [Remote host closed the connection]
Pumukel has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
CT_STATE_MARSHAL has quit [Read error: Connection reset by peer]
CT_STATE_MARSHAL has joined #ruby
Pumukel has quit [Ping timeout: 255 seconds]
tvw has quit [Remote host closed the connection]
cschneid_ has quit [Remote host closed the connection]
cdg has joined #ruby
ResidentBiscuit has quit [Remote host closed the connection]
reverberations has quit [Remote host closed the connection]
ResidentBiscuit has joined #ruby
cdg has quit [Read error: Connection reset by peer]
cdg has joined #ruby
amincd has joined #ruby
<amincd>
Hi, what data type should I store coefficients that will be used in financial operations? I've heard that float should be avoided with financial-related data?
moei has quit [Quit: Leaving...]
ResidentBiscuit has quit [Ping timeout: 255 seconds]
ngpestelos has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
raspado has joined #ruby
raspado has quit [Remote host closed the connection]
[ohjn] has quit []
ohjn__ has joined #ruby
moei has joined #ruby
hutch34 has joined #ruby
KicStart has quit [Remote host closed the connection]
d^sh_ has quit [Ping timeout: 240 seconds]
KicStart has joined #ruby
d^sh has joined #ruby
SuperLag has quit [Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number]
SuperLag has joined #ruby
MMZF has quit [Ping timeout: 260 seconds]
nahra has quit [Remote host closed the connection]
jtdoncas has quit [Ping timeout: 260 seconds]
_sfiguser has quit [Ping timeout: 260 seconds]
sspreitz has quit [Ping timeout: 268 seconds]
sspreitz has joined #ruby
braincrash has joined #ruby
connor_goodwolf has quit [Ping timeout: 240 seconds]
on3pk has quit [Ping timeout: 260 seconds]
ngpestelos has joined #ruby
Gaelan has quit [Quit: Gaelan]
amincd has quit [Ping timeout: 260 seconds]
_sfiguser has joined #ruby
connor_goodwolf has joined #ruby
pawnbox has joined #ruby
gbailey has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
KicStart has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 240 seconds]
ngpestelos has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
darthvorik has quit [Ping timeout: 240 seconds]
zipkid has quit [Read error: Connection reset by peer]
podman has quit [Read error: Connection reset by peer]
zipkid has joined #ruby
podman has joined #ruby
cdg has joined #ruby
darthvorik has joined #ruby
myk267 has quit [Ping timeout: 240 seconds]
rakm has joined #ruby
xall has quit [Ping timeout: 260 seconds]
agent_white has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
braincrash has quit [Ping timeout: 260 seconds]
hutch34 has quit [Ping timeout: 260 seconds]
ecuanaso has joined #ruby
KicStart has joined #ruby
JoshS has quit [Quit: Leaving]
pawnbox has joined #ruby
ins64 has quit [Ping timeout: 240 seconds]
montanonic has quit [Ping timeout: 240 seconds]
t-recx has quit [Quit: t-recx]
pawnbox has quit [Ping timeout: 240 seconds]
mogaj has joined #ruby
Irishluck83 has joined #ruby
jhack_ has joined #ruby
cibs has quit [Ping timeout: 240 seconds]
cibs has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jhack has quit [Ping timeout: 260 seconds]
jhack_ is now known as jhack
jhack has quit [Client Quit]
mogaj has quit [Remote host closed the connection]
montanonic has joined #ruby
CT_STATE_MARSHAL has quit [Ping timeout: 240 seconds]
ohjn__ has quit [Quit: gotta go]
montanonic has quit [Ping timeout: 260 seconds]
braincrash has joined #ruby
braincrash has quit [Client Quit]
cibs has quit [Ping timeout: 255 seconds]
cibs has joined #ruby
[ohjn] has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
pawnbox has joined #ruby
Guest5935 has quit [Remote host closed the connection]
tpendragon has quit [Remote host closed the connection]
Pumukel has joined #ruby
montanonic has joined #ruby
yusrideb has joined #ruby
ponzii has joined #ruby
<ponzii>
I just upgraded from Yosemite to Sierra. I have gems in $HOME/.gem and everything else in .rbenv. Other than Nokogiri do I need to reinstall anything?
sdwrage has quit [Quit: This computer has gone to sleep]
<ponzii>
$HOME/.rbenv
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
pawnbox has quit [Ping timeout: 240 seconds]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 255 seconds]
JoshS has joined #ruby
rakm has joined #ruby
KicStart has quit [Remote host closed the connection]
KicStart has joined #ruby
<adam12>
ponzii: Pure ruby gems likely ok. ANything with native dep's is iffy.
<ponzii>
adam12: ruby itself OK?
<adam12>
ponzii: I'm not sure, tbh. It's been a long time since I did the update.
jackjackdripper has joined #ruby
giraffe has joined #ruby
giraffe is now known as Guest36413
[ohjn] has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 260 seconds]
mim1k has joined #ruby
ponzii has quit [Quit: BitchX: reserve your copy today!]
hutch34 has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jdelreal has quit [Quit: Connection closed for inactivity]
mogaj has joined #ruby
mim1k has quit [Ping timeout: 268 seconds]
hutch34 has quit [Ping timeout: 268 seconds]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sdwrage has joined #ruby
gix has quit [Ping timeout: 260 seconds]
jtdoncas has joined #ruby
gix has joined #ruby
cdg has quit [Remote host closed the connection]
jtdoncas has quit [Ping timeout: 260 seconds]
rakm has joined #ruby
ins64 has joined #ruby
jackjackdripper1 has joined #ruby
jackjackdripper1 has quit [Client Quit]
cagmz has quit [Read error: Connection reset by peer]
braincrash has joined #ruby
jackjackdripper has quit [Ping timeout: 260 seconds]
redhedded1 has joined #ruby
cschneid_ has joined #ruby
CloCkWeRX has joined #ruby
cschneid_ has quit [Read error: Connection reset by peer]
cschneid_ has joined #ruby
quarcu has quit [Ping timeout: 252 seconds]
quarcu_ has joined #ruby
totimkopf has quit [Ping timeout: 252 seconds]
totimkop1 has joined #ruby
xall has joined #ruby
bestie_ has joined #ruby
jpinnix_ has joined #ruby
Diabolik_ has joined #ruby
avdi_ has joined #ruby
soahccc_ has joined #ruby
Heero_ has joined #ruby
Olipro_ has joined #ruby
s0l__ has quit [Ping timeout: 252 seconds]
beatdown_ has joined #ruby
Soulcutter has joined #ruby
nemesit|znc_ has joined #ruby
nitrix_ has joined #ruby
johnkpaul_ has joined #ruby
lucas_ has joined #ruby
jsaak has joined #ruby
pabs__ has joined #ruby
Bilge- has joined #ruby
cb_ has joined #ruby
SuperTux88_ has joined #ruby
yasu_ has joined #ruby
beatdown has quit [Disconnected by services]
beatdown_ is now known as beatdown
RazorX has joined #ruby
thoolihan_ has joined #ruby
_Tristan-Speccy_ has joined #ruby
tekku has joined #ruby
Prira has joined #ruby
jericon_ has joined #ruby
Mekkis_ has joined #ruby
Hobbyboy|BNC has joined #ruby
cout_ has joined #ruby
Heero has quit [Ping timeout: 252 seconds]
jpinnix has quit [Ping timeout: 252 seconds]
nemesit|znc has quit [Ping timeout: 252 seconds]
avdi has quit [Ping timeout: 252 seconds]
soahccc has quit [Ping timeout: 252 seconds]
Hobbyboy has quit [Ping timeout: 252 seconds]
Diabolik has quit [Ping timeout: 252 seconds]
Bilge has quit [Ping timeout: 252 seconds]
johnkpaul has quit [Ping timeout: 252 seconds]
bestie has quit [Read error: Connection reset by peer]
Olipro has quit [Ping timeout: 252 seconds]
nitrix has quit [Ping timeout: 252 seconds]
Sou|cutter has quit [Ping timeout: 252 seconds]
SuperTux88 has quit [Ping timeout: 252 seconds]
cb has quit [Ping timeout: 252 seconds]
lucas has quit [Remote host closed the connection]
tekk has quit [Ping timeout: 252 seconds]
thoolihan has quit [Ping timeout: 252 seconds]
Tristan-Speccy has quit [Ping timeout: 252 seconds]
pabs has quit [Ping timeout: 252 seconds]
yasu has quit [Ping timeout: 252 seconds]
jsaak_ has quit [Ping timeout: 252 seconds]
RazorX- has quit [Ping timeout: 252 seconds]
Prira_ has quit [Ping timeout: 252 seconds]
Mekkis has quit [Read error: Connection reset by peer]
cout has quit [Ping timeout: 252 seconds]
jericon has quit [Remote host closed the connection]
Heero_ is now known as Heero
bestie_ is now known as bestie
cb_ is now known as cb
Olipro_ is now known as Olipro
jpinnix_ is now known as jpinnix
aryaching_ has joined #ruby
jameser has joined #ruby
Hobbyboy|BNC is now known as Hobbyboy
avdi_ is now known as avdi
johnkpaul_ is now known as johnkpaul
troter__________ has quit [Ping timeout: 240 seconds]
SuperTux88_ is now known as SuperTux88
aryaching has quit [Ping timeout: 268 seconds]
znz_jp has quit [Ping timeout: 240 seconds]
darthvorik has quit [Read error: Connection reset by peer]
darthvorik has joined #ruby
Irishluck83 has quit [Quit: WeeChat 1.4]
s0l__ has joined #ruby
chromis has quit [Ping timeout: 240 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aryaching_ has quit [Remote host closed the connection]
armin has quit [Read error: Connection reset by peer]
armin has joined #ruby
just_like_u has joined #ruby
Kerea has quit [Quit: Lost terminal]
Dimik has quit [Ping timeout: 240 seconds]
nowhereman has quit [Ping timeout: 240 seconds]
xall has joined #ruby
houhoulis has joined #ruby
houhoulis has quit [Client Quit]
pilne has quit [Quit: Quitting!]
cschneid_ has quit [Read error: Connection reset by peer]
hutch34 has joined #ruby
cschneid_ has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
just_like_u has quit [Quit: Leaving]
hutch34 has quit [Ping timeout: 268 seconds]
coatezy has quit [Ping timeout: 255 seconds]
coatezy has joined #ruby
Pumukel has joined #ruby
linuck has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 255 seconds]
enterprisey has joined #ruby
cibs has quit [Ping timeout: 260 seconds]
cibs has joined #ruby
KicStart has quit [Remote host closed the connection]
KicStart has joined #ruby
cschneid_ has quit [Remote host closed the connection]
nofxxx has joined #ruby
boog has joined #ruby
_3by8 has joined #ruby
<_3by8>
Hello everyone. Had a quick question about which book to read next. I'm currently going through The Well-Grounded Rubyist and was wondering if I should go with, Eloquent Ruby, Design Patterns in Ruby or something else.
Channel6 has quit [Quit: Leaving]
blackwind_123 has quit [Ping timeout: 240 seconds]
nofxx has quit [Ping timeout: 240 seconds]
<boog>
I haven't read it but according to the book list. I think Eloquent Ruby was recommended as a good 2nd book to read.
<_3by8>
Wow, didn't see that book list there.
<boog>
I found it today myself. I'm working out of Beginning Ruby atm...
KicStart has quit [Quit: Leaving.]
mim1k has joined #ruby
<_3by8>
boog, thanks :)
<boog>
np
djbkd has quit [Quit: Leaving...]
mim1k has quit [Ping timeout: 240 seconds]
<baweaver>
boog / _3by8 : I hid it there
<baweaver>
depends on what you're looking to do
<baweaver>
but ER is a good book for getting a lot of it down including some of metaprogramming and other bits
<baweaver>
I tend to call it the book that teaches how to Ruby like a Rubyist
xall has quit [Ping timeout: 240 seconds]
<baweaver>
In any case I really need to be more detailed on that list.
<baweaver>
feel free to ask anything if you need recommendations. Chances are I've read it or could point to a book by a good author that's written on it
<baweaver>
best advice I can give though if you need to learn a lot and have a huge book list to dive through: Safari Books Online
<baweaver>
flat rate a month (35 I think) to get unlimited access to O'Reilly, NoStarch, PragProg, Manning, and a lot of others.
<baweaver>
I got in around $25 a month and best money I've spent on learning period. Great if I want to preview a book in depth before buying it outright
<baweaver>
also a lot of pre-releases so newer topics have content too like Kafka.
<boog>
i heard good things about the Safari Books subscription as well... not sure if it pencils out for me though on a yearly basis
<baweaver>
That's fair
<baweaver>
for me I'd wreck my wallet without it because I buy too many books
<baweaver>
good thing I managed to talk work into buying it for me :D
jenrzzz has joined #ruby
ins64 has quit [Ping timeout: 240 seconds]
scrooloose has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
Xiti has quit [Quit: Xiti]
Pumukel has quit [Ping timeout: 255 seconds]
scrooloose has joined #ruby
jamesaxl has joined #ruby
<alirezabashiri>
is there a better way to do this? Group.where(warehouse_profile: warehouse_profile).exists?(name: name)
<alirezabashiri>
WarehouseProfile has-many Groups
<alirezabashiri>
Group belongs-to WarehouseProfile
pwnd_nsfw has joined #ruby
ins64 has joined #ruby
jgnagy has quit [Remote host closed the connection]
ins642 has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 240 seconds]
<_3by8>
alirezabashiri sounds like a #RubyOnRails question
<alirezabashiri>
_3by8: right
_3by8 has quit []
ins64 has quit [Ping timeout: 260 seconds]
ecuanaso has joined #ruby
eizua has joined #ruby
djbkd has joined #ruby
klaas has joined #ruby
ResidentBiscuit has joined #ruby
braincrash has quit [Ping timeout: 268 seconds]
renchan has joined #ruby
boog has quit [Read error: Connection reset by peer]
boog has joined #ruby
ResidentBiscuit has quit [Ping timeout: 255 seconds]
troter__________ has joined #ruby
EckT has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch34 has joined #ruby
sdwrage has quit [Quit: Leaving]
hutch34 has quit [Ping timeout: 268 seconds]
ins642 has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
boog has quit []
ins64 has joined #ruby
ngpestelos has joined #ruby
ngpestelos has quit [Client Quit]
User458764 has joined #ruby
ecuanaso has joined #ruby
tildes has joined #ruby
Guest64981 has quit [Remote host closed the connection]
harfangk has joined #ruby
ecuanaso has quit [Ping timeout: 260 seconds]
FMan has joined #ruby
Guest64981 has joined #ruby
JoshS has quit [Ping timeout: 268 seconds]
JoshS has joined #ruby
PaulePan1er is now known as PaulePanter
ishigoya has quit [Ping timeout: 240 seconds]
Qchmqs has joined #ruby
ishigoya has joined #ruby
jshjsh has joined #ruby
ins642 has joined #ruby
CloCkWeRX has joined #ruby
jellymann has joined #ruby
tristanp has joined #ruby
JoshS has quit [Ping timeout: 268 seconds]
ins64 has quit [Ping timeout: 260 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jellymann>
Hello!
pawnbox has joined #ruby
tristanp has quit [Ping timeout: 260 seconds]
cschneid_ has joined #ruby
enterprisey has quit [Remote host closed the connection]
last_staff has joined #ruby
cschneid_ has quit [Ping timeout: 255 seconds]
mim1k has joined #ruby
<jellymann>
Does anyone here know how Fiddle works?
<jellymann>
Like, not how to use it, but rather how it works internally.
<jellymann>
I have some questions...
hutch34 has joined #ruby
Cohedrin has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
antgel has joined #ruby
electrostat has quit [Quit: uwotm8]
electrostat has joined #ruby
ngpestelos has joined #ruby
dionysus69 has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
yeticry has quit [Read error: Connection reset by peer]
yeticry_ has joined #ruby
SteenJobs has joined #ruby
SteenJobs has quit [Ping timeout: 260 seconds]
_main_ has joined #ruby
_main_ has quit [Read error: Connection reset by peer]
__main__ has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
_main_ has joined #ruby
montanonic has quit [Ping timeout: 240 seconds]
_main_ has quit [Read error: Connection reset by peer]
__main__ has joined #ruby
SteenJobs has joined #ruby
Pumukel has quit [Ping timeout: 255 seconds]
ngpestelos has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SteenJobs has quit [Ping timeout: 240 seconds]
jgnagy has joined #ruby
elementaru has joined #ruby
milardovich has joined #ruby
jgnagy has quit [Ping timeout: 255 seconds]
nofxxxx has joined #ruby
mlehrer has joined #ruby
armyriad has joined #ruby
nofxxx has quit [Ping timeout: 260 seconds]
tdy has quit [Read error: Connection reset by peer]
n1ce has joined #ruby
mogaj has quit [Remote host closed the connection]
mogaj has joined #ruby
cibs has quit [Ping timeout: 240 seconds]
mogaj has quit [Client Quit]
SteenJobs has joined #ruby
cibs has joined #ruby
pandaant has joined #ruby
SteenJobs has quit [Ping timeout: 240 seconds]
kcning has joined #ruby
tildes has quit [Ping timeout: 260 seconds]
tildes has joined #ruby
reverberations has joined #ruby
Pumukel has joined #ruby
hutch34 has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
nofxxx has joined #ruby
milardovich has quit []
shinnya has joined #ruby
Pumukel has quit [Ping timeout: 255 seconds]
User458764 has joined #ruby
Pumukel has joined #ruby
lxsameer has joined #ruby
nofxxxx has quit [Ping timeout: 240 seconds]
hutch34 has quit [Ping timeout: 268 seconds]
blackmes1 has joined #ruby
^mtkd has quit [Read error: Connection reset by peer]
Pumukel has quit [Ping timeout: 255 seconds]
mtkd has joined #ruby
interki has joined #ruby
jellymann has quit [Quit: leaving]
dionysus69 has joined #ruby
interki has quit [Client Quit]
Guest64981 has quit [Remote host closed the connection]
<anotherpi>
i want to force the defined method to have one argument at least, even if the block passed have no arguments
tomphp has joined #ruby
tomphp has quit [Client Quit]
Pumukel has joined #ruby
<synstack>
anotherpi, you mean an optional argument?
<anotherpi>
and i want `self` to be the instance of Test at call
<synstack>
oh nevermind the block
<anotherpi>
synstack: yep it's a block :p
hutch34 has quit [Ping timeout: 268 seconds]
User458764 has joined #ruby
loechel has joined #ruby
Pumukel has quit [Ping timeout: 255 seconds]
jdeen has joined #ruby
Burgestrand has quit [Quit: Closing time!]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
loechel has quit [Ping timeout: 255 seconds]
<jdeen>
I got an issue coping some code... it is related to a use of a class defined in the same file... as Ruby is a dynamic language it makes sense... but the example I copied is supposed to be working... hence my curiosity... could I be doing some thing wrong... GIST: https://gist.github.com/ziyan-junaideen/c3b4b307b15da0e1714e16d6e5d40d1f
blackmesa has joined #ruby
osliusar has joined #ruby
osliusar has quit [Client Quit]
<anotherpi>
jdeen: the code you posted is not runnable without the full environment (required modules/classes)
<anotherpi>
jdeen: what is your output?
blackmes1 has quit [Ping timeout: 260 seconds]
nowhereman has joined #ruby
djellemah has quit [Ping timeout: 240 seconds]
kylo_ has joined #ruby
tildes has joined #ruby
VladGh has quit [Remote host closed the connection]
VladGh has joined #ruby
kylo_ has quit [Ping timeout: 240 seconds]
cibs has quit [Ping timeout: 240 seconds]
cibs has joined #ruby
ferr1 has joined #ruby
eizua has quit [Remote host closed the connection]
poikon has quit [Ping timeout: 240 seconds]
Yonk_ has quit [Ping timeout: 240 seconds]
Fridtjof has quit [Ping timeout: 240 seconds]
Yonk_ has joined #ruby
poikon has joined #ruby
djellemah has joined #ruby
tristanp has joined #ruby
ResidentBiscuit has joined #ruby
millerti has joined #ruby
Fridtjof has joined #ruby
tristanp has quit [Ping timeout: 260 seconds]
ResidentBiscuit has quit [Ping timeout: 255 seconds]
<jdeen>
anotherpi: it was just to show how the classes are in the file... it show an error pointing to the first class saying that the constant is not defined or some thing like that. when i moved the second on top it worked.
certainty has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 260 seconds]
kcning has left #ruby [#ruby]
Fridtjof has quit [Ping timeout: 240 seconds]
santi_coma has joined #ruby
santi_coma has joined #ruby
santi_coma has quit [Changing host]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
jdm_ has quit [Remote host closed the connection]
Fridtjof has joined #ruby
rippa has joined #ruby
Pumukel has quit [Ping timeout: 255 seconds]
jdm has joined #ruby
mim1k has joined #ruby
maloik has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
sepp2k has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
leitz has quit [Quit: Nappy time]
Pumukel has joined #ruby
<anotherpi>
jdeen: of course, the code in the class is executed and Show is not yet declared
dviola has joined #ruby
<anotherpi>
jdeen: if it was define in a method, it will be executed at the method call, but here it is called at class definition
Klumben has joined #ruby
Pumukel has quit [Ping timeout: 255 seconds]
kcning has joined #ruby
Pumukel has joined #ruby
binaryplease has quit [Quit: binaryplease]
mim1k has quit [Ping timeout: 268 seconds]
jellymann has quit [Remote host closed the connection]
despai has quit [Quit: This computer has gone to sleep]
Pumukel has quit [Ping timeout: 255 seconds]
blackmesa has joined #ruby
anotherpi has quit [Ping timeout: 255 seconds]
kcning has quit [Quit: WeeChat 1.7]
mim1k has joined #ruby
alem0lars has joined #ruby
kcning has joined #ruby
vnzvg has quit [Quit: Leaving]
kcning has quit [Client Quit]
despai has joined #ruby
despai has quit [Client Quit]
enterprisey has joined #ruby
Pumukel has joined #ruby
enterprisey has quit [Remote host closed the connection]
Fridtjof has quit [Ping timeout: 240 seconds]
kcning has joined #ruby
Pumukel has quit [Ping timeout: 255 seconds]
Fridtjof has joined #ruby
Pumukel has joined #ruby
[ohjn] has joined #ruby
jtdoncas has joined #ruby
User458764 has joined #ruby
dviola has quit [Quit: WeeChat 1.7]
Pumukel has quit [Ping timeout: 255 seconds]
Pumukel has joined #ruby
dviola has joined #ruby
bobsje has quit [Quit: Page closed]
dionysus69 has joined #ruby
aryaching has joined #ruby
SteenJobs has joined #ruby
hutch34 has joined #ruby
Pumukel has quit [Ping timeout: 255 seconds]
jgnagy has quit [Remote host closed the connection]
cschneid_ has joined #ruby
cschneid_ has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 240 seconds]
cschneid_ has joined #ruby
cschneid_ has quit [Remote host closed the connection]
nadir has quit [Quit: Connection closed for inactivity]
blackwind_123 has joined #ruby
Pumukel has joined #ruby
jtdoncas has quit [Ping timeout: 260 seconds]
tvw has joined #ruby
lel has joined #ruby
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
matled has quit [Ping timeout: 240 seconds]
doublemalt_ has quit [Ping timeout: 260 seconds]
Pumukel has quit [Ping timeout: 255 seconds]
Pumukel has joined #ruby
DTZUZU2 has quit [Quit: WeeChat 1.5]
montanonic has joined #ruby
Pumukel has quit [Ping timeout: 255 seconds]
Pumukel has joined #ruby
[ohjn] has quit []
nadir has joined #ruby
Pumukel has quit [Ping timeout: 255 seconds]
Burgestrand has joined #ruby
enterprisey has joined #ruby
Yzguy has joined #ruby
<_sfiguser>
sometimes for log files... binary format is used... my question is why ? couldn't htey use just plain text files ? why i should record my logs in binary ?
dionysus69 has quit [Ping timeout: 255 seconds]
tristanp has joined #ruby
matled has joined #ruby
Burgestrand has quit [Quit: Closing time!]
houhoulis has joined #ruby
dviola has quit [Quit: WeeChat 1.7]
tristanp has quit [Ping timeout: 260 seconds]
hutch34 has joined #ruby
Pumukel has joined #ruby
dviola has joined #ruby
Pumukel has quit [Ping timeout: 255 seconds]
Pumukel has joined #ruby
oryman has joined #ruby
oryman has quit [Remote host closed the connection]
szulak has joined #ruby
Pumukel has quit [Ping timeout: 240 seconds]
Pumukel has joined #ruby
despai has joined #ruby
Pumukel has quit [Ping timeout: 255 seconds]
pwnd_nsfw has quit [Ping timeout: 260 seconds]
reverberations has quit [Remote host closed the connection]
Guest84816 has quit [Remote host closed the connection]
szulak has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
madsa has joined #ruby
madsa is now known as Guest26228
lxsameer has quit [Ping timeout: 260 seconds]
tristanp has quit [Ping timeout: 260 seconds]
ferr1 has quit [Quit: WeeChat 1.6]
<allisio>
anotherpi: I agree(?) that it'd probably be cleanest to just take advantage of the fact that Procs don't do argument checking.
dviola has joined #ruby
jellymann has joined #ruby
renchan has quit [Remote host closed the connection]
cschneid_ has joined #ruby
renchan has joined #ruby
dviola has quit [Quit: WeeChat 1.7]
jellymann has quit [Ping timeout: 260 seconds]
p1k has quit [Ping timeout: 240 seconds]
modlin has joined #ruby
elementaru2 has joined #ruby
elementaru has quit [Ping timeout: 258 seconds]
mhib has joined #ruby
jtdoncas has joined #ruby
gloscombe_ has joined #ruby
p1k has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
hutch34 has quit [Ping timeout: 268 seconds]
Burgestrand has joined #ruby
jtdoncas has quit [Ping timeout: 268 seconds]
d0nn1e has quit [Ping timeout: 260 seconds]
Xiti has quit [Quit: Xiti]
djellemah_ has joined #ruby
d0nn1e has joined #ruby
Pumukel has joined #ruby
antgel has quit [Ping timeout: 260 seconds]
JohnnyR030T has joined #ruby
blackwind_123 has quit [Ping timeout: 255 seconds]
blackwind_123 has joined #ruby
loechel has joined #ruby
mim1k has joined #ruby
_sfiguser has quit [Ping timeout: 240 seconds]
am55 has quit [Ping timeout: 268 seconds]
Pumukel has quit [Ping timeout: 255 seconds]
redhedded1 has joined #ruby
<JohnnyR030T>
Hello Ruby community! :) When checking for a key in a hash is there a reason that using the .key? method would be better than the has_key? method? Is one preferred over the other in the Ruby community?
loechel has quit [Ping timeout: 255 seconds]
tessi_zz has quit [Ping timeout: 240 seconds]
Burgestrand has quit [Quit: Closing time!]
tessi_zz has joined #ruby
mhib has quit [Quit: Leaving]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
JohnnyR030T has quit [Quit: Leaving]
Cohedrin has joined #ruby
cajone1 has quit [Ping timeout: 255 seconds]
JohnnyR030T has joined #ruby
Pumukel has quit [Ping timeout: 255 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<allisio>
JohnnyR030T: No and no. Choose one (#has_key?, #key?, #include?, #member?) and be consistent.
_sfiguser has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
hutch34 has joined #ruby
nhhc has joined #ruby
jellymann has joined #ruby
cajone has joined #ruby
anotherpi has quit [Ping timeout: 255 seconds]
Pumukel has joined #ruby
dionysus69 has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
<JohnnyR030T>
Thanks allisio
enterprisey has quit [Remote host closed the connection]
<allisio>
JohnnyR030T: It is a little silly that there are four different ways to spell that one, eh?
mim1k has joined #ruby
fusta has joined #ruby
yusrideb has quit [Quit: yusrideb]
jellymann has quit [Ping timeout: 260 seconds]
hutch34 has quit [Ping timeout: 260 seconds]
dviola has joined #ruby
Pumukel has quit [Ping timeout: 255 seconds]
millerti has joined #ruby
electrostat has quit [Quit: uwotm8]
electrostat has joined #ruby
despai has joined #ruby
<balo>
allisio: they are not equivalent
<balo>
> Note that include? and member? do not test member equality using == as do other Enumerables.
Pumukel has joined #ruby
<balo>
(in general)
<allisio>
balo: You misread the comment.
<allisio>
In your defense, it's worded a little poorly.
<balo>
true, i just double checked the C code
<balo>
they all point to the same thing
<allisio>
Indeed they do.
Channel6 has quit [Quit: Leaving]
blackmesa has joined #ruby
Pumukel has quit [Ping timeout: 255 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<anekant>
"nokogiri requires Ruby version >= 2.1.0."
<anekant>
will 2.1 break code that is currently running under 2.0?
<Nilium>
I don't recall any major changes between 2.0 and 2.1, but it's kinda been a while.
Yzguy has quit [Quit: Zzz...]
* anekant
has flashbacks to having to change a lot of require statements because 1.8 looked in the current directory automatically, but subsequently I have to do require './foo'
mim1k has quit [Ping timeout: 260 seconds]
<Nilium>
Yeah, but 1.8 to 2.0's a pretty different change.
ngpestelos has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nowhereman has quit [Ping timeout: 268 seconds]
Pumukel has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
workmad3 has joined #ruby
tristanp has quit [Ping timeout: 260 seconds]
ins64 has quit [Ping timeout: 260 seconds]
ljarvis_ is now known as ljarvis
Pumukel has quit [Ping timeout: 255 seconds]
byte512 has quit [Remote host closed the connection]
Pumukel has joined #ruby
ins64 has joined #ruby
benlieb has quit [Quit: benlieb]
nettoweb has joined #ruby
nettoweb has quit [Client Quit]
Pumukel has quit [Ping timeout: 255 seconds]
Pumukel has joined #ruby
claw_ is now known as claw
jtdoncas has quit [Ping timeout: 255 seconds]
mim1k has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 240 seconds]
kylo__ has joined #ruby
kylo__ has quit [Max SendQ exceeded]
redhedded1 has joined #ruby
redhedded1 has quit [Client Quit]
Pumukel has quit [Ping timeout: 255 seconds]
jshjsh has quit [Read error: Connection reset by peer]
modlin has quit [Ping timeout: 240 seconds]
szulak has joined #ruby
jellymann has joined #ruby
djellemah has quit [Ping timeout: 255 seconds]
mim1k has quit [Ping timeout: 240 seconds]
benlieb has joined #ruby
doublemalt_ has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
jellymann has quit [Ping timeout: 260 seconds]
kylo__ has joined #ruby
<baweaver>
The biggest modern change was the unification of Fixnum and Bignum into Integer which broke some native extensions like JSON in older versions (which people shouldn't be using)
lxsameer has joined #ruby
kylo__ has quit [Max SendQ exceeded]
ngpestelos has joined #ruby
Pumukel has quit [Ping timeout: 255 seconds]
tomphp has joined #ruby
evie_hammond has quit [Quit: WeeChat 1.7]
szulak has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
TomyLobo has quit [Ping timeout: 255 seconds]
renchan has quit [Remote host closed the connection]
irc2000 has joined #ruby
irc2000 has left #ruby [#ruby]
kylo__ has joined #ruby
Channel6 has joined #ruby
kcning has quit [Quit: WeeChat 1.7]
ResidentBiscuit has joined #ruby
hutch34 has joined #ruby
ins642 has joined #ruby
A124 has quit [Ping timeout: 240 seconds]
ins64 has quit [Ping timeout: 240 seconds]
Xiti has joined #ruby
Disavowed has joined #ruby
<Disavowed>
Hey all. Any library recommendations for making HTTP requests?
<Radar>
httparty, typhoeus.
hutch34 has quit [Ping timeout: 240 seconds]
<Disavowed>
Radar: Thank you so much. Also I think you helped me about a year ago when I was just starting out - I've almost entirely ditched Python for Ruby, so thank you for getting me through that tricky first month :)
biberu has quit [Read error: Connection reset by peer]
Pumukel has quit [Ping timeout: 255 seconds]
<Papierkorb>
jaegerca: Advantages: 1) Every service in a single place. Easier to find. 2) That God thing also needs to be started. What if it dies? 3) Auto start after reboot, or crashes, or whenever 4) Simple, and just-works for lots of service types
<Papierkorb>
Don't be scared, there's tons of things it can do for you, but in reality, you can grab a .service file from /usr/lib/systemd/system (like from postgres or sshd or so), modify it to what you need, drop it into /etc/systemd/system and then use systemctl to start/enable the service like any other
Lord_of_Life has quit [Excess Flood]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Lord_of_Life has joined #ruby
ResidentBiscuit has joined #ruby
<allisio>
Is there some very clever Rubyism that would convince this #scan to "tag" its findings? https://eval.in/743556
Irishluck83 has quit [Quit: WeeChat 1.4]
millerti has joined #ruby
Irishluck83 has joined #ruby
mikecmpbll has joined #ruby
ResidentBiscuit has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Guest95584 has joined #ruby
jtdoncas has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
hutch34 has joined #ruby
ins642 has quit [Ping timeout: 260 seconds]
jtdoncas has quit [Ping timeout: 260 seconds]
ins64 has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
millerti has quit [Read error: Connection reset by peer]
millerti has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
millerti has quit [Client Quit]
jellymann has joined #ruby
benlieb has quit [Quit: benlieb]
charliesome has joined #ruby
dhollinger has quit [Ping timeout: 260 seconds]
ngpestelos has quit [Ping timeout: 240 seconds]
dlitvak has quit [Quit: Connection closed for inactivity]
jellymann has quit [Ping timeout: 260 seconds]
dhollinger has joined #ruby
mim1k has joined #ruby
Xiti has joined #ruby
<jaegerca>
Papierkorb: Thank you for the info, it does seem easy enough. I am looking into how I might accomplish all of this with chef.
<Papierkorb>
Never used chef. Though with Ansible, we just copy prepared files over (Or template them)
cschneid_ has quit [Remote host closed the connection]
Guest95584 has quit [Ping timeout: 268 seconds]
enterprisey has quit [Ping timeout: 255 seconds]
mim1k has quit [Ping timeout: 255 seconds]
<jaegerca>
Papierkorb: Yeah I can do the same with chef, so basically just template the file where it needs to go, not too bad.
cdg has joined #ruby
<Papierkorb>
Maybe it's less cool than a fancy "builder", but has the benefit that anyone who knows systemd can read/fix them :)