apeiros_ changed the topic of #ruby-lang to: Ruby 2.2.0; 2.1.5; 2.0.0-p643: https://ruby-lang.org || Paste code on https://gist.github.com
ruby-lang884 has quit [Ping timeout: 246 seconds]
mkaesz has joined #ruby-lang
hahuang65 has joined #ruby-lang
mkaesz has quit [Ping timeout: 250 seconds]
b_hoffman has joined #ruby-lang
dsaint-pierre has quit [Remote host closed the connection]
arBmind has quit [Quit: Leaving.]
banister has joined #ruby-lang
stardiviner has quit [Ping timeout: 264 seconds]
skyrocker has quit [Read error: Connection reset by peer]
iamninja has joined #ruby-lang
stardiviner has joined #ruby-lang
iamninja is now known as iamninja_
charliesome has joined #ruby-lang
sgambino_ has quit [Remote host closed the connection]
iamninja_ is now known as iamninja-
iamninja- is now known as iamninja
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
martinbm1dsen has quit [Ping timeout: 264 seconds]
saramic has joined #ruby-lang
|jemc| has quit [Ping timeout: 250 seconds]
postmodern has quit [Quit: Leaving]
nathanstitt has quit [Quit: I growing sleepy]
duderonomy has joined #ruby-lang
saramic has quit [Remote host closed the connection]
hahuang65 has quit [Ping timeout: 256 seconds]
gwendall_ has joined #ruby-lang
gwendall has quit [Read error: Connection reset by peer]
tunaCanBruh has joined #ruby-lang
_djbkd has quit [Remote host closed the connection]
marr has quit [Ping timeout: 246 seconds]
arooni-mobile has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 245 seconds]
j4cknewt has quit [Remote host closed the connection]
smoitra has joined #ruby-lang
_djbkd has joined #ruby-lang
slawrence00 has quit [Quit: Textual IRC Client: www.textualapp.com]
j4cknewt has joined #ruby-lang
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #ruby-lang
_djbkd has quit [Remote host closed the connection]
arooni-mobile has quit [Quit: Leaving]
_djbkd has joined #ruby-lang
auzty has joined #ruby-lang
auzty has quit [Max SendQ exceeded]
auzty has joined #ruby-lang
<Senjai> KINGSABRI: do you have code?
postmodern has joined #ruby-lang
mkaesz has joined #ruby-lang
martinbmadsen has joined #ruby-lang
tkuchiki has joined #ruby-lang
mnilsson_ has joined #ruby-lang
mnilsson has joined #ruby-lang
taylorrf has joined #ruby-lang
mkaesz has quit [Ping timeout: 256 seconds]
dorei has quit []
KINGSABRI has quit [Quit: Konversation terminated!]
mnilsson_ has quit [Ping timeout: 252 seconds]
mnilsson has quit [Ping timeout: 252 seconds]
taylorrf has quit [Ping timeout: 256 seconds]
banister has quit [Read error: Connection reset by peer]
riotjones has joined #ruby-lang
hendranata_ has joined #ruby-lang
ghg has joined #ruby-lang
konr has quit [Quit: Connection closed for inactivity]
nathanstitt has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
Zionmaster has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
riotjones has quit [Ping timeout: 246 seconds]
havenwood has quit []
piotrj_ has joined #ruby-lang
piotrj has quit [Ping timeout: 252 seconds]
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saramic has joined #ruby-lang
saramic has quit [Remote host closed the connection]
saramic has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
shinnya has quit [Ping timeout: 256 seconds]
dsaint-pierre has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
b_hoffman has joined #ruby-lang
b_hoffman has quit [Client Quit]
Newbie0086 has joined #ruby-lang
sent-hil has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
banister_ has joined #ruby-lang
yfeldblum has joined #ruby-lang
banister_ has quit [Max SendQ exceeded]
timanema has quit [Ping timeout: 252 seconds]
saramic has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
amsi has quit [Quit: Leaving]
funnel has quit [Ping timeout: 244 seconds]
ghostpl_ has quit [Remote host closed the connection]
lytol has joined #ruby-lang
saramic has joined #ruby-lang
rkrdo has joined #ruby-lang
mkaesz has joined #ruby-lang
maloik has quit [Ping timeout: 250 seconds]
djbkd_ has joined #ruby-lang
saramic has quit [Remote host closed the connection]
maloik has joined #ruby-lang
mkaesz has quit [Ping timeout: 252 seconds]
_djbkd has quit [Ping timeout: 244 seconds]
j4cknewt has quit [Remote host closed the connection]
saramic has joined #ruby-lang
piotrj has joined #ruby-lang
piotrj_ has quit [Read error: Connection reset by peer]
saramic has quit [Remote host closed the connection]
taylorrf has joined #ruby-lang
sent-hil has left #ruby-lang [#ruby-lang]
djbkd_ has quit [Quit: My people need me...]
piotrj has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 272 seconds]
mattyohe has quit [Quit: Connection closed for inactivity]
seank_ has quit [Ping timeout: 255 seconds]
tunaCanBruh has joined #ruby-lang
duderonomy has joined #ruby-lang
rkrdo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
funnel has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 252 seconds]
martinbmadsen has quit [Ping timeout: 244 seconds]
martinbmadsen has joined #ruby-lang
michael_mbp has quit [Excess Flood]
timanema has joined #ruby-lang
amclain has joined #ruby-lang
michael_mbp has joined #ruby-lang
symm- has quit [Ping timeout: 250 seconds]
rkrdo has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
mnilsson_ has joined #ruby-lang
mnilsson has joined #ruby-lang
oleo is now known as Guest77090
oleo__ has joined #ruby-lang
saramic has joined #ruby-lang
mnilsson_ has quit [Ping timeout: 245 seconds]
mnilsson has quit [Ping timeout: 245 seconds]
Guest77090 has quit [Ping timeout: 246 seconds]
seank_ has joined #ruby-lang
saramic has quit [Remote host closed the connection]
martinbmadsen has quit [Ping timeout: 264 seconds]
piotrj has joined #ruby-lang
martinbmadsen has joined #ruby-lang
j4cknewt has joined #ruby-lang
rkrdo_ has joined #ruby-lang
blowmage has quit [Quit: Coyote finally caught me]
rkrdo has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby-lang
riotjones has joined #ruby-lang
ruby-lang351 has joined #ruby-lang
j4cknewt has quit [Ping timeout: 264 seconds]
stardiviner has quit [Quit: Weird in coding now, or make love, only two things push me away from IRC.]
ghostpl_ has joined #ruby-lang
riotjones has quit [Ping timeout: 252 seconds]
saramic has joined #ruby-lang
bruno- has joined #ruby-lang
bruno- has quit [Ping timeout: 252 seconds]
piotrj has quit [Remote host closed the connection]
smoitra has quit [Ping timeout: 250 seconds]
ghostpl_ has quit [Ping timeout: 256 seconds]
piotrj has joined #ruby-lang
saramic has quit [Remote host closed the connection]
piotrj has quit [Read error: Connection reset by peer]
piotrj has joined #ruby-lang
ruby-lang351 has quit [Ping timeout: 246 seconds]
cornerman has joined #ruby-lang
cornerma1 has quit [Ping timeout: 256 seconds]
taylorrf_ has joined #ruby-lang
taylorrf has quit [Ping timeout: 244 seconds]
rkrdo_ is now known as rkrdo
lsegal has quit [Read error: Connection reset by peer]
saramic has joined #ruby-lang
lsegal has joined #ruby-lang
saramic has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
saramic has joined #ruby-lang
piotrj has quit [Read error: Connection reset by peer]
piotrj has joined #ruby-lang
saramic has quit [Ping timeout: 265 seconds]
mkaesz has joined #ruby-lang
gix has quit [Ping timeout: 250 seconds]
mkaesz has quit [Ping timeout: 272 seconds]
gix has joined #ruby-lang
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
gwendall_ has quit [Remote host closed the connection]
timanema has quit [Ping timeout: 240 seconds]
tunaCanBruh has joined #ruby-lang
skade has joined #ruby-lang
dellavg_ has joined #ruby-lang
ruby-lang738 has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 264 seconds]
lytol has quit [Read error: Connection reset by peer]
lytol has joined #ruby-lang
ghg has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
ghostpl_ has joined #ruby-lang
nisstyre has quit [Changing host]
nisstyre has joined #ruby-lang
wprice is now known as wprice_zzz
ruby-lang738 has quit [Ping timeout: 246 seconds]
ghostpl_ has quit [Ping timeout: 244 seconds]
|jemc| has joined #ruby-lang
taylorrf_ has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
saramic has joined #ruby-lang
_djbkd has joined #ruby-lang
_djbkd has quit [Client Quit]
nathanstitt has quit [Quit: I growing sleepy]
mnilsson has joined #ruby-lang
mnilsson has quit [Ping timeout: 256 seconds]
postmodern has quit [Quit: Leaving]
saramic has quit [Remote host closed the connection]
saramic has joined #ruby-lang
saramic has quit [Ping timeout: 250 seconds]
Lewix has quit [Remote host closed the connection]
riotjones has joined #ruby-lang
mkaesz has joined #ruby-lang
mkaesz has quit [Remote host closed the connection]
mkaesz has joined #ruby-lang
godzillaenlacasa has quit [Quit: Computer has gone to sleep.]
fujimura has joined #ruby-lang
SuMo_D has joined #ruby-lang
piotrj_ has joined #ruby-lang
riotjones has quit [Ping timeout: 245 seconds]
Thecrazylumberja has quit [Quit: Leaving]
mkaesz has quit [Ping timeout: 264 seconds]
piotrj has quit [Ping timeout: 246 seconds]
AKASkip has joined #ruby-lang
musl has quit [Quit: WeeChat 1.0.1]
timanema has joined #ruby-lang
piotrj has joined #ruby-lang
piotrj_ has quit [Ping timeout: 245 seconds]
timanema has quit [Ping timeout: 244 seconds]
gwendall has joined #ruby-lang
gwendall has quit [Ping timeout: 272 seconds]
rkrdo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ur5us has quit [Remote host closed the connection]
slawrence00 has joined #ruby-lang
mnilsson_ has joined #ruby-lang
mnilsson has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
lytol has quit [Remote host closed the connection]
skade has joined #ruby-lang
dellavg_ has quit [Ping timeout: 264 seconds]
piotrj_ has joined #ruby-lang
piotrj has quit [Ping timeout: 256 seconds]
olivierrr is now known as zz_olivierrr
skade has quit [Quit: Computer has gone to sleep.]
piotrj has joined #ruby-lang
robbyoconnor has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
piotrj_ has quit [Ping timeout: 264 seconds]
ghostpl_ has joined #ruby-lang
duderonomy has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 256 seconds]
ghostpl_ has quit [Ping timeout: 246 seconds]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
saramic has joined #ruby-lang
saramic has quit [Ping timeout: 246 seconds]
charliesome has quit [Quit: zzz]
riotjones has joined #ruby-lang
yfeldblum has joined #ruby-lang
|jemc| has quit [Ping timeout: 252 seconds]
yfeldblu_ has joined #ruby-lang
riotjones has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Ping timeout: 272 seconds]
mnilsson has quit [Read error: Connection reset by peer]
mnilsson_ has quit [Read error: Connection reset by peer]
saramic has joined #ruby-lang
wallerdev_ has joined #ruby-lang
wallerdev has quit [Ping timeout: 252 seconds]
wallerdev_ is now known as wallerdev
mnilsson_ has joined #ruby-lang
mnilsson has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
pabs has quit [Ping timeout: 252 seconds]
riotjones has joined #ruby-lang
saramic has quit [Remote host closed the connection]
bruno- has joined #ruby-lang
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SuMo_D has quit [Ping timeout: 252 seconds]
amclain has quit [Quit: Leaving]
fujimura has quit [Remote host closed the connection]
allomov has joined #ruby-lang
djellemah_ has joined #ruby-lang
bruno- has quit [Ping timeout: 250 seconds]
mnilsson has quit [Read error: Connection reset by peer]
mnilsson_ has quit [Read error: Connection reset by peer]
djellemah has quit [Ping timeout: 240 seconds]
pabs has joined #ruby-lang
mkaesz has joined #ruby-lang
wallerdev has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby-lang
mkaesz has quit [Ping timeout: 264 seconds]
mnilsson_ has joined #ruby-lang
mnilsson has joined #ruby-lang
Xzanron has joined #ruby-lang
j4cknewt has joined #ruby-lang
timanema has joined #ruby-lang
tvon has quit [Quit: Lost terminal]
postmodern has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 264 seconds]
timanema has quit [Ping timeout: 246 seconds]
mnilsson_ has quit [Read error: Connection reset by peer]
mnilsson has quit [Read error: Connection reset by peer]
piotrj has quit [Remote host closed the connection]
mnilsson_ has joined #ruby-lang
mnilsson has joined #ruby-lang
kyb3r_ has joined #ruby-lang
ghostpl_ has joined #ruby-lang
fusillicode has joined #ruby-lang
ghostpl_ has quit [Remote host closed the connection]
ghostpl_ has joined #ruby-lang
nedp has quit [Remote host closed the connection]
jdecuirm has quit [Quit: No Ping reply in 180 seconds.]
gwendall has joined #ruby-lang
<fusillicode> hi guys someone had some experience with the virtus gem?
gwendall has quit [Ping timeout: 272 seconds]
kyb3r_ has quit [Ping timeout: 272 seconds]
kyb3r_ has joined #ruby-lang
<fusillicode> I'm a little bit in trouble with it
<fusillicode> :(
ottlikg has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
solars has joined #ruby-lang
ledestin has quit [Ping timeout: 246 seconds]
ledestin has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
mkaesz has joined #ruby-lang
mkaesz has quit [Remote host closed the connection]
mkaesz has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 240 seconds]
arBmind has joined #ruby-lang
<womble> Well, I'm glad you narrowed it down.
mnilsson_ has quit [Ping timeout: 246 seconds]
mnilsson has quit [Ping timeout: 246 seconds]
djellemah_ has quit [Quit: Leaving]
wallerdev has quit [Quit: wallerdev]
lytol has joined #ruby-lang
Iskarlar has joined #ruby-lang
lytol has quit [Ping timeout: 245 seconds]
mnilsson has joined #ruby-lang
mnilsson_ has joined #ruby-lang
piotrj has joined #ruby-lang
riffraff has joined #ruby-lang
futilegames has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
arBmind has joined #ruby-lang
<apeiros_> I sometimes wonder whether people go to their car shop and ask "anybody got experience with cars? I got some problems with them."
arBmind has quit [Quit: Leaving.]
yfeldblu_ has quit [Ping timeout: 265 seconds]
nertzy has quit [Ping timeout: 245 seconds]
Integralist has joined #ruby-lang
yxejamir has joined #ruby-lang
mnilsson_ has quit [Quit: leaving]
mnilsson has quit [Quit: leaving]
yfeldblum has joined #ruby-lang
kohgpat has joined #ruby-lang
mnilsson has joined #ruby-lang
strixd has joined #ruby-lang
nertzy has joined #ruby-lang
gwendall has joined #ruby-lang
dsaint-pierre has quit [Remote host closed the connection]
AlexAltea has quit [Ping timeout: 255 seconds]
chinmay_dd has joined #ruby-lang
mikecmpbll has joined #ruby-lang
kohgpat has quit [Quit: leaving]
<fusillicode> apeiros_: sry for the vagueness I was trying to approach the topic from a broader perspective
havenwood has quit [Remote host closed the connection]
<fusillicode> if you have some experience with the gem I can explain further :)
elia has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
<apeiros_> fusillicode: I don't have. but I can tell you that this is not how you get help. you increase your chances significantly by asking real questions instead of this meta question.
<fusillicode> apeiros_: ty for the hint
tkuchiki has quit [Ping timeout: 245 seconds]
<fusillicode> apeiros_: let me try again :)
<fusillicode> I have tree classes. A parent, a children and a grandchildren
<fusillicode> The parent (that is actually a grandparent) includes the Virtuous.model
marr has joined #ruby-lang
caseydriscoll has quit [Read error: Connection reset by peer]
caseydriscoll has joined #ruby-lang
<fusillicode> when I instantiate the grandchildren the children doesn't get the an attribute set up
<fusillicode> I mean...it's Nil
Asher has joined #ruby-lang
<fusillicode> nil
terpo has joined #ruby-lang
JaReAx has joined #ruby-lang
timanema has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
kyb3r_ has quit [Read error: Connection reset by peer]
timanema has quit [Ping timeout: 264 seconds]
michael_mbp has quit [Excess Flood]
<fusillicode> the attribute is only defined in the context of that class
<fusillicode> i.e. children
michael_mbp has joined #ruby-lang
elia has joined #ruby-lang
<fusillicode> elia: :)
<elia> hey fusillicode come va col mac? (lol)
<fusillicode> elia: ce l'ha massimo ;)
<fusillicode> elia: per adesso tengo il mio, fare il setup mi avrebbe perso troppo tempo
<elia> heheh, sisi, lo sapevo
<fusillicode> elia: lol...btw sono in una situazione brutta con la tesi
<elia> io consegnerei così com'è :D
<fusillicode> elia: no trolling please
<fusillicode> elia: non funziona nulla
<fusillicode> elia: btw mia usato https://github.com/solnic/virtus
<elia> ho visto il tuo tweet, roba seria
<elia> :)
<fusillicode> elia: sì ma non funziona
<elia> anche se di solito vado con activemodel
<elia> lol
<fusillicode> elia: capisco cmq probabilmente sono io che non so come usarla in maniera corretta
<elia> allora puoi dare un occhio ad ActiveModel::Model (virtus non l'ho mai usato)
<elia> mah… ROM, virtus & co sono un mega yak shaving
<fusillicode> elia: ok
Voker57 has joined #ruby-lang
<fusillicode> elia: allora quick question: ActiveModel::Model mi permetterebbe di definire degli attributi di default per PORO e poterli customizzare via initialize passando un hash?
martinbmadsen has quit [Ping timeout: 250 seconds]
<fusillicode> elia: btw credo che convenga spostarci nella stanza it
<elia> ouch, lol pensavo di essere li
ur5us has joined #ruby-lang
terpo has quit [Remote host closed the connection]
tunaCanBruh has joined #ruby-lang
Newbie0086 has quit [Quit: 离开]
tunaCanBruh has quit [Ping timeout: 240 seconds]
arBmind has joined #ruby-lang
terpo has joined #ruby-lang
auzty has quit [Quit: Leaving]
auzty has joined #ruby-lang
auzty has quit [Max SendQ exceeded]
Xzanron has quit [Ping timeout: 256 seconds]
hendranata_ has quit [Ping timeout: 240 seconds]
stamina has joined #ruby-lang
intinig has joined #ruby-lang
pepperbreath1 has joined #ruby-lang
bruno- has joined #ruby-lang
pepperbreath has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby-lang
bruno- has quit [Ping timeout: 256 seconds]
ndrst_ is now known as ndrst
Vivex_ has quit [Read error: Connection reset by peer]
ArchRogem has joined #ruby-lang
dRbiG has quit [Ping timeout: 264 seconds]
ur5us has quit [Remote host closed the connection]
dRbiG has joined #ruby-lang
<yorickpeterse> baguette
tkuchiki has joined #ruby-lang
ledestin has quit [Quit: ledestin]
stamina has quit [Quit: WeeChat 1.1.1]
timanema has joined #ruby-lang
yxejamir has quit [Ping timeout: 250 seconds]
elia has quit [Quit: Computer has gone to sleep.]
Integralist has quit [Ping timeout: 244 seconds]
chinmay_dd has quit [Quit: Connection closed for inactivity]
timanema has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby-lang
lytol has joined #ruby-lang
elia has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
lytol has quit [Ping timeout: 265 seconds]
ldnunes has joined #ruby-lang
allomov has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
piotrj has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 272 seconds]
Integralist has joined #ruby-lang
Vivex has joined #ruby-lang
intinig has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 256 seconds]
intinig has joined #ruby-lang
skade has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
intinig has quit [Ping timeout: 245 seconds]
piotrj has joined #ruby-lang
yfeldblum has joined #ruby-lang
godzillaenlacasa has joined #ruby-lang
ur5us has joined #ruby-lang
piotrj has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby-lang
ur5us has quit [Ping timeout: 245 seconds]
allomov has joined #ruby-lang
intinig has joined #ruby-lang
bruno- has joined #ruby-lang
godzillaenlacasa has quit [Quit: Computer has gone to sleep.]
stardiviner has joined #ruby-lang
charliesome has quit [Quit: zzz]
bruno- has quit [Ping timeout: 255 seconds]
j4cknewt has joined #ruby-lang
charliesome has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
caseydriscoll has joined #ruby-lang
taylorrf has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
gwendall has quit [Remote host closed the connection]
taylorrf has quit [Ping timeout: 252 seconds]
bruno- has joined #ruby-lang
seank_ has quit [Ping timeout: 256 seconds]
seank_ has joined #ruby-lang
shinnya has joined #ruby-lang
taylorrf has joined #ruby-lang
gwendall has joined #ruby-lang
b_hoffman has joined #ruby-lang
oleo__ has quit [Quit: Verlassend]
Mon_Ouie has quit [Ping timeout: 255 seconds]
oleo has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
elia has joined #ruby-lang
yxejamir has joined #ruby-lang
fusillicode has quit [Ping timeout: 256 seconds]
stef204 has joined #ruby-lang
lytol has joined #ruby-lang
Integralist has quit [Ping timeout: 245 seconds]
rikkipitt has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
lytol has quit [Ping timeout: 265 seconds]
oleo has quit [Quit: Verlassend]
elia has quit [Quit: Computer has gone to sleep.]
piotrj has joined #ruby-lang
agarie has joined #ruby-lang
piotrj has quit [Ping timeout: 264 seconds]
heftig has quit [Remote host closed the connection]
timanema has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
heftig has joined #ruby-lang
yfeldblum has quit [Ping timeout: 256 seconds]
timanema has quit [Ping timeout: 256 seconds]
tunaCanBruh has quit [Ping timeout: 272 seconds]
Respek has joined #ruby-lang
fusillicode has joined #ruby-lang
enebo has joined #ruby-lang
enebo has quit [Client Quit]
sarkyniin has joined #ruby-lang
elia has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
fujimura has joined #ruby-lang
Integralist has joined #ruby-lang
timanema has joined #ruby-lang
sankaber has joined #ruby-lang
AugustoCesar1 has joined #ruby-lang
AugustoCesar1 has quit [Client Quit]
AugustoCesar has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
timanema has quit [Client Quit]
vondruch has quit [Quit: Ex-Chat]
terpo has quit []
Bwild has quit [Ping timeout: 264 seconds]
AKASkip has quit [Ping timeout: 255 seconds]
fujimura has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
simi has joined #ruby-lang
tcopeland has quit [Quit: Leaving.]
oleo has joined #ruby-lang
charliesome has quit [Quit: zzz]
centrx has joined #ruby-lang
enebo has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
tunaCanBruh has joined #ruby-lang
tenderlove has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 272 seconds]
gwendall has joined #ruby-lang
<yorickpeterse> def is_number?(value)
<yorickpeterse> value.to_i.to_s == value
<yorickpeterse> end
<yorickpeterse> lol
sgambino has joined #ruby-lang
lytol has joined #ruby-lang
Respek_ has joined #ruby-lang
Respek has quit [Read error: Connection reset by peer]
<darix> yorickpeterse: seems legit
lytol has quit [Ping timeout: 256 seconds]
slawrence00 has joined #ruby-lang
sgambino has quit [Remote host closed the connection]
malconis has joined #ruby-lang
taylorrf has quit []
tkuchiki has quit [Ping timeout: 252 seconds]
sarkyniin has quit [Ping timeout: 246 seconds]
fujimura has joined #ruby-lang
tcopeland has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has joined #ruby-lang
oleo is now known as Guest59545
oleo__ has joined #ruby-lang
dsaint-pierre has joined #ruby-lang
Lewix has quit [Client Quit]
nathanstitt has joined #ruby-lang
Guest59545 has quit [Ping timeout: 265 seconds]
jds has joined #ruby-lang
tkuchiki has joined #ruby-lang
<yorickpeterse> Yeah, it's some solid piece of engineering
<yorickpeterse> of course it has full test coverage too
<yorickpeterse> and of course it also handles floating points
ayonkhan has joined #ruby-lang
ayonkhan has quit [Client Quit]
tunaCanBruh has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
ghostpl_ has quit [Remote host closed the connection]
Zionmaster has joined #ruby-lang
SuMo_D has joined #ruby-lang
agarie has quit [Remote host closed the connection]
stardiviner has quit [Ping timeout: 245 seconds]
oleo__ has quit [Quit: Verlassend]
ottlikg has quit [Ping timeout: 245 seconds]
Zionmaster has quit [Remote host closed the connection]
Zionmaster has joined #ruby-lang
arBmind has quit [Ping timeout: 264 seconds]
roamingdog has joined #ruby-lang
Respek_ has quit [Read error: Connection reset by peer]
godzillaenlacasa has joined #ruby-lang
mattyohe has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
momomomomo has joined #ruby-lang
Zionmaster has quit [Ping timeout: 250 seconds]
Integralist has quit [Ping timeout: 255 seconds]
arBmind has joined #ruby-lang
nifoc has quit [Remote host closed the connection]
nifoc has joined #ruby-lang
SuMo_D has quit [Ping timeout: 272 seconds]
malconis has quit [Ping timeout: 265 seconds]
Integralist has joined #ruby-lang
stardiviner has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
malconis has joined #ruby-lang
nifoc has quit [Remote host closed the connection]
nifoc has joined #ruby-lang
arBmind has quit [Ping timeout: 256 seconds]
solars has quit [Ping timeout: 252 seconds]
shinnya has quit [Ping timeout: 264 seconds]
tunaCanBruh has quit [Ping timeout: 245 seconds]
vipaca has joined #ruby-lang
setanta_ has joined #ruby-lang
oleo has joined #ruby-lang
rippa has joined #ruby-lang
lytol has joined #ruby-lang
SuMo_D has joined #ruby-lang
fujimura has quit []
|jemc| has joined #ruby-lang
skade has joined #ruby-lang
fujimura has joined #ruby-lang
allomov has quit [Remote host closed the connection]
zz_olivierrr is now known as olivierrr
j4cknewt has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tcopeland has quit [Ping timeout: 246 seconds]
micmus has joined #ruby-lang
agarie has joined #ruby-lang
cornerma1 has joined #ruby-lang
roamingdog has quit []
riotjones has quit [Remote host closed the connection]
cornerman has quit [Ping timeout: 256 seconds]
roamingdog has joined #ruby-lang
hahuang65 has joined #ruby-lang
fusillicode has quit [Ping timeout: 265 seconds]
AKASkip has joined #ruby-lang
hahuang65 has quit [Ping timeout: 245 seconds]
<darix> yorickpeterse: the code isnt that bad btw ... it just looks "WTF"
<darix> it does the whole jazz without raising an exception
<apeiros_> darix: IMO a misnomer
<apeiros_> it only allows integers, not all numbers
<darix> apeiros_: question is ... how would you solve he problem in a more nice manner?
<darix> apeiros_: method name aside. let's focus on the body first
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
<apeiros_> darix: so phrase the problem as "how do I test whether a string is a valid number in base 10", yes?
<apeiros_> s/number/integer/
<jtperreault> i was curious about this too. perhaps is_a? or something similar
<apeiros_> s/number/positive integer/
<darix> apeiros_: "and if the the value of the number is the whole string or just a subset"
<darix> apeiros_: as
<darix> >> '2fwdg'.to_i
<eval-in> darix => 2 (https://eval.in/293848)
<darix> >> 'a2fwdg'.to_i
<eval-in> darix => 0 (https://eval.in/293849)
<apeiros_> oh, actually drop that 'positive' again :)
<apeiros_> well, ok, 4th try:
<apeiros_> "test whether a complete string is a valid integer in base 10"
<jtperreault> >> '32find'.to_i.to_s
<eval-in> jtperreault => "32" (https://eval.in/293850)
<apeiros_> if that's the problem, then I find str.to_i.to_s == str acceptable. I'd probably still use a regex, though.
intinig has quit [Remote host closed the connection]
<yorickpeterse> heh, dat discussion
<yorickpeterse> my opinion: it sucks
<darix> yorickpeterse: improve it
<yorickpeterse> I will, by removing it
intinig has joined #ruby-lang
<jtperreault> yorickpeterse: will you be replacing it with something else?
<darix> ^
<apeiros_> I usually don't need something like the above because I just convert using Integer(str, 10)
tunaCanBruh has joined #ruby-lang
<yorickpeterse> jtperreault: No
<yorickpeterse> The use case relying on this will be refactored out
<yorickpeterse> along with 80% of the other prototype code
<yorickpeterse> something something protoduction
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gwendall has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
intinig has quit [Ping timeout: 250 seconds]
tcopeland has joined #ruby-lang
gwendall has joined #ruby-lang
skade has quit [Ping timeout: 265 seconds]
Integralist has quit [Ping timeout: 264 seconds]
tunaCanBruh has quit [Ping timeout: 255 seconds]
Zionmaster has joined #ruby-lang
godzillaenlacasa has quit [Quit: Computer has gone to sleep.]
havenn has joined #ruby-lang
gwendall has quit [Ping timeout: 272 seconds]
__butch__ has joined #ruby-lang
havenwood has quit [Ping timeout: 245 seconds]
godzillaenlacasa has joined #ruby-lang
lytol has quit [Remote host closed the connection]
arBmind has quit [Quit: Leaving.]
<jtperreault> apeiros_: Integer(str, 10) seems more robust in many ways
<jtperreault> apeiros_: thanks for sharing
<apeiros> jtperreault: but it is a different use-case
<apeiros> is_number? returns true/false, Integer(str, 10) raises
<jtperreault> i saw that, trying to give it some jibberish
micmus has quit [Ping timeout: 265 seconds]
allomov has joined #ruby-lang
amsi has joined #ruby-lang
intinig has joined #ruby-lang
<yorickpeterse> comedy solution:
<yorickpeterse> !!Integer(value, 10) rescue false
* yorickpeterse runs
<apeiros> heh
j4cknewt_ has joined #ruby-lang
j4cknewt has quit [Ping timeout: 240 seconds]
lektrik has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
<yorickpeterse> oh boy, more completely untested code
<yorickpeterse> how things run in the first place, I don't know
<yorickpeterse> "here's a module with dozens of calculation related methods"
<yorickpeterse> "here are 0 tests for it"
<yorickpeterse> "oh we're using this in reports we want to sell for lots of money"
<yorickpeterse> (╯°□°)╯︵ ┻━┻
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
riffraff has quit [Quit: Leaving]
yxejamir has quit [Ping timeout: 250 seconds]
piotrj has joined #ruby-lang
piotrj has quit [Read error: Connection reset by peer]
piotrj_ has joined #ruby-lang
riotjones has joined #ruby-lang
SuMo_D has joined #ruby-lang
j4cknewt_ has quit [Ping timeout: 255 seconds]
riotjones has quit [Ping timeout: 252 seconds]
piotrj_ has quit [Read error: Connection reset by peer]
piotrj has joined #ruby-lang
lektrik has quit [Read error: Connection reset by peer]
chinmay_dd has joined #ruby-lang
j4cknewt has joined #ruby-lang
piotrj_ has joined #ruby-lang
mikecmpbll has quit [Ping timeout: 256 seconds]
ninedragon has joined #ruby-lang
stan has quit [Ping timeout: 252 seconds]
piotrj has quit [Ping timeout: 264 seconds]
piotrj has joined #ruby-lang
piotrj_ has quit [Ping timeout: 256 seconds]
piotrj_ has joined #ruby-lang
strixd has quit [Quit: 500]
piotrj has quit [Ping timeout: 256 seconds]
piotrj_ has quit [Remote host closed the connection]
intinig has quit [Remote host closed the connection]
intinig has joined #ruby-lang
smoitra has joined #ruby-lang
fusillicode has joined #ruby-lang
intinig has quit [Ping timeout: 256 seconds]
AlexAltea has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
havenn is now known as havenwood
enebo has quit [Quit: enebo]
bb010g has quit [Quit: Connection closed for inactivity]
ArchRogem has quit [Quit: Textual IRC Client: www.textualapp.com]
konr has joined #ruby-lang
wallerdev has joined #ruby-lang
centrx has quit [Remote host closed the connection]
smoitra has quit [Quit: Leaving]
bb010g has joined #ruby-lang
tvon has joined #ruby-lang
mattyohe has quit [Quit: Connection closed for inactivity]
rikkipitt has quit [Ping timeout: 272 seconds]
lytol_ has joined #ruby-lang
symm- has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
agarie has quit [Remote host closed the connection]
roamingdog has joined #ruby-lang
symm-_ has joined #ruby-lang
symm- has quit [Ping timeout: 245 seconds]
jwesley has joined #ruby-lang
symm-_ is now known as symm-
agarie has joined #ruby-lang
enebo has joined #ruby-lang
stardiviner has quit [Ping timeout: 252 seconds]
simi has quit [Ping timeout: 246 seconds]
dellavg_ has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
ur5us has joined #ruby-lang
jwesley has left #ruby-lang [#ruby-lang]
hahuang65 has joined #ruby-lang
lytol_ has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
mikecmpbll has joined #ruby-lang
postmodern has joined #ruby-lang
_djbkd has joined #ruby-lang
schlapppy has joined #ruby-lang
Zionmaster has quit [Remote host closed the connection]
Zionmaster has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
j4cknewt has quit [Ping timeout: 246 seconds]
j4cknewt has joined #ruby-lang
Zionmaster has quit [Ping timeout: 245 seconds]
malconis has quit [Ping timeout: 265 seconds]
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
malconis has joined #ruby-lang
j4cknewt_ has joined #ruby-lang
j4cknewt has quit [Ping timeout: 244 seconds]
stardiviner has joined #ruby-lang
martinbmadsen has joined #ruby-lang
j4cknewt has joined #ruby-lang
j4cknewt_ has quit [Ping timeout: 256 seconds]
sahglie has joined #ruby-lang
Missphoenix has joined #ruby-lang
j4cknewt has quit [Ping timeout: 256 seconds]
allomov has quit [Remote host closed the connection]
martinbmadsen has quit [Ping timeout: 252 seconds]
tenderlove has quit [Quit: Leaving...]
tenderlove has joined #ruby-lang
Miphix has quit [Ping timeout: 265 seconds]
fusillicode has quit [Ping timeout: 256 seconds]
dellavg_ has quit [Ping timeout: 264 seconds]
j4cknewt has joined #ruby-lang
tvon has quit [Quit: Lost terminal]
roamingdog has quit [Remote host closed the connection]
martinbmadsen has joined #ruby-lang
workmad3 has quit [Ping timeout: 246 seconds]
momomomomo has joined #ruby-lang
tvon has joined #ruby-lang
sgambino has joined #ruby-lang
tvon has quit [Client Quit]
solars has joined #ruby-lang
<joevandyk> CSV.open says it accepts an IO object. But: require 'stringio'; require 'csv'; CSV.open(StringIO.new('foo, goo')) # TypeError: no implicit conversion of StringIO into String
<joevandyk> whereas CSV.open(File.open(..)) works just fine
ruby-lang099 has joined #ruby-lang
<ruby-lang099> Ruby noob here...
<joevandyk> oh shit, CSV.open is for writing a csv i think
<apeiros_> joevandyk: not all things which accept an IO also accept a StringIO
yfeldblum has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
<ruby-lang099> hey guys, howcome when I have <%= yield %> placed inside my <body>...</body>... it causes a block of white strip across the screen.... any idea how to solve this? I want the index page to be on TOP of the background image. not clearning out
<apeiros_> but you can use CSV with strings directly
AugustoCesar has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
AugustoCesar has joined #ruby-lang
<ruby-lang099> I've been closely following CSS/HTML instructions, but it seems like I may be doing something wrong with Ruby?
anotherguy has joined #ruby-lang
<anotherguy> ..
<anotherguy> has anyone here complete the rails tutorial using rspec?
mikey320b has joined #ruby-lang
<havenwood> anotherguy: Just a heads up, #RubyOnRails is a better place for Rails-related questions.
momomomomo has quit [Ping timeout: 252 seconds]
<anotherguy> thank you
momomomomo has joined #ruby-lang
<havenwood> ruby-lang099: Are you running into a particular problem? Or just a general feeling?
allomov has joined #ruby-lang
<havenwood> ruby-lang099: The former two are markup languages so it's not surprising that a general purpose programming language would be more difficult to tackle.
sahglie has left #ruby-lang ["ERC Version 5.3 (IRC client for Emacs)"]
<havenwood> ruby-lang099: Maybe you just need more time doing Ruby. Things tend to start making sense as you keep going with it. Persevere!
ruby-lang099 has quit [Ping timeout: 246 seconds]
anotherguy is now known as HEGEMON
momomomomo has quit [Quit: momomomomo]
HEGEMON is now known as THEHEGEMON
THEHEGEMON is now known as HEGEMON
HEGEMON is now known as THEHEGEMON
Voker57 has quit [Ping timeout: 245 seconds]
simi has joined #ruby-lang
martinbmadsen has quit [Ping timeout: 255 seconds]
martinbmadsen has joined #ruby-lang
momomomomo has joined #ruby-lang
THEHEGEMON is now known as HEGEMONIC
HEGEMONIC is now known as HEGEMONY
HEGEMONY has left #ruby-lang [#ruby-lang]
mkaesz has quit [Quit: Leaving...]
asd_ has joined #ruby-lang
<asd_> ls
asd_ has left #ruby-lang [#ruby-lang]
therealtesseract has joined #ruby-lang
iamninja has quit [Read error: Connection reset by peer]
symm- has quit [Ping timeout: 265 seconds]
iamninja has joined #ruby-lang
agarie has quit []
tvon has joined #ruby-lang
enkristoffer has quit [Read error: Connection reset by peer]
j4cknewt has quit [Read error: Connection reset by peer]
enkristoffer has joined #ruby-lang
j4cknewt has joined #ruby-lang
schlapppy has quit [Ping timeout: 246 seconds]
martinbmadsen has quit [Ping timeout: 250 seconds]
slawrence00 has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
roamingdog has joined #ruby-lang
solars has quit [Ping timeout: 240 seconds]
enkristoffer has quit [Ping timeout: 264 seconds]
symm- has joined #ruby-lang
enkristoffer has joined #ruby-lang
gwendall has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
gwendall has quit [Ping timeout: 245 seconds]
robbyoconnor has quit [Ping timeout: 246 seconds]
simi has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Remote host closed the connection]
Steve_Jobs has quit [Quit: WeeChat 0.4.2]
Steve_Jobs has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
fuhgeddaboudit has joined #ruby-lang
yfeldblum has joined #ruby-lang
momomomomo has joined #ruby-lang
duderonomy has joined #ruby-lang
b_hoffman has joined #ruby-lang
b0rgBart has joined #ruby-lang
michael_mbp has quit [Excess Flood]
rikkipitt has joined #ruby-lang
j4cknewt_ has joined #ruby-lang
allomov has quit [Remote host closed the connection]
michael_mbp has joined #ruby-lang
j4cknewt has quit [Ping timeout: 272 seconds]
j4cknewt has joined #ruby-lang
j4cknewt_ has quit [Read error: Connection reset by peer]
simi has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
mattyohe has joined #ruby-lang
havenwood has quit [Ping timeout: 256 seconds]
bb010g has quit [Quit: Connection closed for inactivity]
sgambino has quit [Remote host closed the connection]
shinnya has joined #ruby-lang
fusillicode has joined #ruby-lang
_djbkd has quit [Remote host closed the connection]
lytol has joined #ruby-lang
arBmind has joined #ruby-lang
ghostpl_ has joined #ruby-lang
b_hoffman has quit [Ping timeout: 272 seconds]
pragmatism has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
b_hoffman has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
momomomomo has quit [Quit: momomomomo]
j4cknewt has joined #ruby-lang
mikey320b has quit [Quit: Leaving]
simi has quit [Ping timeout: 246 seconds]
_djbkd has joined #ruby-lang
Hrendalf has joined #ruby-lang
loincloth has joined #ruby-lang
gwendall has joined #ruby-lang
t4nk061 has joined #ruby-lang
<t4nk061> hi!
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<t4nk061> is there a way to find out, where the sql query is run from?
<womble> That's a question somewhat lacking in relevant context.
chinmay_dd has quit [Quit: Connection closed for inactivity]
<wallerdev> lol
<wallerdev> i love that q
robbyoconnor has joined #ruby-lang
gwendall has quit [Ping timeout: 272 seconds]
<t4nk061> well, i have activeadmin, and it does a query: 'SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "users" LIMIT 30 OFFSET 0) subquery_for_count' on users page
<t4nk061> why? what is the purpose of this query. why is it doubled?
oddmunds has quit [Remote host closed the connection]
robbyoconnor has quit [Quit: Konversation terminated!]
nedp has joined #ruby-lang
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
musl has joined #ruby-lang
setanta_ has quit [Quit: Leaving]
rikkipit_ has joined #ruby-lang
momomomomo has joined #ruby-lang
sarkyniin has joined #ruby-lang
SuMo_D has joined #ruby-lang
rikkipitt has quit [Ping timeout: 250 seconds]
j4cknewt_ has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
<jhass> well, that's stuff that happens when you do query generation
<jhass> nothing an optimizer worth that name shouldn't handle though
konr has quit [Quit: Connection closed for inactivity]
skade has joined #ruby-lang
lytol has quit [Remote host closed the connection]
tvon has quit [Quit: leaving]
<t4nk061> ok, thx
nathanstitt has quit [Quit: I growing sleepy]
b_hoffman has quit [Quit: b_hoffman]
Zionmaster has joined #ruby-lang
roamingdog has joined #ruby-lang
lytol has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
b_hoffman has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
roamingdog has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
vipaca has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roamingdog has joined #ruby-lang
yfeldblum has joined #ruby-lang
havenwood has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
FRodrigues has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
<FRodrigues> hello
j4cknewt_ has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
elia has joined #ruby-lang
<jhass> FRodrigues: if you have any question, just ask ;)
AugustoCesar has quit [Remote host closed the connection]
<FRodrigues> I wanted to know good books to learn ruby
<FRodrigues> for an intermediate programmer
gwendall has joined #ruby-lang
ledestin has joined #ruby-lang
<havenwood> FRodrigues: The Ruby Programming Language or The Well-Grounded Rubyist, Second Edition are good books.
<weaksauce> FRodrigues do you know the syntax of ruby at all?
<weaksauce> eloquent ruby is awesome if you know a little ruby
<FRodrigues> no
<FRodrigues> I know java python c c++
<weaksauce> those two books that havenwood suggested are good books for ruby
tunaCanBruh has quit [Ping timeout: 250 seconds]
<FRodrigues> Is there many differences between version 1.9 and 2.2?
<FRodrigues> Are*
solars has joined #ruby-lang
<postmodern> should IPAddr ignore %lo0 identifiers on BSD IPs?
lytol has quit [Remote host closed the connection]
lytol has joined #ruby-lang
<darix> postmodern: seems ipaddress doesnt like it either.
<postmodern> technically it's an artifact of BSD's /etc/hosts
<postmodern> but I wonder if it's worth submitting a bug about?
yfeldblum has quit [Remote host closed the connection]
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<darix> postmodern: naw. you need the same syntax on linux too when using link local addresses.
saramic has joined #ruby-lang
roamingdog has joined #ruby-lang
yfeldblum has joined #ruby-lang
solars has quit [Ping timeout: 252 seconds]
lytol has quit [Remote host closed the connection]
Bwild has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
<postmodern> also am I missing something, or does IPAddr not have methods for determining if an address is link local or RFC 1918?
<FRodrigues> The Well-Grounded Rubyist looks like a very good book
ta has quit [Read error: Connection reset by peer]
<darix> you mean rfc 4291 and 4862 ;)
ta has joined #ruby-lang
j5s7 has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
j5s7 has quit [Client Quit]
j4cknewt_ has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
frank_o has joined #ruby-lang
Hrendalf has quit [Read error: Connection reset by peer]
<havenwood> postmodern: hrm, based on this it appears they've made it legit to have a `%` followed by any ascii chars you want for zone identifier other than a `]` or another `%`: https://tools.ietf.org/html/rfc6874
<frank_o> Hi! Say if I'm running a bunch of commands in a Rake task: https://gist.github.com/anonymous/684995a2f6a4cc54ce3d -- how'd I go about running B only after A has succeded, C only after B has succeded etc.?
yfeldblum has quit [Remote host closed the connection]
<jhass> frank_o: iirc rakes sh helper aborts the task if the command fails
yfeldblum has joined #ruby-lang
<frank_o> Sorry, succeeded = completed
roamingdog has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
nathanstitt has joined #ruby-lang
<frank_o> Right now I'm using `sleep`, but sometimes the commands take longer time to finish, so often I end up with multiple commands being run simultaneously which almost crashes my VPS.
<frank_o> Cool!
<frank_o> What do we have here :-)
fujimura has quit [Remote host closed the connection]
duderonomy has joined #ruby-lang
momomomomo_ has joined #ruby-lang
wallerdev has joined #ruby-lang
Iskarlar has joined #ruby-lang
duderonomy has quit [Read error: No route to host]
momomomomo has quit [Ping timeout: 264 seconds]
momomomomo_ is now known as momomomomo
duderonomy has joined #ruby-lang
<jhass> ?
<postmodern> darix, yeah those too
<jhass> frank_o: that doesn't make any sense
<frank_o> lol
<jhass> frank_o: the block is meant to give you the opportunity to change the default behavior depending on the command succeed or not
<frank_o> Guess I have a lot of work to do :-)
<FRodrigues> "lets install a newer version of ruby" "what is rvm and rbenv?" "OH GOD"
<jhass> frank_o: I'm making a huge guess now (which is very very bad, such detail must be in your question): the command you actually run forks
<postmodern> havenwood, you think it's worth submitting a bug?
<FRodrigues> Now I have the great problem of choosing two equally good things or maybe both lol
<jhass> frank_o: solution: make it not fork or get its pid and Process.wait. Later variant is a mere workaround, the correct way is to not fork
<frank_o> jhass: i think it does fork, yeah. its an external node script so..
AKASkip has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby-lang
mi12 has joined #ruby-lang
<havenwood> postmodern: if it's really now allowed by the spec, it does seem they should adjust the RE_IPV6ADDRLIKE_ Regexp to allow it. Hrm, i dunno.
<mi12> is this the main channel for ruby ?
SuMo_D has joined #ruby-lang
<jhass> this is the official one, however #ruby has more people in it
<mi12> tanks jhass
SuMo_D has quit [Remote host closed the connection]
<frank_o> Nope
<jhass> frank_o: those answers look like even worse workarounds than Process.wait
<frank_o> hehe :)
<jhass> make your command not fork
<frank_o> jhass: Any pointers where to look / what to look for?
<jhass> most sane programs that do fork have a flag to prevent it
<frank_o> like is this something I can do in ruby or must is it more of a node thing
<frank_o> aah
<frank_o> yeah that makes sense!
<frank_o> thanks jhass =)
<headius> yorickpeterse: saw that MeltService...it could be about half that many lines, given what it does
<frank_o> jhass: Wait, when I run the program manually it does not fork. I reckon it's different inside rake / system though?
<headius> the MeltDown class is unnecessary since it has no state
enebo has quit [Quit: enebo]
<jhass> frank_o: shouldn't be
<Soviet_Jesus> Hello!
<jhass> frank_o: if it indeed does not fork the only thing that could cause your description would be that you run rake in multitask mode
j4cknewt_ has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
t4nk061 has quit [Ping timeout: 246 seconds]
<Soviet_Jesus> Is there any way to define a function that takes in a number of arguments, and then pass the function with no arguments into another one for it to use? I probably didn't articulate that well, so I made this: https://gist.github.com/SuperSovietJesus/7d57610194c18d8f05a8
<jhass> Soviet_Jesus: use a block
<jhass> if yield line and call it like create_purged_copy {|line| lawyer?(line) }
lytol has joined #ruby-lang
<Soviet_Jesus> so if I wanted to do the doctor is that how I wouldn't have to rewrite the source and dest blocks?
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> yeah
<Soviet_Jesus> basically I want the arguments to the copy creator to be the testing function and some way of accessing the source and dest files
momomomomo_ has joined #ruby-lang
momomomomo has quit [Ping timeout: 252 seconds]
momomomomo_ is now known as momomomomo
<Soviet_Jesus> or i suppose just the source, I'll be creating the destination one I think
<jhass> use a block
<frank_o> jhass: Will look into it, thanks
<Soviet_Jesus> but lawyer? is hard coded in your example, or am I not reading that right?
rikkipit_ has quit [Quit: Leaving...]
<jhass> probably the later, create_purged_copy {|line| doctor?(line) }
<jhass> create_purged_copy {|line| doctor?(line) || lawyer?(line) }
<jhass> that's the call, not the method definition
deol has joined #ruby-lang
<Soviet_Jesus> oh, so line is kina a place holder until I use it later?
gwendall has quit [Remote host closed the connection]
<Soviet_Jesus> so like create_purged_copy {|a| checker?(a)} ?
<jhass> you probably really should just dig out the section about blocks in your ruby tutorial
<Soviet_Jesus> so i want to define a function to use a block as an argument?
robbyoconnor has joined #ruby-lang
<Soviet_Jesus> been in the process of it
hahuang65 has quit [Ping timeout: 246 seconds]