mercwithamouth has quit [Ping timeout: 252 seconds]
nfk has quit [Quit: yawn]
jtgiri_ has joined #ruby
niop has joined #ruby
fuhgeddaboudit has joined #ruby
kitak has quit [Read error: Connection reset by peer]
KingDoge has quit [Ping timeout: 260 seconds]
aryaching has quit [Ping timeout: 240 seconds]
kitak has joined #ruby
aryaching has joined #ruby
aryaching_ has quit [Ping timeout: 260 seconds]
Brolen has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
jkhwan has quit [Remote host closed the connection]
tylersmith has joined #ruby
preller has quit [Ping timeout: 264 seconds]
mgberlin has quit [Quit: mgberlin]
aryaching_ has joined #ruby
osvico has quit []
s2013 has joined #ruby
robertjpayne has joined #ruby
aryaching has quit [Ping timeout: 240 seconds]
iliketur_ has quit [Quit: zzzzz…..]
AlSquirrel has quit [Quit: This computer has gone to sleep]
<robertjpayne>
Anyone know if rspec is supposed to be thread safe?
Hanmac1 has joined #ruby
<charliesome>
robertjpayne: what do you mean by that
jfelchner has quit [Ping timeout: 245 seconds]
<robertjpayne>
charliesome: I dunno just trying to figure out why my specs are randomly breaking on a specific threaded code spot, it works fine if I fire up the HTTP server and run thousands of req/s against it but not the specs
coca_rails has quit [Remote host closed the connection]
<robertjpayne>
charliesome: it's just really random... sometimes just fine.. sometimes it breaks
Hanmac has quit [Ping timeout: 240 seconds]
aryaching has joined #ruby
<charliesome>
robertjpayne: is your code up anywhere
preller has joined #ruby
<robertjpayne>
charliesome: I can't upload the whole thing, want to see the threaded code bit?
<robertjpayne>
Basically in my eyes this code is to ensure that a single thread uses a single transaction at a time or ( reuses ) if possible
xk_id has joined #ruby
siwica has quit [Quit: siwica]
<robertjpayne>
Something with rspec isn't getting cleaned up properly and the next spec running complains the isolation level is different ( obviously cannot switch isolation level mid transaction ). Looking at the backtrace the method is never called more than once
Deele has quit [Ping timeout: 260 seconds]
roadt has quit [Read error: Connection timed out]
roadt has joined #ruby
nowthatsamatt has joined #ruby
aryaching_ has joined #ruby
unstable has joined #ruby
fedesilva has quit [Remote host closed the connection]
<unstable>
Is there a way to do object.methods on an object, and only output the available methods that are not the default options from ruby
<unstable>
meaning I want to see the methods that are unique to that class
aryaching has quit [Ping timeout: 265 seconds]
mgberlin has joined #ruby
subbyyy_ has joined #ruby
iliketur_ has joined #ruby
afhammad has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
danshult_ has quit [Remote host closed the connection]
sayan has quit [Ping timeout: 248 seconds]
tharindu_ has joined #ruby
Virtualize has joined #ruby
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danshultz has joined #ruby
aryaching_ has quit [Ping timeout: 240 seconds]
coca_rails has quit [Remote host closed the connection]
Megtastique has joined #ruby
sayan has joined #ruby
jtgiri_ has quit [Quit: jtgiri_]
danshult_ has joined #ruby
afhammad has quit [Ping timeout: 245 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
danshultz has quit [Read error: Connection reset by peer]
sensen has joined #ruby
subbyyy_ has quit [Ping timeout: 245 seconds]
culturel_ has joined #ruby
culturel_ has quit [Max SendQ exceeded]
coca_rails has joined #ruby
aryaching has joined #ruby
coca_rails has quit [Remote host closed the connection]
culturel_ has joined #ruby
tylersmith has quit [Ping timeout: 260 seconds]
robbyoconnor has quit [Ping timeout: 240 seconds]
robbyoconnor has joined #ruby
timonv has joined #ruby
vlad_starkov has joined #ruby
tylersmith has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
aryaching has quit [Ping timeout: 260 seconds]
xk_id has quit [Ping timeout: 245 seconds]
timonv has quit [Ping timeout: 245 seconds]
krz has joined #ruby
preller has quit [Ping timeout: 248 seconds]
intuxicated has quit [Ping timeout: 245 seconds]
varfoo has joined #ruby
<|jemc|>
unstable: object.methods(false) will only show methods defined in that class
<|jemc|>
although I'll often use something like:
<|jemc|>
object.methods-Object.instance_methods
aryaching has joined #ruby
<unstable>
|jemc|: Thanks!
<|jemc|>
to subtract out all of the methods common to all Objects
<|jemc|>
no problem. happy introspection :P
<unstable>
yea, that last trick is really cool
ssvo has joined #ruby
preller has joined #ruby
LexicalScope has joined #ruby
davy_ has quit [Remote host closed the connection]
bobdobbs has joined #ruby
xk_id has joined #ruby
hamakn has joined #ruby
jkhwan has joined #ruby
dkamioka has quit [Remote host closed the connection]
summerteeth has joined #ruby
psyl0n has quit [Remote host closed the connection]
peregrine81 has joined #ruby
tylersmi_ has joined #ruby
tylersmith has quit [Read error: No buffer space available]
aryaching_ has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
fedesilva has joined #ruby
aryaching has quit [Ping timeout: 240 seconds]
DeProdigy has joined #ruby
fandikurnia01 has quit [Ping timeout: 265 seconds]
summerteeth has quit [Quit: summerteeth]
kgeiste has joined #ruby
kgeiste has left #ruby [#ruby]
summerteeth has joined #ruby
Brolen has quit [Quit: Brolen]
dr0ff has quit []
Kruppe has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Quit: Leaving...]
preller has quit [Ping timeout: 245 seconds]
Kruppe has joined #ruby
w4pm has joined #ruby
petey has quit [Remote host closed the connection]
mesamoo has joined #ruby
jerius has joined #ruby
danshult_ has quit [Remote host closed the connection]
danshultz has joined #ruby
unstable has left #ruby [#ruby]
preller has joined #ruby
jerius has quit [Client Quit]
mary5030 has quit [Remote host closed the connection]
aryaching has joined #ruby
radic has joined #ruby
mary5030 has joined #ruby
w4pm has quit [Ping timeout: 264 seconds]
jfelchner has quit [Ping timeout: 245 seconds]
aryaching_ has quit [Ping timeout: 245 seconds]
danshultz has quit [Ping timeout: 264 seconds]
jrobeson has quit [Read error: Connection reset by peer]
coldmethod has quit [Remote host closed the connection]
Brolen has joined #ruby
jfelchner has joined #ruby
radic_ has quit [Ping timeout: 264 seconds]
mary5030 has quit [Ping timeout: 260 seconds]
davy_ has joined #ruby
ssvo has quit [Ping timeout: 264 seconds]
anomaly_ has quit [Remote host closed the connection]
anomaly_ has joined #ruby
jonahR has quit [Quit: jonahR]
mary5030 has joined #ruby
_maes_ has joined #ruby
wallerdev has joined #ruby
davy_ has quit [Read error: Connection reset by peer]
davy_ has joined #ruby
afhammad has joined #ruby
lyanchih has quit [Quit: lyanchih]
falood has joined #ruby
vikhyat has joined #ruby
kung has joined #ruby
kung has quit [Changing host]
kung has joined #ruby
voland has joined #ruby
lethjakman has quit [Ping timeout: 260 seconds]
preller has quit [Ping timeout: 245 seconds]
kostine has quit [Quit: kostine]
afhammad has quit [Ping timeout: 252 seconds]
nateberkopec has joined #ruby
Virtualize has quit [Quit: Leaving...]
gigetoo has quit [Remote host closed the connection]
<pontiki>
how would anyone know you *aren't* talking about 2.0.0?
mary5030 has quit [Ping timeout: 252 seconds]
<Hanmac>
Phobos: 1.8 is dead and you will not get any support from us ;P
culturel_ has joined #ruby
mengu has joined #ruby
<Phobos>
pontiki, by experience :) if you experimented that before you will say the same thing as Mon_Ouie :P
<Phobos>
thank you anyway
<pontiki>
what hanmac said
d45h has joined #ruby
<pontiki>
Phobos: if you "experimented" as well, you'd have found it
kevinykchan has quit [Read error: Connection reset by peer]
lyanchih has joined #ruby
<Phobos>
pontiki, If I knew that I will never answer such question here
mlpinit has quit [Ping timeout: 240 seconds]
kevinykchan has joined #ruby
blackmes1 has joined #ruby
<pontiki>
the question you just asked?
nvrch has joined #ruby
olivier_bK has joined #ruby
camilasan has joined #ruby
<Phobos>
pontiki, I said I can't find sort_by! in my current station so if you are experienced you gonna answer oh it has appeared in 1.9.x and doesn't exist in earlier versions :P
h_kon has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
<pontiki>
no
<pontiki>
i'm not
rootshift has joined #ruby
<pontiki>
many people can't find things that are right in front of them
afhammad has joined #ruby
<Phobos>
pontiki, ok thank you for your answers I really didn't think it exists maybe I must throw out my current book The ruby way 2th version :P
atm1 has quit [Remote host closed the connection]
<pontiki>
maybe you should go write python instead
<Phobos>
In the book the author said : "There is no sort_by! method. However, you could always write your own. "
<Hanmac>
i think the book is from th 1.8 era
<Mon_Ouie>
For the record, I didn't know when it appeared, I just changed the version number in the URL until it couldn't find it
<pontiki>
yes, because books are written to be current for all time and space
<Phobos>
pontiki, I think you are the last person to advice me after all :)
<pontiki>
let's hope so
<Phobos>
Mon_Ouie, OK thanks !
timonv has joined #ruby
<Hanmac>
pontiki: and any possible alternate dimensions ,P
<pontiki>
quite
<pontiki>
the 10 we seem to know exist, anyway
petey has joined #ruby
roolo_ has joined #ruby
wmoxam has joined #ruby
d45h has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby
nari has quit [Ping timeout: 245 seconds]
noname001__ has joined #ruby
<Phobos>
pontiki, I am not a Python fan but I don't think there is big difference.. At the end both are interpreted programming language
<Phobos>
of course ruby is more "elegant" but.. it's not a huge difference :)
<pontiki>
lol
<pontiki>
w/e
<Hanmac>
imo ruby is pythons evil twin sister ;P
<Phobos>
Hanmac, I mean they are both weakly typed languages
<Phobos>
they tolerate everything you throw :P
<Phobos>
especially ruby
<Hanmac>
i mean ruby and python are from the language very similar like twin sisters ... but imo in ruby you can do much more evil stuff
Kar- has joined #ruby
kevinykchan has quit [Read error: Connection reset by peer]
<Mon_Ouie>
>> 3 + "4"
<eval-in_>
Mon_Ouie => String can't be coerced into Fixnum (TypeError) ... (https://eval.in/79831)
petey has quit [Ping timeout: 252 seconds]
kevinykchan has joined #ruby
<Phobos>
Hanmac, Yeah of course Ruby is richer in functionality but the basis is the same
<Mon_Ouie>
That's not weakly typed (C, for example, would let you do that)
ghr has joined #ruby
d45h has joined #ruby
obs has joined #ruby
tonni has joined #ruby
<Phobos>
Maybe you should add the so so funny 3.to_s to works
<Phobos>
hahahahahah
<Phobos>
completely insane but very funny !
tonni has quit [Remote host closed the connection]
bradhe has joined #ruby
tonni has joined #ruby
klaut has quit [Remote host closed the connection]
timonv has quit [Read error: Connection reset by peer]
timonv_ has joined #ruby
gregoriokusowski has joined #ruby
ssvo has quit [Ping timeout: 248 seconds]
pen has quit [Ping timeout: 240 seconds]
dangerousdave has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
aagdbl has quit [Quit: Leaving.]
<Phobos>
Ruby is very strong, the first time I wrote 3 consecutives unit test without a problem.. It's to leave ruby seems like I will stick with it for the eternity
pen has joined #ruby
pen has quit [Remote host closed the connection]
pen has joined #ruby
yjmsf20 has joined #ruby
pen has quit [Read error: Connection reset by peer]
Advocation has joined #ruby
pen has joined #ruby
pen has quit [Remote host closed the connection]
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shedd has joined #ruby
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
anomaly_ has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 240 seconds]
anomaly_ has joined #ruby
krz has quit [Quit: WeeChat 0.4.2]
shedd has quit [Ping timeout: 248 seconds]
krz has joined #ruby
culturel_ has joined #ruby
culturel_ has quit [Max SendQ exceeded]
bal has joined #ruby
phansch has joined #ruby
culturel_ has joined #ruby
drumusician has joined #ruby
culturel_ has quit [Client Quit]
sayan has joined #ruby
Hobogrammer_ has joined #ruby
whysomad has joined #ruby
mikecmpbll has joined #ruby
ephemerian has joined #ruby
zipper has quit [Ping timeout: 245 seconds]
greenrose has quit [Ping timeout: 240 seconds]
Hobogrammer has quit [Ping timeout: 240 seconds]
whysosad has quit [Ping timeout: 240 seconds]
TMM has joined #ruby
TMM has joined #ruby
TMM has quit [Changing host]
aagdbl has joined #ruby
preller has quit [Read error: Operation timed out]
dangerousdave has quit []
greenrose has joined #ruby
zipper has joined #ruby
anderson has quit [Quit: Leaving]
kevinykchan has quit [Read error: Connection reset by peer]
anderson has joined #ruby
kevinykchan has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
DouweM has quit [Ping timeout: 264 seconds]
zipper has quit [Ping timeout: 240 seconds]
bbloom has quit [Ping timeout: 248 seconds]
maroloccio has quit [Quit: WeeChat 0.4.1]
zipper_ has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
psyprus has joined #ruby
freerobby1 has joined #ruby
tkuchiki_ has joined #ruby
timonv_ has quit [Read error: Connection reset by peer]
r0bby_ has joined #ruby
psyprus has quit [*.net *.split]
anderson has quit [*.net *.split]
Kruppe has quit [*.net *.split]
sharms has quit [*.net *.split]
robbyoconnor has quit [*.net *.split]
blaxter has quit [*.net *.split]
havenwood has quit [*.net *.split]
pdtpatr1ck has quit [*.net *.split]
tkuchiki has quit [*.net *.split]
xiphias has quit [*.net *.split]
ddd has quit [*.net *.split]
mbff_ has quit [*.net *.split]
reach has quit [*.net *.split]
blo has quit [*.net *.split]
bobdobbs has quit [*.net *.split]
Paradox has quit [*.net *.split]
mjmac has quit [*.net *.split]
DuoSRX has quit [*.net *.split]
aetaric has quit [*.net *.split]
flagg0204 has quit [*.net *.split]
Nightmare has quit [*.net *.split]
sophomorical has quit [*.net *.split]
hoelzro has quit [*.net *.split]
kenichi has quit [*.net *.split]
DarkFoxDK has quit [*.net *.split]
Dwarf has quit [*.net *.split]
rurban has quit [*.net *.split]
freakazoid0223 has quit [*.net *.split]
shaileshg__ has quit [*.net *.split]
utkarsh has quit [*.net *.split]
zz_jrhorn424 has quit [*.net *.split]
Zai00 has joined #ruby
robonerd has quit [Remote host closed the connection]
robonerd has joined #ruby
Dwarf has joined #ruby
havenwood has joined #ruby
sharms has joined #ruby
blaxter has joined #ruby
pdtpatr1ck has joined #ruby
bobdobbs has joined #ruby
xiphias has joined #ruby
anderson has joined #ruby
ddd has joined #ruby
blo has joined #ruby
mbff_ has joined #ruby
psyprus has joined #ruby
Paradox has joined #ruby
reach has joined #ruby
flagg0204 has joined #ruby
DuoSRX has joined #ruby
mjmac has joined #ruby
aetaric has joined #ruby
sophomorical has joined #ruby
hoelzro has joined #ruby
Nightmare has joined #ruby
kenichi has joined #ruby
DarkFoxDK has joined #ruby
shaileshg__ has joined #ruby
rurban has joined #ruby
freakazoid0223 has joined #ruby
zz_jrhorn424 has joined #ruby
utkarsh has joined #ruby
freerobby1 has quit [Ping timeout: 264 seconds]
noop has quit [Ping timeout: 248 seconds]
Advocation has quit [Quit: Advocation]
Kruppe has joined #ruby
xiphias has quit [Remote host closed the connection]
rubyracer has joined #ruby
benlieb has joined #ruby
mlpinit has joined #ruby
Dwarf has quit [Max SendQ exceeded]
xiphias has joined #ruby
Dwarf has joined #ruby
tesuji has quit [Ping timeout: 251 seconds]
mlpinit_ has joined #ruby
mlpinit has quit [Read error: Connection reset by peer]
bal has quit [Ping timeout: 252 seconds]
Criztian has joined #ruby
jlebrech has joined #ruby
jonathanwallace1 has joined #ruby
klaut has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
preller has joined #ruby
Astralum has joined #ruby
kevinykchan has quit [Read error: Connection reset by peer]
mlpinit_ has quit [Ping timeout: 240 seconds]
kevinykchan has joined #ruby
marcgg has joined #ruby
Alina-malina has quit [Ping timeout: 252 seconds]
aryaching has joined #ruby
Speed has joined #ruby
Astralum has quit [Client Quit]
vlad_starkov has quit [Remote host closed the connection]
Alina-malina has joined #ruby
preller has quit [Ping timeout: 252 seconds]
marcgg_ has quit [Ping timeout: 252 seconds]
bradhe has joined #ruby
noop has joined #ruby
xk_id has quit [Quit:
VTLob has joined #ruby
vlad_starkov has joined #ruby
xk_id has joined #ruby
barratt has joined #ruby
Advocation has joined #ruby
preller has joined #ruby
workmad3 has joined #ruby
w1xz has joined #ruby
Advocation has quit [Client Quit]
rdark has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
djdb has joined #ruby
psyl0n has joined #ruby
Advocation has joined #ruby
culturel_ has joined #ruby
Duckily has quit [Quit: Duckily]
dseitz has quit [Quit: zzzZz]
krz has quit [Ping timeout: 240 seconds]
krz has joined #ruby
zipper_ has quit [Read error: Operation timed out]
anomaly_ has quit [Remote host closed the connection]
lyanchih has quit [Ping timeout: 248 seconds]
anomaly_ has joined #ruby
DouweM has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shedd has joined #ruby
mengu has quit [Remote host closed the connection]
zipper has joined #ruby
zipper is now known as Guest44387
mupkoo has joined #ruby
lkba has quit [Ping timeout: 245 seconds]
Xeago has quit [Remote host closed the connection]
mojjojo has joined #ruby
Xeago has joined #ruby
timonv has joined #ruby
cbetta_afk is now known as cbetta
rubyracer has quit [Quit: Konversation terminated!]
afhammad has quit []
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
shedd has quit [Ping timeout: 265 seconds]
Iszak has joined #ruby
Guest44387 has quit [Ping timeout: 240 seconds]
kitak_ has joined #ruby
Iszak has quit [Max SendQ exceeded]
vlad_starkov has quit [Remote host closed the connection]
ewnd9 has joined #ruby
kitak has quit [Ping timeout: 245 seconds]
bgy has joined #ruby
karupanerura is now known as zz_karupanerura
ua has joined #ruby
rubyracer has joined #ruby
ua has quit [Remote host closed the connection]
ua has joined #ruby
avril14th_ has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
simoz has joined #ruby
avril14th has quit [Remote host closed the connection]
culturel_ has joined #ruby
Iszak has joined #ruby
Zai00 has quit [Ping timeout: 260 seconds]
Iszak has quit [Max SendQ exceeded]
avril14th has joined #ruby
Zai00 has joined #ruby
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
zipper_ has joined #ruby
nettoweb has joined #ruby
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
culturel_ has quit [Client Quit]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
dukz has joined #ruby
Alina-malina has quit [Ping timeout: 264 seconds]
aryaching_ has joined #ruby
Iszak has joined #ruby
Alina-malina has joined #ruby
Iszak has quit [Max SendQ exceeded]
Iszak has joined #ruby
aryaching has quit [Ping timeout: 264 seconds]
Iszak has quit [Max SendQ exceeded]
reluctantlove has joined #ruby
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
reluctantlove has quit [Client Quit]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
havenwood has quit [Remote host closed the connection]
Iszak has joined #ruby
havenwood has joined #ruby
Iszak has quit [Max SendQ exceeded]
w4pm has joined #ruby
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
eka has joined #ruby
charliesome has joined #ruby
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
Iszak has joined #ruby
mengu has joined #ruby
Iszak has quit [Max SendQ exceeded]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
freerobby has joined #ruby
simoz2 has joined #ruby
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
havenwood has quit [Ping timeout: 260 seconds]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
w4pm has quit [Ping timeout: 245 seconds]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
simoz has quit [Ping timeout: 240 seconds]
siwica has quit [Ping timeout: 248 seconds]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
fijimunkii has quit [Ping timeout: 252 seconds]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
lewix_ has joined #ruby
siwica has joined #ruby
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
freerobby has quit [Ping timeout: 260 seconds]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
lewix_ has quit [Remote host closed the connection]
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
lewix_ has joined #ruby
Iszak has joined #ruby
Iszak has quit [Max SendQ exceeded]
AzizLight has joined #ruby
rootshift has quit [Quit: rootshift]
AzizLight has quit [Client Quit]
Iszak has joined #ruby
mlpinit has joined #ruby
Iszak has quit [Excess Flood]
benlieb has quit [Quit: benlieb]
lewix_ has quit [Ping timeout: 265 seconds]
h_kon has joined #ruby
funburn has quit [Quit: funburn]
A124 has quit [Read error: Connection reset by peer]
aagdbl has quit [Quit: Leaving.]
bradhe has joined #ruby
mlpinit has quit [Ping timeout: 240 seconds]
marr has joined #ruby
ddd has quit [Ping timeout: 240 seconds]
ddd has joined #ruby
xk_id has quit [Quit:
timonv has quit [Read error: Connection reset by peer]
Alina-malina has quit [Ping timeout: 265 seconds]
ua has quit [Quit: Show me someone without an ego, and I’ll show you a loser.]
m0use_ has joined #ruby
timonv has joined #ruby
culturel_ has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
sensen has quit [Quit: leaving]
zphds has quit [Quit: zphds]
A124 has joined #ruby
soba has quit [Ping timeout: 264 seconds]
Rollabunna has joined #ruby
vlad_starkov has joined #ruby
blackmes1 has joined #ruby
shime has joined #ruby
shime has quit [Client Quit]
shime has joined #ruby
zphds has joined #ruby
matheuscaceres has joined #ruby
chiel_ is now known as chiel
havenwood has joined #ruby
<Hanmac>
shevy! i pushed some fix for the rwx documentation ... with that rdoc works again and rwx is "20.60% documented" already
rootshift has joined #ruby
ckinni has joined #ruby
ckinni has quit [Client Quit]
Jetchisel has quit [Quit: Unfortunately time is always against us -- *Morpheus*]
shedd has joined #ruby
fijimunkii has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lewix_ has joined #ruby
simoz2 has quit [Ping timeout: 248 seconds]
w1xz has quit [Quit: ZZZzzz…]
havenwood has quit [Ping timeout: 240 seconds]
w1xz has joined #ruby
shedd has quit [Ping timeout: 248 seconds]
Guest79689 has quit [Ping timeout: 272 seconds]
m8 has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
fedesilva has joined #ruby
falood has quit [Remote host closed the connection]
mgorbach has quit [Ping timeout: 260 seconds]
osvico has joined #ruby
lewix_ has quit [Ping timeout: 245 seconds]
gregorg has quit [Read error: Connection reset by peer]
sayan has quit [Ping timeout: 252 seconds]
gregorg has joined #ruby
camilasan has quit [Remote host closed the connection]
<supreme__>
This is not specific to Ruby but because of Ruby people generelly are good with their tests I thought I might find an good answer here.
obs has joined #ruby
tkuchiki_ has quit [Remote host closed the connection]
<GreatSUN>
pontiki: here is germany
<GreatSUN>
sorry for the late answer
<GreatSUN>
I have been in some production problem...
bradhe has joined #ruby
mlpinit has quit [Read error: Connection reset by peer]
<supreme__>
If I am making a command line tool, that for some parts generate files and such. Like I say MyTool generate init, and when this is done, some files will be created etc
<supreme__>
how should I tests things such as this?
<supreme__>
should I in my test folder have a "temp" folder where the tests create the actual folders etc and my tests check that the files and foldersa are created?
<supreme__>
or should this somehow be mocked or something? give me tips!
mlpinit has joined #ruby
rubyracer has joined #ruby
Advocation has quit [Quit: Advocation]
freerobby has joined #ruby
Criztian has quit [Remote host closed the connection]
dhruvasagar has quit [Read error: Operation timed out]
Kruppe has quit [Ping timeout: 240 seconds]
eval-in_ has quit [Remote host closed the connection]
eval-in has joined #ruby
bradhe has quit [Ping timeout: 248 seconds]
zipper has quit [Ping timeout: 248 seconds]
shedd has joined #ruby
Kruppe has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
w1xz has quit [Ping timeout: 252 seconds]
zipper has joined #ruby
dkamioka has joined #ruby
VTLob has quit [Quit: VTLob]
nari has joined #ruby
shedd has quit [Ping timeout: 252 seconds]
dfranciosi has quit [Remote host closed the connection]
Xaitec has quit [Remote host closed the connection]
fijimunkii has joined #ruby
jerius has joined #ruby
Alina-malina has joined #ruby
jamesaanderson has joined #ruby
zipper has quit [Remote host closed the connection]
Bofu2U has joined #ruby
Virtualize has joined #ruby
pranny has joined #ruby
Virtualize has quit [Client Quit]
ckinni has joined #ruby
brtdv has quit []
fijimunkii has quit [Ping timeout: 240 seconds]
ckinni has quit [Client Quit]
pranny1 has joined #ruby
eval-in has quit [Remote host closed the connection]
fijimunkii has joined #ruby
eval-in has joined #ruby
ckinni has joined #ruby
petey has joined #ruby
Criztian has joined #ruby
nateberkopec has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
falood has joined #ruby
claymore has joined #ruby
tkuchiki has joined #ruby
zipper has joined #ruby
ewnd9 has joined #ruby
pranny1 has quit [Client Quit]
pranny has quit [Ping timeout: 264 seconds]
djdb has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
petey has quit [Read error: Operation timed out]
sayan has quit [Ping timeout: 264 seconds]
RoryHughes has quit []
siwica has quit [Ping timeout: 248 seconds]
<Hanmac>
hm rdoc makes unknown files ... and i dont understand why :(
drumusician has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
zeeraw has joined #ruby
zipper has quit [Ping timeout: 240 seconds]
breakingthings has joined #ruby
Zai00 has joined #ruby
zipper has joined #ruby
burlyscudd has joined #ruby
pushpak has joined #ruby
atno has quit [Remote host closed the connection]
zipper has quit [Ping timeout: 265 seconds]
zipper has joined #ruby
<bgy>
Hi
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dfranciosi has joined #ruby
Advocation has joined #ruby
nateberkopec has quit [Quit: Leaving...]
drumusician has quit [Read error: Operation timed out]
mikemac has joined #ruby
amritanshu_RnD has quit [Read error: Connection reset by peer]
culturel_ has joined #ruby
xk_id has quit [Ping timeout: 245 seconds]
MattStratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mark_locklear has joined #ruby
prc has joined #ruby
varfoo has quit [Quit: WeeChat 0.4.0]
olivier_bK has quit [Quit: Quitte]
mlpinit_ has joined #ruby
lfox has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
nettoweb has quit [Quit: nettoweb]
psyprus has joined #ruby
mlpinit has quit [Ping timeout: 245 seconds]
obs has quit [Ping timeout: 240 seconds]
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mlpinit_ has quit [Remote host closed the connection]
psyprus has joined #ruby
bogeyd6 has joined #ruby
mlpinit has joined #ruby
drumusician has joined #ruby
browndawg has quit [Quit: Leaving.]
bradhe has joined #ruby
brtdv has joined #ruby
mercwithamouth has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
dukz has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pen has joined #ruby
Kar- has quit [Quit: leaving]
preller has quit [Read error: Operation timed out]
fedesilva has quit [Remote host closed the connection]
uduyy has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
Elhu has joined #ruby
Elhu has quit [Client Quit]
jkamenik has joined #ruby
mengu has quit [Remote host closed the connection]
Elhu has joined #ruby
Elhu has quit [Client Quit]
Elhu has joined #ruby
zeeraw has joined #ruby
Advocation has quit [Quit: Advocation]
niop has joined #ruby
mlpinit has quit [Read error: Connection reset by peer]
Elhu has quit [Client Quit]
<niop>
hi, if any rails people here, #rails is quiet at the moment, anyone know how to apply asset_url to this js: jQuery('#style_color').attr("href", "assets/css/themes/" + color + ".css" );
mlpinit has joined #ruby
freerobby has joined #ruby
mengu has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<afhammad>
Cool, first option is probably cleaner, thanks!
petey has joined #ruby
ghatak has joined #ruby
petey has quit [Remote host closed the connection]
petey has joined #ruby
zipper has joined #ruby
matheuscaceres has joined #ruby
L8D_ has quit [Ping timeout: 264 seconds]
Astralum has joined #ruby
fuhgeddaboudit has quit [Max SendQ exceeded]
shime has joined #ruby
s2013 has joined #ruby
fuhgeddaboudit has joined #ruby
skaflem2 is now known as skaflem
<ghatak>
Hello Ruby lords, I need lill help on hashes. I want to iterate over a nested hash and set value of each key to nill. Here is example code that will shed light, I am struggling to come up with a method to do that. can anyone please help me here?
kreisys has quit [Read error: Connection reset by peer]
<guilund>
yep, im going to do that, thank you guys for the tip
petey_ has quit [Remote host closed the connection]
_HolyCow1 is now known as _HolyCow
<waxjar>
oh wow. Hanmac stuns again! :p
<pen>
:D
dhruvasagar has joined #ruby
randomnick_ has joined #ruby
afhammad has quit []
ikawnoclast has joined #ruby
<guilund>
shit, it dont work with rails method number_with_precision :P
danman has joined #ruby
<banister>
pen are you a little chinese penguin?
fedesilva has joined #ruby
<guilund>
really, ruby sometimes looks like black magic spells
<guilund>
%+f
<guilund>
wtf? :)
<pen>
banister: what are you talking about?
fedesilv_ has quit [Ping timeout: 248 seconds]
Megtasti_ has joined #ruby
<Hanmac>
banister: wrong, the penguin you mean is named pen-pen (or pen²)
havenwood has joined #ruby
xk_id_ has quit [Ping timeout: 252 seconds]
epscylonb is now known as epscy
ambushsabre has joined #ruby
replay_ has joined #ruby
<banister>
pen just answer pls
cescalante is now known as ce_afk
<banister>
:D
lupine_85 has joined #ruby
Azure has quit [Ping timeout: 264 seconds]
wchun has quit [Ping timeout: 264 seconds]
tsykodukl has quit [Ping timeout: 264 seconds]
pipopopo has quit [Ping timeout: 264 seconds]
bluehavana___ has joined #ruby
bluehavana__ has quit [Ping timeout: 264 seconds]
falood has quit [Ping timeout: 264 seconds]
cusco has quit [Ping timeout: 264 seconds]
Columcille has quit [Ping timeout: 264 seconds]
Kabaka has quit [Ping timeout: 264 seconds]
bluehavana___ is now known as bluehavana__
replay has quit [Ping timeout: 264 seconds]
lupine has quit [Excess Flood]
dotemacs has quit [Ping timeout: 264 seconds]
Megtastique has quit [Ping timeout: 264 seconds]
bluehavana__ has joined #ruby
bluehavana__ has quit [Changing host]
Columcille has joined #ruby
pipopopo has joined #ruby
<pen>
banister: i'm half a penguin as you can see
Azure has joined #ruby
zz_tsykoduk has joined #ruby
lupine_85 is now known as lupine
falood has joined #ruby
<guilund>
Hanmac: can you explain the "%+f" stuff? do you know why it works this way?
multi_io has joined #ruby
hogeo has joined #ruby
<Hanmac>
guilund: look at Kernel#sprintf ... in is nearly similar to the C function sprintf
RoryHughes has quit []
lkba has joined #ruby
<guilund>
Hanmac: nice, sometimes ruby can be very esoteric hehehe
shevy has quit [Read error: Connection reset by peer]
ahegyi has quit [Ping timeout: 245 seconds]
Kabaka has joined #ruby
havenwood has quit [Ping timeout: 260 seconds]
coca_rails has joined #ruby
<guilund>
but i see it more as a rails method, to improve the number methods they already have, as its a pretty common need
bean__ has joined #ruby
petey has joined #ruby
lsoa has joined #ruby
jtgiri_ has quit [Quit: jtgiri_]
dukz has quit [Remote host closed the connection]
robertjpayne has quit [Remote host closed the connection]
brtdv has joined #ruby
mengu has quit [Remote host closed the connection]
ganesh has joined #ruby
<Hanmac>
guilund: i hate this rails shit method like number_with_precision ... like number_to_human_size still doesnt support real binary ones like "MiB" "GiB" etc ... and without the si option the returned size is totally wrong
bakedb has joined #ruby
ganesh is now known as Guest72562
blandflakes has joined #ruby
<guilund>
Hanmac: i dont know if its fixed in rails 4, i still use 3.2.8
kreisys has joined #ruby
Spami has joined #ruby
<Hanmac>
still broken for 4.0.2 and i think it will not fixed in 5.*
hogeo has quit [Ping timeout: 240 seconds]
xiphias has quit [Ping timeout: 240 seconds]
xiphias has joined #ruby
xiphias has joined #ruby
xiphias has quit [Changing host]
falood has quit [Remote host closed the connection]
ce_afk is now known as cescalante
kreisys has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jamesaan_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Brolen has joined #ruby
p4d4w4n has joined #ruby
sailias has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
xiphias has quit [Ping timeout: 240 seconds]
1JTABG9FD has joined #ruby
1JTABG9FD has quit [*.net *.split]
sailias has quit [*.net *.split]
Kruppe has quit [*.net *.split]
sharms has quit [*.net *.split]
jchristi has quit [*.net *.split]
dominikh1 has quit [*.net *.split]
jkamenik has quit [*.net *.split]
ffranz has quit [*.net *.split]
Dwarf has quit [*.net *.split]
blaxter has quit [*.net *.split]
reach has quit [*.net *.split]
mbff_ has quit [*.net *.split]
bobdobbs has quit [*.net *.split]
blo has quit [*.net *.split]
Paradox has quit [*.net *.split]
mjmac has quit [*.net *.split]
DuoSRX has quit [*.net *.split]
flagg0204 has quit [*.net *.split]
aetaric has quit [*.net *.split]
Nightmare has quit [*.net *.split]
sophomorical has quit [*.net *.split]
hoelzro has quit [*.net *.split]
kenichi has quit [*.net *.split]
DarkFoxDK has quit [*.net *.split]
rurban has quit [*.net *.split]
freakazoid0223 has quit [*.net *.split]
shaileshg__ has quit [*.net *.split]
zz_jrhorn424 has quit [*.net *.split]
utkarsh has quit [*.net *.split]
<guilund>
Hanmac: they have to put someone better to manage these methods
pothibo has joined #ruby
eka has joined #ruby
cescalante is now known as ce_afk
caveat- has joined #ruby
zeeraw has joined #ruby
jamesaanderson has joined #ruby
gja has joined #ruby
LexicalScope has quit [Ping timeout: 248 seconds]
mojjojo has quit [Quit: mojjojo]
g3orge has joined #ruby
lyanchih has quit [Ping timeout: 248 seconds]
ffranz has joined #ruby
eka has quit [Client Quit]
esing has quit [Remote host closed the connection]
<s2013>
ok i understand but my question is still how would i go about converting the numbers into numbers
framling has joined #ruby
noxgirl has quit [Ping timeout: 260 seconds]
shaunbaker has joined #ruby
<QbY>
apeiros_: thanks... see i'm so ruby dumb i don't know the right place to go.
tharindu has joined #ruby
juarlex has quit [Remote host closed the connection]
IceDragon has joined #ruby
<apeiros_>
late eval-in…
juarlex has joined #ruby
decoponio has joined #ruby
supreme__ has quit [Quit: Lost terminal]
ce_afk is now known as cescalante
Guest79482 is now known as Kruppe
threesome has joined #ruby
sharms has joined #ruby
<s2013>
ok so now i am not even sure best way to convert those arrays
eka has quit [Quit: Computer has gone to sleep.]
ffranz1 is now known as ffranz
banghouse has joined #ruby
banghouse is now known as Guest51936
johnmlocklear_ has joined #ruby
shedd has quit [Ping timeout: 245 seconds]
zmansiv has quit [Ping timeout: 260 seconds]
sn0wb1rd has quit [Ping timeout: 260 seconds]
timmow has quit [Ping timeout: 260 seconds]
niop has quit [Ping timeout: 260 seconds]
Deele has quit [Ping timeout: 260 seconds]
decoponyo has quit [Ping timeout: 260 seconds]
mark_locklear has quit [Ping timeout: 260 seconds]
r0bby_ has quit [Max SendQ exceeded]
bean__ has quit [Ping timeout: 260 seconds]
<Hanmac1>
s2013: you using each where you want map
m__s has quit [Ping timeout: 260 seconds]
Hanmac1 is now known as Hanmac
niop has joined #ruby
apeiros has joined #ruby
zmansiv has joined #ruby
johnmlocklear_ has quit [Client Quit]
pdtpatr1ck has quit [Ping timeout: 260 seconds]
jericon has quit [Ping timeout: 260 seconds]
it_tard has quit [Read error: Connection reset by peer]
Rennex_ is now known as Rennex
mark_locklear has joined #ruby
xiphias has quit [Ping timeout: 240 seconds]
it_tard has joined #ruby
it_tard has quit [Changing host]
it_tard has joined #ruby
drumusician has quit [Ping timeout: 260 seconds]
Speed has quit [Ping timeout: 260 seconds]
Nilium has quit [Ping timeout: 260 seconds]
KevinSjoberg has quit [Ping timeout: 260 seconds]
Mattias has quit [Ping timeout: 260 seconds]
<s2013>
k let me try somthing
Inoperable has joined #ruby
m__s has joined #ruby
jericon has joined #ruby
apeiros_ has quit [Read error: Connection reset by peer]
timmow has joined #ruby
mercwith1mouth has quit [Ping timeout: 260 seconds]
Alina-malina has quit [Ping timeout: 260 seconds]
pdtpatr1ck has joined #ruby
<mikecmpbll>
s2013: what are you trying to do, again?
amundj has quit [Read error: Operation timed out]
r0bby_ has joined #ruby
KevinSjoberg has joined #ruby
<waxjar>
s2013: #each just executes the block for each value in an Array and returns the original Array. #map does the same, except it returns an Array with the return values of the blocks.
xiphias has joined #ruby
sumark has quit [Ping timeout: 260 seconds]
Alina-malina has joined #ruby
juarlex has quit [Ping timeout: 245 seconds]
esing has quit [Read error: Operation timed out]
sn0wb1rd has joined #ruby
mark_locklear has quit [Client Quit]
Nilium has joined #ruby
mr_red1 has quit [Ping timeout: 260 seconds]
autumn has joined #ruby
sumark has joined #ruby
<s2013>
trying to convert the [1] and [2] elements of each array to a number
brain_shim has quit [Read error: Connection reset by peer]
roadt has quit [Quit: 暂离]
sn0wb1rdz has joined #ruby
<s2013>
ooo
shuvarek has joined #ruby
<mikecmpbll>
yeah, worth knowing that you can glob block arguments.
<s2013>
which is faster
burlyscudd has quit [Quit: Leaving.]
brain_shim has joined #ruby
<s2013>
or do they both have similar lookup time? i think what mikecmpbll did would have less right?
vongrippen has joined #ruby
breakingthings has joined #ruby
epsylon has joined #ruby
mosheee has joined #ruby
<mikecmpbll>
s2013: use mine unless you'll ever have more than two coordinates.
mosheee has quit [Changing host]
mosheee has joined #ruby
MrZYX|off has joined #ruby
krnflake has joined #ruby
<waxjar>
why the intermediary Array then? would something like [location_a, location_b, location_c].map { |loc| [loc.name, loc.long.to_f, loc.lat.to_f] } not work?
Xiti has quit [Read error: Connection reset by peer]
noxgirl has joined #ruby
wiak_ has joined #ruby
<s2013>
mikecmpbll, cool. thanks
Xiti has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
cameronbarton has quit [Remote host closed the connection]
<sec^nd>
slash_nick: how do I correctly assert something in a stepdef? I want to check if the page has an error element and if it does I'd like the test to fail and output a custom error message
jle` has quit [Ping timeout: 246 seconds]
fijimunkii has joined #ruby
mikecmpbll has joined #ruby
jle` has joined #ruby
<slash_nick>
sec^nd: sounds bad to me. why not have one test to say that under X conditions no error, under Y conditions you expect an error
mupkoo has quit [Ping timeout: 240 seconds]
<slash_nick>
i guess that makes two tests.
user258467 has joined #ruby
sharms has joined #ruby
zoo-zed has joined #ruby
mupkoo has joined #ruby
<sec^nd>
slash_nick: I'm basically posting to a page, I want to check if it was a success or not
<sec^nd>
If it has errors the test should fail
larissa has joined #ruby
<slash_nick>
have you looked at capybara's docs?
ambushsabre has joined #ruby
ghostfaceskrilla has joined #ruby
okinomo has joined #ruby
hogeo has quit [Ping timeout: 272 seconds]
<sec^nd>
slash_nick: I'm using watir
fijimunk1i has joined #ruby
<slash_nick>
so watir then... your question is about watir, not spinach.
<sec^nd>
I'd still like to know why a test failed with a nice error message as there are many reasons a test could fail
dagobah has quit [Remote host closed the connection]
brain_shim has quit [Remote host closed the connection]
bluenemo has quit [Remote host closed the connection]
jhaals_ has quit [Ping timeout: 245 seconds]
okinomo has quit [Ping timeout: 248 seconds]
Bish has quit [Ping timeout: 240 seconds]
mmealling has joined #ruby
jkhwan has joined #ruby
Asher has quit [Quit: Leaving.]
jmeeuwen has joined #ruby
<mmealling>
If you're interested in a big Rails OAuth project where audience is other developers let me know at mmealling@gmail.com. Good rates, benefits, very little travel. Need 3 ppl. Thanks!
rootshift has quit [Quit: rootshift]
geekbri has joined #ruby
Bish has joined #ruby
RaCx has joined #ruby
sharms has quit [Ping timeout: 240 seconds]
platzhirsch has joined #ruby
wc- has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
Xeago has quit [Remote host closed the connection]
DeProdigy has joined #ruby
sharms has joined #ruby
maletor has quit [Read error: Connection reset by peer]
senj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
QbY has quit [Remote host closed the connection]
slash_nick has quit [Changing host]
slash_nick has joined #ruby
MattStratton has quit [Read error: Operation timed out]
<platzhirsch>
t
troyready has joined #ruby
lethjakman has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
icedp has quit [Quit: _]
freerobby has joined #ruby
anomaly_ has quit [Ping timeout: 256 seconds]
ghostfaceskrilla has quit [Remote host closed the connection]
<s2013>
i have multiple apps that uses the same database. i need to be use the devise login thats setup, whats the best way of going baout it?
timonv has quit [Remote host closed the connection]
alekst has joined #ruby
<s2013>
i thought about doing it in a crappy way where i generate the devise model with the same name and dont do a migration
gja has quit [Quit: This computer has gone to sleep]
<s2013>
not sure if it will work but im pretty sure its a bad idea
<s2013>
damn wrong chanenl
olivier_bK has quit [Ping timeout: 246 seconds]
<zoo-zed>
sigh… ok… we'll switch channels. :-)
Heskie has quit []
brtdv has quit []
d2dchat has joined #ruby
sepp2k has quit [Quit: Konversation terminated!]
shaunbaker has joined #ruby
<s2013>
heh
icedp has joined #ruby
icedp has quit [Changing host]
icedp has joined #ruby
yfeldblum has joined #ruby
Asher has joined #ruby
whysobad has quit [Ping timeout: 272 seconds]
pel_daniel has joined #ruby
maletor has joined #ruby
preller has quit [Ping timeout: 260 seconds]
wc- has joined #ruby
RoryHughes has quit []
dukz has quit [Remote host closed the connection]
dukz has joined #ruby
orolo has quit [Quit: Leaving]
Spami has joined #ruby
flubba has joined #ruby
soulcake has quit [Read error: Connection reset by peer]
Bira has quit [Remote host closed the connection]
blaxter has joined #ruby
soulcake has joined #ruby
Bira has joined #ruby
Asher has quit [Ping timeout: 264 seconds]
signers has joined #ruby
choobie has quit [Ping timeout: 260 seconds]
TMM has quit [Quit: Ex-Chat]
zeade has joined #ruby
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
burlyscudd has quit [Quit: Leaving.]
aryaching has joined #ruby
dukz has quit [Ping timeout: 264 seconds]
zeropx has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 260 seconds]
mbff_ has quit [Ping timeout: 240 seconds]
tharindu has quit [Quit: Leaving...]
ewnd9 has quit [Ping timeout: 245 seconds]
flubba has quit [Remote host closed the connection]
Authenticator has joined #ruby
flubba has joined #ruby
wallerdev has joined #ruby
signers has quit [Remote host closed the connection]
Brolen has quit [Quit: Brolen]
bradhe has joined #ruby
zeropx has joined #ruby
dangerousdave has joined #ruby
petey has quit [Remote host closed the connection]
petey has joined #ruby
nvrch has quit [Quit: nvrch]
psyprus has quit [Read error: Connection reset by peer]
<elton>
Does upgrading from 2.0.0-p247 to 2.0.0-p353, using rbenv, require re-installing all gems?
jonathanwallace1 has quit [Quit: WeeChat 0.4.1]
<elton>
What about form 2.0.0 to 2.1.0?
[yalue] has quit [Quit: Leaving]
noop has joined #ruby
hogeo has joined #ruby
jonathanwallace has joined #ruby
pushpak has joined #ruby
havenwood has quit [Remote host closed the connection]
goleldar has joined #ruby
anomaly_ has joined #ruby
zombiebit has joined #ruby
RoryHughes has quit []
<Hanmac>
elton: i would aways reinstall all gems
havenwood has joined #ruby
klaut has quit [Remote host closed the connection]
LiohAu has joined #ruby
jkhwan has quit [Remote host closed the connection]
iliketur_ has joined #ruby
<elton>
Hanmac - form minor point release upgrades?
iliketur_ has quit [Remote host closed the connection]
lewix_ has joined #ruby
<elton>
Considering local mirror with rubygems-mirror but how many GB these days?
<Hanmac>
i have seeen breaks between teeny versions ... like 1.8.6 -> 1.8.7 breaks, and somewhere between 2.0<->2.1 are also breaks
<elton>
I can understand 2.0 to 2.1 but patch-level increments?
<elton>
I'm coming from Perl/CPAN, you see
goleldar has quit [Client Quit]
hogeo has quit [Ping timeout: 250 seconds]
angusiguess has joined #ruby
dukz has joined #ruby
khismetix has quit [Quit: Computer has gone to sleep.]
jkhwan has joined #ruby
havenwood has quit [Ping timeout: 245 seconds]
bradhe has joined #ruby
thedudez0r_ has joined #ruby
g3orge has quit [Quit: WeeChat 0.4.2]
<thedudez0r_>
why ruby?
KillerFox has joined #ruby
falten has joined #ruby
petey has quit [Remote host closed the connection]
jan1337z has joined #ruby
metallisto has joined #ruby
khismetix has joined #ruby
petey has joined #ruby
<terrellt>
thedudez0r_: Happiness.
khismetix has quit [Max SendQ exceeded]
CaptainJet has joined #ruby
khismetix has joined #ruby
mame0 has joined #ruby
caveat- has joined #ruby
clamstar has joined #ruby
ikawnoclast has joined #ruby
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
Czupa has quit [Quit: Wychodzi]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<elton>
thedudez0r_ Wanted to learn Rails
RoryHughes has joined #ruby
<LiohAu>
guys, does this "rubyzip (~> 1.0)" exclude the 1.0 version ?
bluOxigen has joined #ruby
roolo__ has quit [Remote host closed the connection]
banghouse has joined #ruby
joshmyers has joined #ruby
spider-mario has joined #ruby
drumusician has quit [Ping timeout: 265 seconds]
Bira has quit [Remote host closed the connection]
nowthatsamatt has quit [Quit: nowthatsamatt]
subbyyy_ has joined #ruby
joshmyers is now known as bubu
banghouse is now known as Guest10090
Bira has joined #ruby
<elton>
OK then, which Ruby upgrades do not require a complete gem update?
vpretzel has quit [Remote host closed the connection]
petey has quit [Ping timeout: 250 seconds]
zombiebit has quit [Quit: go go power rangers...]
<thedudez0r_>
elton, how long have you been skating?
mojjojo has joined #ruby
<elton>
skating?
<thedudez0r_>
jk. I didn't know rails was another language you could learn. I thught it was more of an extension of ruby?
<bubu>
Guys, am being dumb here, https://gist.github.com/anonymous/7991445 . I want to end up with an array of 5 hashes, one for each trip_type...? instead trips is an array of just the last element
shime has quit [Read error: Operation timed out]
<lupine>
it's an application framework. not another language. not an extension of ruby.
gja has quit [Quit: This computer has gone to sleep]
jtgiri_ has joined #ruby
atno has joined #ruby
petey has joined #ruby
petey has quit [Remote host closed the connection]
vpretzel has joined #ruby
timonv has joined #ruby
petey has joined #ruby
threesome has quit [Ping timeout: 245 seconds]
mklappstuhl has joined #ruby
Al__ has quit [Quit: Al__]
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
Guest10090 has quit [Ping timeout: 250 seconds]
RoryHughes has quit []
<shevy>
bubu this is such an awful data structure you have to begin with
camilasan has quit []
<shevy>
what for do you have 'score' at all
mojjojo has quit [Client Quit]
rf has joined #ruby
<bubu>
shevy: what would be a better data structure? Eventually I will need to add more attributes than just score
Virtualize has quit [Quit: Leaving...]
<bubu>
and unfortunately I can't change the trip hash, it's a big nasty hash :(
<shevy>
yeah that sucks then
<shevy>
there is no better way
RoryHughes has joined #ruby
RaCx_ has joined #ruby
<bubu>
hmm
noop has quit [Ping timeout: 272 seconds]
<shevy>
you basically have hashes inside of a hash
anderson has quit [Ping timeout: 246 seconds]
<bubu>
ja
atno has quit [Ping timeout: 240 seconds]
burlyscudd has quit [Ping timeout: 240 seconds]
DouweM has quit [Ping timeout: 245 seconds]
<bubu>
we call it the abitary hash of shit
RaCx has quit [Read error: Connection reset by peer]
RaCx_ is now known as RaCx
<shevy>
shuffling it towards an array won't make it have less info or that info better structured
gregoriokusowski has quit [Quit: gregoriokusowski]
<bubu>
hmm
lewix_ has quit [Remote host closed the connection]
<shevy>
if it would have been only one attribute, it would be so much cleaner
psyl0n has quit [Remote host closed the connection]
flubba has joined #ruby
<bubu>
shevy: line 31
adam- is now known as adam12
DeProdigy has joined #ruby
cbetta is now known as cbetta_afk
Guest72562 has quit [Read error: Connection reset by peer]
<bubu>
I would expect trips to be an array of 5 trip hashes
rubyracer has joined #ruby
<bubu>
but instead it's just a one element array of what would be the last hash..
elton has left #ruby [#ruby]
timonv has quit [Remote host closed the connection]
<bgy>
is there any way to load a an array from a file? let's say I've a matrix like "[[1, 2, 3], [4, 5, 6]]" in a file, how could I "load" it as an actual array?
psyprus has quit [Ping timeout: 240 seconds]
Zai00 has quit [Quit: Zai00]
<bgy>
like an eval in a way..
<bubu>
shevy: Am I making sense? :P
Monie has quit [Ping timeout: 246 seconds]
<Aserpent10>
What the reason to bundle install --without production gems?
Zai00 has joined #ruby
<shevy>
I guess you refer to that crazy paste you showed bub
<shevy>
*bubu
Zai00 has quit [Client Quit]
psyprus has joined #ruby
michaeldeol has joined #ruby
<bubu>
yup
<shevy>
my eyes were bleeding when I looked at it. my brain cursed and instantly changed the data structure you had in that pastie into {:terrible=>1, :low=>3, :average=>5, :high=>7, :excellent=>9} which has the same information content
<bubu>
haha
<shevy>
when you then run #to_a on it, you get 5 members of the array
<bubu>
I know but simplified it for the paste, unfortunately I can't change the data structure
wc- has left #ruby [#ruby]
khismetix has quit [Quit: Computer has gone to sleep.]
esing has joined #ruby
esing has joined #ruby
esing has quit [Changing host]
<shevy>
there is an old adage - simplicity often starts with the better data structures
mojjojo has quit [Quit: mojjojo]
<shevy>
what happens when you run #to_a bubu
<shevy>
bgy assigning it to a constant would be one way
<bubu>
to_a on what? I'm not trying to get the trip_type as an array...
<Mage_Dude>
Any idea roughly how long it should take to configure-make-make install for 2.0.0-p353? Single core, 3Ghz, 2GB RAM? Minutes? Hours?
bradhe has quit [Remote host closed the connection]
mr_red has joined #ruby
<popl>
both
<terrellt>
Decades
Guest57724 is now known as banghouse
voland_ has quit [Remote host closed the connection]
brtdv has joined #ruby
<shevy>
bgy you have an array right?
ikawnoclast has quit [Quit: ikawnoclast]
Hanmac1 has joined #ruby
dukz has quit [Remote host closed the connection]
phansch has joined #ruby
<shevy>
Mage_Dude 12 minutes
<shevy>
but 2GB is really sad
<bgy>
shevy, well the idea is to allow to pass a file as an argument to cli tool, in this file there is a matrix which follows ruby array syntax, and I'd like to it as an actual array to start work witgh
<Mage_Dude>
shevy: Seems about right. Just failed on 'make install'
dukz has joined #ruby
<shevy>
bgy so you can not make changes to the file?
mojjojo has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
<bgy>
shevy, well I want to something like $ script --pattern-file=block where block is a matrix representing a block pattern, so anyone can define a pattern within the file
laphlaw has joined #ruby
Monie has joined #ruby
Monie has quit [Max SendQ exceeded]
<shevy>
that's cool
OdNairy has joined #ruby
<shevy>
but you didn't answer my question :(
mojjojo has quit [Client Quit]
nanoyak has joined #ruby
preller has joined #ruby
thedudez0r_ has left #ruby ["Leaving"]
<shevy>
I think the answer that you should have given was a no
<bgy>
then I'm not sure to understand it right :)
<shevy>
well, see
Monie has joined #ruby
<shevy>
if you can make changes to the file in question
<bgy>
what I mean is I've no control on the file being loaded
<shevy>
then the solution is super simple
<shevy>
k then the answer would have been no
<shevy>
so you basically want to arbitrarily load a file in which the content can any arbitrary syntax
RoryHughes has quit []
<bgy>
likely
<shevy>
and you assume it to be ruby code
<workmad3>
woo! command injection ftw!
dukz has quit [Ping timeout: 250 seconds]
<shevy>
in that case there are only two options I see - eval and simply reading the file on your own and parsing it into proper ruby code
<shevy>
eval stinks
<workmad3>
shevy: ripper
<bgy>
shevy, yeah
<shevy>
bgy as you can see, workmad3 recommends ripper. you should ask him how to use it
<workmad3>
hehe :P
rdark has quit [Quit: leaving]
xsdg_ has quit [Quit: Reconnecting]
xsdg has joined #ruby
<bgy>
some sort of rubber duck debugging but I'm thinking to use json as input syntax
A124 has quit [Ping timeout: 240 seconds]
<bgy>
I should be able to get the file content, load it as json, right and convert it back to ruby rightN
<bgy>
?
<workmad3>
I'm only suggesting ripper because it's part of stdlib
bradhe has joined #ruby
xybre has joined #ruby
xybre has joined #ruby
xybre has quit [Changing host]
Xeago has joined #ruby
<bgy>
is ripper some sort of lexeR?
<workmad3>
pretty much, yeah
petey has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
obs has quit [Remote host closed the connection]
sepp2k has joined #ruby
A124 has joined #ruby
sepp2k1 has joined #ruby
Aserpent10 has quit [Remote host closed the connection]
<shevy>
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/web129/html/ds/system/wp-united/cache/core-38f870cc85c198c7891c48e3862f8b74.php on line 2899
<shevy>
php errors are so pretty
Monie has joined #ruby
Virtualize has joined #ruby
sepp2k has quit [Client Quit]
sepp2k1 has quit [Client Quit]
petey has joined #ruby
iamjarvo has quit [Ping timeout: 250 seconds]
sepp2k has joined #ruby
iamjarvo has joined #ruby
_5kg_ has quit [Ping timeout: 240 seconds]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
anomaly_ has quit [Ping timeout: 256 seconds]
matti has quit [Quit: Oh dear...]
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
intuxicated has joined #ruby
whysosad has joined #ruby
peterhu_ is now known as peterhu
RoryHughes has quit []
Virtualize|away has joined #ruby
Virtualize has quit [Ping timeout: 272 seconds]
mikepack_ has joined #ruby
nowthatsamatt has joined #ruby
nowthatsamatt has quit [Remote host closed the connection]
codezomb has joined #ruby
yfeldblum has joined #ruby
s2013 has quit [Ping timeout: 252 seconds]
peterhu has quit [Quit: leaving]
peterhu has joined #ruby
mikepack has quit [Ping timeout: 245 seconds]
nomadicoder has joined #ruby
jkhwan has quit [Remote host closed the connection]
mikepack_ has quit [Remote host closed the connection]
<LadyRainicorn>
Everyone who sees me falls in love at first sight.
wendell_ has quit [Quit: This computer has gone to sleep]
preller has quit [Ping timeout: 250 seconds]
DouweM has joined #ruby
mklappstuhl has quit [Ping timeout: 272 seconds]
<shevy>
I am glad to not even know that adventure time is
<shevy>
*what rather
jtgiri_ has quit [Quit: jtgiri_]
caveat- has joined #ruby
TomRone has joined #ruby
<LadyRainicorn>
shevy: Look it up on Wikipedia.
<LadyRainicorn>
Even reading abour me is enough to engender antifragile infatuation
<LadyRainicorn>
:3
Txandy has quit [Quit: Leaving...]
Hanmac has quit [Read error: Connection reset by peer]
guiocava_ has joined #ruby
<shevy>
I just had a flashback
iliketur_ has quit [Quit: zzzzz…..]
<LadyRainicorn>
o?
mklappst_ has quit [Remote host closed the connection]
<shevy>
emocakes and LadyRainicorn - if these would ever be active at the same time on IRC, the channel would explode
<Eiam>
LadyRainicorn: I dunno, lady rainicorn is kinda weird =) and my least favorite story arc =)
<LadyRainicorn>
omgwtf.
<LadyRainicorn>
I am weird but sooooooo adorable.
Hanmac1 has joined #ruby
<LadyRainicorn>
Who is emocakes?
mklappstuhl has joined #ruby
<Eiam>
also after an apocalypse and 1000 years into the future I highly doubt that *korean* would be spoken!
Stevo123 has joined #ruby
Duckily has joined #ruby
<Eiam>
Firefly taught is that Mandarin wins out.
<LadyRainicorn>
I am actually immortal and quite old.
nwertman has quit [Ping timeout: 240 seconds]
<LadyRainicorn>
So it is not like I am speaking it 1000 years later.
<LadyRainicorn>
I'm like 1 generation removed from the Mushroom War
guiocavalcanti has quit [Ping timeout: 272 seconds]
nwertman has joined #ruby
Brolen has quit [Quit: Brolen]
<LadyRainicorn>
Also AT > FF
jkhwan_ has quit [Remote host closed the connection]
<Eiam>
I don't know that her age has ever been explored right? I mean her parents fought in the dog/rainicorn war
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
<Eiam>
lol, poor #ruby, we should stop.
<LadyRainicorn>
Yeah but I am probably old given my parents being like 1000 years old
<LadyRainicorn>
or more
<LadyRainicorn>
because they are hippies
<LadyRainicorn>
so probably from before
laphlaw has quit [Quit: Computer has gone to sleep.]
tjbiddle_ has joined #ruby
<Eiam>
(But yeah if you have not seen adventure time, Season 1 is on netflix so one night if you are bored and not feeling like coding, highly recommend checking it out.. its a show about whats good and right and having fun)
laphlaw has joined #ruby
tjbiddle has quit [Read error: Connection reset by peer]
tjbiddle_ is now known as tjbiddle
yfeldblum has quit [Remote host closed the connection]
mikepack has joined #ruby
drumusician has joined #ruby
mklappstuhl has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
deception has joined #ruby
bradhe has quit [Remote host closed the connection]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SmileyKeith has left #ruby [#ruby]
cpruitt has joined #ruby
jcolechanged has joined #ruby
DeProdigy has joined #ruby
<jcolechanged>
I'm coming to Ruby from Python, Lisp, and C++. Does anyone have any book recommendations for me?
yalue has joined #ruby
Txandy has joined #ruby
preller has quit [Ping timeout: 252 seconds]
peregrine81 has joined #ruby
kindjal has joined #ruby
iamjarvo has quit [Remote host closed the connection]
<LadyRainicorn>
Ruby is close to Python, and Lisp is helpful if you remember Rubt is nothing like it.
tvw has quit []
<LadyRainicorn>
Totally forget the C++ unless you're writing an extension.
<jle`>
aside from some superficial syntax similarities they are completely different languages, semantically
<LadyRainicorn>
They are pretty similar tbh.
<LadyRainicorn>
err, no?
<Hanmac>
jle`: ruby is pythons evil twin sister ;P
<LadyRainicorn>
haha pretty much
sharms has quit [Ping timeout: 240 seconds]
carraroj has joined #ruby
<LadyRainicorn>
Ruby is Python sluttified.
<jle`>
the scoping, the prototyping, the way reflection works, the oop system completely
<jle`>
i guess they are both dynamically typed and interpreted
<jle`>
but i don't really see any deeper similarities between ruby and python
clamstar has quit [Quit: Computer has gone to sleep.]
* Hanmac
sings "everything you can do in python, you can do in ruby better" ;P
<Eiam>
jcolechanged: eloquent ruby
<LadyRainicorn>
Python is quite OOP really
<Eiam>
Hanmac: "everything you can do in Python, you can do more simply in Ruby" =)
<jle`>
it's OOP, but oop structured very differently than ruby's oop
<waxjar>
have a look at a functional language jle`
<LadyRainicorn>
Python has nicer functions
<LadyRainicorn>
And it's pretty similar really
<Eiam>
LadyRainicorn: I dunno.. __self is pretty obtuse
<Hanmac>
ruby has nicer blocks (Enumerators)
<Eiam>
and classes in Python aren't that hot to setup..
sharms has joined #ruby
<jle`>
the way scoping works within instance methods, etc.
<Eiam>
ruby feels a lot more clean there
<LadyRainicorn>
Yes, Ruby is nicer in general I think.
bluOxigen has quit [Ping timeout: 248 seconds]
<LadyRainicorn>
Python has some awkward stuff, like self.
<Eiam>
ofc we are bias, this is #ruby and we are here
<Eiam>
ergo we like ruby =)
<jle`>
i just feel like they are different languages from the ground up, just with similar syntax. no statement here about which is cleaner/better
weems has joined #ruby
iamjarvo has quit [Ping timeout: 272 seconds]
<yfeldblum>
Eiam: that doesn't cover those who are in both #ruby and #python
burlyscudd has joined #ruby
DouweM has joined #ruby
<Eiam>
jcolechanged: and I'm pretty happy with Confident Ruby, but its less about "Ruby" as a language
<LadyRainicorn>
They'ee really very very similar
johnmlocklear_ has quit [Quit: Leaving]
zphds has quit [Quit: zphds]
<Eiam>
yfeldblum: sure, I used to be in #python and #twisted, till I started using Ruby ;)
<LadyRainicorn>
Imo, Ruby's main advantage is the conmubity
utkarsh has quit [Changing host]
utkarsh has joined #ruby
<jcolechanged>
Eiam: thanks
<terrellt>
Eiam: How was the book? Talk was pretty great.
<jle`>
maybe i'm speaking more from a language design/semantics perspective and less on a practical learn-how-to-use perspective
<Eiam>
I had no problems with either
vlad_starkov has quit [Read error: Connection reset by peer]
<LadyRainicorn>
Do you know languages from many paradaigms jle`?
<Eiam>
terrellt: I like it, but I also wish it was structured a bit differently. I mean its intentionally setup that way, but when reading through it I have a lot of questions about "well what about this" or trying to figure out how to apply it to my specific use cases
<Eiam>
terrellt: I'm going to compile them all into an email and just ask avdi as I'm sure he will answer =)
<LadyRainicorn>
Python and Ruby are like English and Fresian tbh
<Eiam>
terrellt: the talk is what made me buy the book
<LadyRainicorn>
Pretty much directly translatable with a few different words
<Eiam>
I recommend Python to new programmers
<Eiam>
Ruby to everyone else =)
<terrellt>
...Why?
rootshift has joined #ruby
jkhwan has joined #ruby
bradhe has joined #ruby
iamjarvo has joined #ruby
RoryHughes has joined #ruby
<Eiam>
terrellt: Ruby has a lot of unspoken, implicitly magic
<Eiam>
and Python is all about explicit
<Eiam>
when you are new to programming, I think explicit is important.
<Eiam>
it helps (me) understand how things fit together.
preller has joined #ruby
<terrellt>
C for all new developers, I demand they understand how nice default pointers are.
<LadyRainicorn>
Yes, I wouldn't recommend Ruby to learn coding.
laphlaw has quit [Quit: Computer has gone to sleep.]
<Eiam>
Ruby is all about "I know how the system works, so I'm okay with magic removing the less important details from me because its just cumbersome to write"
<LadyRainicorn>
haha is that a joke terrelltm
<LadyRainicorn>
?
<Eiam>
terrellt: I guess that depends on what kind of dev you want to be.
<terrellt>
80% joke.
<jle`>
idk, their scoping differences might bite you. also you have a lot of different idioms as well that make things difficult to translate, such as python's class decorators
<terrellt>
Respect for how easy you have it is important.
<DouweM>
Eiam: what kinds of magic are you referring to?
<Eiam>
terrellt: If you want to be a professional world class developer that doesn't do web apps, foundational C for sure
<LadyRainicorn>
Decorators are used *a lot* in rails.
<LadyRainicorn>
It is basically a bit nicer alias.
<Eiam>
terrellt: if you want to knock out some scripts and do some web stuff, I don't think C is important to get the ball rolling.
Guest6559 has quit [Read error: Operation timed out]
<Eiam>
(my first language was C++ so..)
petey has quit [Remote host closed the connection]
Megtastique has quit []
egypt has joined #ruby
<LadyRainicorn>
C is basically useful if you do OS development, want to write extensions, or want to coee on an existing C prokect.
lewix_ has joined #ruby
<Eiam>
I disagree there but *shrug* thats okay =)
petey has joined #ruby
<LadyRainicorn>
Not much else is really in its use case anyniee.
<jle`>
hmmmmmm C is nice on embedded systems
<jle`>
and microcontrollers
<LadyRainicorn>
That is true.
<DouweM>
yeah, embedded systems is where's its at
bobdobbs` has joined #ruby
<LadyRainicorn>
But I think it will get supplanted there soon as well
<jle`>
hopefully by fortran!
<waxjar>
but soon you'll do that in ruby, too :p
* jle`
crosses fingers
<LadyRainicorn>
haha no
<LadyRainicorn>
Ruby can never go embedded
lewix_ has quit [Remote host closed the connection]
psyprus has quit [Ping timeout: 240 seconds]
<DouweM>
LadyRainicorn: what do you think Matz is working on right now?
<Eiam>
DouweM: little things, like how the syntax can always change, spaces vs parans, commas semicolons, lots of "if you want" structures in Ruby. Python is "this is how you do it" and I think for new people, thats good.
<LadyRainicorn>
(R)Python might, but Julia will still beat it.
<Delobox>
In ruby, are static methods simply method calls that are not prefixed with self.?
niop has quit [Remote host closed the connection]
<egypt>
hmm, i guess 'gem list --remote' might work in conjuction with the dependency api
<platzhirsch>
Hanmac: I am sure you are doing great ^^
<slash_nick>
Delobox: no, the self. methods are class methods, the ones without are instance methods
<alpha123>
platzhirsch: The really cool part of Io is that you can traverse *and rewrite* the entire message tree at runtime.
<alpha123>
It's like Lisp except cooler and actually readable.
<alpha123>
And more runtime-y
<Delobox>
"class SourceDocument < ActiveRecord::Base\ndef self.migrate\nall.each" How does one interpret all.?
sarlalian has quit [Quit: WeeChat 0.4.0]
<toroidalcode>
alpha123: io looks very smalltalk. but without the huge developer environment overhead
kindjal has joined #ruby
<slash_nick>
Delobox: there's an implicit self.all ... it's SourceDocument.all.each
jkhwan has joined #ruby
<alpha123>
toroidalcode: Yes, it's very much like SmallTalk, except with prototype-based OO and even more dynamic possibilities.
bogeyd6 has quit [Quit: Leaving]
<LadyRainicorn>
egypt: gem mirror
<alpha123>
_why wrote some stuff about Io a while back
<Hanmac>
platzhirsch: come on try to resolv that macro and try to understand what it does ;P
Delobox has quit [Remote host closed the connection]
mikepack_ has joined #ruby
blackmes1 is now known as blackmesa
Delobox has joined #ruby
<platzhirsch>
I cannot get myself very fascinated for that kind of niche languages
sarlalian has joined #ruby
Megtastique has joined #ruby
<platzhirsch>
Hanmac: No, I'd rather write my own C extensions... ^^
<platzhirsch>
though no idea yet for what project..
TomRone has quit [Ping timeout: 240 seconds]
mikepack has quit [Read error: Connection reset by peer]
laphlaw has joined #ruby
<LadyRainicorn>
Delobox: No, see the staticmethod method.
<Hanmac>
platzhirsch: this macro generate (static) get/set methods, inclusive type converting of input and output objects, and also (recently added) frozen check ... just image how many lines you would need in your own extension
hogeo has joined #ruby
<LadyRainicorn>
self.x are usually instance methods, but they can be other things too
jkhwan has quit [Ping timeout: 272 seconds]
<platzhirsch>
Well,... isn't there a template language to do that :P
TomRone has joined #ruby
iliketur_ has joined #ruby
burlyscudd has quit [Quit: Leaving.]
w4pm has quit [Ping timeout: 272 seconds]
cpruitt has quit [Quit: cpruitt]
kiesse_ has quit [Ping timeout: 248 seconds]
<LadyRainicorn>
Where is that defined?
timonv has quit [Remote host closed the connection]
<LadyRainicorn>
I don't feel like cloning the repi and Github is being unhelpful
<LadyRainicorn>
ugh fuck my nose feels like vomit
<LadyRainicorn>
;-;
<DouweM>
LadyRainicorn: it's on the last page of the github search results for that macro :P
<LadyRainicorn>
There were like a dozen
jamesaanderson has joined #ruby
<LadyRainicorn>
link plx
michaeldeol has quit [Remote host closed the connection]
hogeo has quit [Ping timeout: 246 seconds]
<LadyRainicorn>
Why can't Github do an actual grep?
<loving_ruby>
I've been going through tutorials and am picking up a lot, what kind of projects would you recommend for someone wanting to progress with the language.
matheuscaceres has quit [Client Quit]
<loving_ruby>
Yeh i've read that, thanks anyway
<erasmus>
buy a Pi
* LadyRainicorn
wants to buy pi!
preller has quit [Ping timeout: 260 seconds]
TomRone has quit [Ping timeout: 240 seconds]
<LadyRainicorn>
Can I buy tau for the same price?
Txandy has joined #ruby
<erasmus>
or a beagle box
securitycrush has quit [Quit: Leaving]
mikepack has quit [Remote host closed the connection]
typicalbender has quit [Quit: Leaving.]
barratt has joined #ruby
TomRone has joined #ruby
simoz has joined #ruby
deception has quit [Quit: Goodbye]
<loving_ruby>
What kind of projects is Ruby mostly used for as Java tends to be used for Gui's.
<Delobox>
scientific computing and webapps?
<loving_ruby>
interesting
<Delobox>
that's a theory, i'm pretty new to it myself
<Delobox>
but in my limited (1 month) experience, that is where i have seen it
<loving_ruby>
ok
<waxjar>
python's the popular scientific computing language
<LadyRainicorn>
Ruby is mostly web apps in practice, but it's good for anything where performance isn't critical
<LadyRainicorn>
It's quire easy to code pretty much anything
<LadyRainicorn>
(Well, you would probably prefer Haskell for its use cases, but if you need to know those you would.)
<loving_ruby>
For web apps I suppose people tend to learn Rails
typicalbender has joined #ruby
23LAAPK3A has quit [Ping timeout: 272 seconds]
p0wn3d has quit [Quit: ChatZilla 0.9.90.1 [Firefox 17.0.11/20131119163834]]
colonolGron has joined #ruby
nowthatsamatt has joined #ruby
<platzhirsch>
Since GUIs are today all in HTML it does not matter much :P
jkhwan has quit [Remote host closed the connection]
<loving_ruby>
oh ok
carraroj has joined #ruby
phipes has quit []
jkhwan has joined #ruby
robbyoconnor has joined #ruby
pwestlund_ has joined #ruby
<loving_ruby>
What was the first real project you guys did in Ruby?
<platzhirsch>
Someone said that Ruby libraries get better and better and that's true... in Python I see more and more ports of certain libraries from Ruby to Python ^^
preller has joined #ruby
preller has quit [Changing host]
preller has joined #ruby
<wmoxam>
Hanmac: yes, and?
<platzhirsch>
It's like the Days without Injury Sign
<LadyRainicorn>
Python's stdlib is necrotic due to their focus on stability.
sharms has joined #ruby
Virtualize|away has quit [Quit: Leaving...]
<LadyRainicorn>
And they fractured their community on the same issuem
robbyoconnor has quit [Max SendQ exceeded]
<platzhirsch>
I always feel like Caveman
<LadyRainicorn>
It's by far the biggest drawback of using that language.
brtdv has quit [Ping timeout: 248 seconds]
<momomomomo>
Hanmac: That vuln list includes things like Sup, an email client
<momomomomo>
actually, two from Sup
robbyoconnor has joined #ruby
jerius has quit [Ping timeout: 264 seconds]
<platzhirsch>
LadyRainicorn: so you know when Python 2 will be deprecated?
danshultz has quit [Ping timeout: 250 seconds]
Aserpent10 has joined #ruby
<LadyRainicorn>
It's already sort of been
benlieb has joined #ruby
<LadyRainicorn>
But it's going to be the primary one irl for years.
emocakes has joined #ruby
mikepack has quit [Remote host closed the connection]
petey has joined #ruby
<LadyRainicorn>
And they still have the issues internally in Python 3
<platzhirsch>
It's not done until Debian or Ubuntu link it as default version through the python binary
<LadyRainicorn>
Not quite as bad, but the stdlib just needs to get tossed.
jkamenik has quit [Quit: Leaving.]
<LadyRainicorn>
Err, no, they don't decide when Python versions get deprecated.
<LadyRainicorn>
But still, de facto usage.
<LadyRainicorn>
so ;-;
burlyscudd has joined #ruby
prc has joined #ruby
simoz2 has joined #ruby
<platzhirsch>
I feel sorry for them
jtgiri_ has joined #ruby
bean__ has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
simoz3 has joined #ruby
Spleeze has quit [Ping timeout: 240 seconds]
kaldrenon has quit [Remote host closed the connection]
TomRone has joined #ruby
<Delobox>
I am having the hardest time understanding the use of the << operator here http://pastebin.com/8A9HSMzF , i beg you, what the hell is going on
havenwood has joined #ruby
simoz has quit [Ping timeout: 245 seconds]
Spleeze has joined #ruby
kaldrenon has joined #ruby
<LadyRainicorn>
Delobox: It is the same array.
<LadyRainicorn>
You want Hash.new{[]}
Txandy has quit [Quit: Leaving...]
MvDevNull has joined #ruby
<Delobox>
LadyRainicorn: i think this example is there to teach me about this case
<Delobox>
i'm working through a book of ruby examples
preller has quit [Ping timeout: 246 seconds]
Guest80658 is now known as ixx
<Delobox>
Hash.new(__) specifies a default parameter correct?
<DouweM>
Delobox: << pushes onto an array
shadoi has quit [Quit: Leaving.]
<LadyRainicorn>
So basically [] is instantiated and then set as the default.
mlpinit_ has quit [Remote host closed the connection]
<Delobox>
a default value
<Delobox>
ah, so because hash[:one] and hash[:two] have never been explicitly set, they are the default value
<Delobox>
of []
<LadyRainicorn>
So h[x].id == h[y].id
<Delobox>
but most importantly, they are the SAME array
<LadyRainicorn>
Get it?
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<DouweM>
Delobox: yes1
<DouweM>
!
simoz2 has quit [Ping timeout: 252 seconds]
<Delobox>
wow, that's deep
<loving_ruby>
How different is Ruby to RubyOnRails?
<DouweM>
Delobox: you're not setting the default to "an empty array", you're setting it to "this specific empty array", which won't be empty for long
<LadyRainicorn>
Rails is a web framework wtitten eith Ruby
<DouweM>
loving_ruby: the one is a language, the other's a framework
<MvDevNull>
hello, i'm trying to launch snorby on my apache vhost, but i've got this passanger error http://pastebin.com/EzPrW77U any tips
breakingthings has quit []
<Delobox>
Thanks LadyRainicorn and DouweM for helping me understand this subtle point
klaut has quit [Remote host closed the connection]
<DouweM>
Delobox: I think this is one of those examples that every Ruby dev has been bitten in the ass by at some point. I know I have.
<Delobox>
this example is one of the things you must work past
obs has quit [Remote host closed the connection]
TheLastGargoyle has joined #ruby
Monie has joined #ruby
<TheLastGargoyle>
Hey all. Is it possible to get rspec to list all the tests that are being run, along with the pass/fail status?
<Hanmac>
loving_ruby: comparing ruby with rails is like comparing a brick with a house
Monie has quit [Max SendQ exceeded]
<DouweM>
TheLastGargoyle: add -f d
TomRone has joined #ruby
Monie has joined #ruby
RoryHughes has joined #ruby
psyl0n has joined #ruby
<Hanmac>
Delobox: also maybe important for you, Hash that uses Hash.new{} (thema: default_proc) cant be serialized with Marshal anymore if you need that
renklaf has quit [Read error: Operation timed out]
<platzhirsch>
Rails is often seen as a domain-specific language
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
nobitanobi has joined #ruby
<Delobox>
DouweM: okay, fresh off the high of understanding the previous koan, the next one broke my spirit
<DouweM>
Delobox: and |hash, key| are its parameters
brisbin_ is now known as brisbin
mudmaster has joined #ruby
<Delobox>
i've seen blocks used with .map, but not as default values for a hash
<DouweM>
Delobox: so the way Hash.new uses its block, is calling it for every accessed key that hasn't been accessed before
culturel_ has joined #ruby
nettoweb has quit [Quit: nettoweb]
psyl0n_ has joined #ruby
<DouweM>
Delobox: passing the hash itself, and the key. the block can then decide what to do (set the key on the hash to [], in this case) and what to return to the code that called for the hash access
kirun has quit [Quit: Client exiting]
gregoriokusowski has quit [Quit: gregoriokusowski]
psyl0n has quit [Ping timeout: 246 seconds]
mudmaste_ has joined #ruby
<Delobox>
so it both manipulates a parameter, and returns a value
juarlex has joined #ruby
<DouweM>
Delobox: because the block is called anew for every previously unseen key, the [] will be a new array
<DouweM>
Delobox: correct
<DouweM>
Delobox: `hash[key] = []` evaluates to that same `[]`, and in Ruby, methods (and blocks) return the last expression in them, so in this case that same `[]`
<Delobox>
in this koan, a unique array is created for each access
lewix_ has joined #ruby
<DouweM>
Delobox: "unique" isn't the right word, but you seem to understand it
<MvDevNull>
is it normal to have - RUBY VERSION: 1.9.3 (2011-10-30 patchlevel 0)
<MvDevNull>
- INSTALLATION DIRECTORY: /var/lib/gems/1.9.1? both aren't in the same number of version
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
rootshift has joined #ruby
<MvDevNull>
sorry for my dumm question, i'm a ruby n00b
<xibalba>
MvDevNull, dont say sorry. Just dont ask the same thing twice.
<Delobox>
hash[:one] will equal hash[:two] but if i change hash[:one], hash[:two] will remain the same
digifiv5e has joined #ruby
<Hanmac>
MvDevNull: compare API vs ABI version
Al__ has joined #ruby
Aserpent10 has quit [Remote host closed the connection]
digifiv5e is now known as Guest24995
mudmaster has quit [Ping timeout: 260 seconds]
<MvDevNull>
lol my second question is different, xibalba, just trying to debug alone.. but it's hard.. ;)
<Delobox>
Are blocks like lamdas?
<Delobox>
lambda?
<DouweM>
Delobox: equal as in == ? that checks the array contents, not their identity
<DouweM>
Delobox: basicallt
<DouweM>
*y
<Delobox>
i think this is starting to gel, much thanks
mdpatrick has joined #ruby
burlyscudd1 has joined #ruby
burlyscudd1 has quit [Client Quit]
loving_ruby has quit [Ping timeout: 245 seconds]
jcolechanged has left #ruby [#ruby]
RoryHughes has quit []
<LadyRainicorn>
Blocks are like functions.
m8 has quit [Quit: Sto andando via]
<LadyRainicorn>
lambdas are much more limited.
<bnagy>
not much like them
lewix_ has quit [Ping timeout: 250 seconds]
<bnagy>
also, methods is probably clearer than functions, but it's really pedantic
<DouweM>
bnagy: not much like them? how so?
burlyscudd has quit [Ping timeout: 250 seconds]
Mon_Ouie has quit [Read error: Operation timed out]
<bnagy>
most notably blocks are closures, so you get the binding
<LadyRainicorn>
I think he's referencing Python.
erasmus has quit [Quit: Ciao a tutti!]
<LadyRainicorn>
So lambdas would be limited to a single statement.
<bnagy>
I have 0 idea about python
baordog_ has joined #ruby
<DouweM>
LadyRainicorn: not in most languages I know
<bnagy>
but ruby blocks and lambdas are almost the same
<DouweM>
which is why I said "basically" :)
<bnagy>
much closer than blocks and methods, anyway
<DouweM>
but yeah, it's good to know the differences
Megtastique has quit []
bradhe has quit [Remote host closed the connection]
<bnagy>
DouweM: and 'not much like them' is re blocks are like functions, if that wasn't clear
<DouweM>
bnagy: ah, right. I didn't get that
vlad_starkov has quit [Read error: Connection reset by peer]
<Delobox>
The koans sure are showing me the pitfalls of << and += with strings
<Delobox>
i could see a million ways to mess up here
AMcP has joined #ruby
<platzhirsch>
my Wacom Bamboo is screwing up again, random clicks while just hovering the pen... that's really fun...
morenoh149 has joined #ruby
<DouweM>
Delobox: :)
<DouweM>
Delobox: do you have any prior experience with
<DouweM>
...Ruby?
timonv has joined #ruby
afhammad has quit [Remote host closed the connection]
Monie has quit [Ping timeout: 250 seconds]
aapzak_ has quit [Client Quit]
aapzak has joined #ruby
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Aserpent10>
can anyone tell me some strategies they used to get better at ruby besides the obvious practice makes perfect. Did anyone dive into source code as a beginner?
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
<LadyRainicorn>
rubykoans.com
<DouweM>
Aserpent10: yes. I learned most of what I know about Ruby from reading through source
<morenoh149>
is there anyway to do "one".somemethod(%w[one two three]) returns true?
<DouweM>
Aserpent10: most of what I know about conventions as well
barratt has quit [Quit: Leaving...]
<DouweM>
morenoh149: activesupport gives you #in?, but there's no method like that in Ruby stdlib
<DouweM>
morenoh149: just use Array#include?
jlast_ has quit [Remote host closed the connection]
tannerburson has quit [Quit: tannerburson]
dankieless has joined #ruby
<dankieless>
hello. would anyone in here happen to have some insight on datamapper?
juarlex has quit [Read error: Connection reset by peer]
<Aserpent10>
@ DouweM Did you learn Rails the same way?
fedesilva has quit [Ping timeout: 260 seconds]
juarlex has quit [Remote host closed the connection]
<DouweM>
Aserpent10: I used the great railstutorial.org
bradhe has joined #ruby
juarlex has joined #ruby
<DouweM>
Aserpent10: that just teaches you the basics though, for everything else: practice makes perfect, and indeed reading through existing source code
lewix_ has joined #ruby
hogeo has joined #ruby
mudmaste_ has quit [Ping timeout: 246 seconds]
Al__ has quit [Quit: Al__]
culturel_ has joined #ruby
Nilium_ is now known as Nilium
Nilium is now known as Nilium_
Nilium_ is now known as Nilium
<Aserpent10>
DOUWEM Just finished that tutorial not too long ago so I think diving into source is my best option. Thanks
afhammad has joined #ruby
AMcP has quit []
<DouweM>
Aserpent10: good luck, and visit us in #RubyOnRails if you get stuck
volty has joined #ruby
emocakes has quit [Quit: Leaving...]
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
juarlex has quit [Ping timeout: 246 seconds]
dankieless has left #ruby [#ruby]
<Aserpent10>
will do
ninegrid has joined #ruby
lewix_ has quit [Ping timeout: 252 seconds]
shime has joined #ruby
shadoi has joined #ruby
Deele has quit [Ping timeout: 260 seconds]
emocakes has joined #ruby
sailias has quit [Quit: Leaving.]
baordog_ has quit [Quit: ChatZilla 0.9.90.1 [Firefox 25.0.1/20131112160018]]
hogeo has quit [Ping timeout: 264 seconds]
threesome has quit [Ping timeout: 264 seconds]
mudmaster has joined #ruby
vlad_starkov has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
robbyoconnor has quit [Ping timeout: 248 seconds]
robbyoconnor has joined #ruby
anomaly_ has joined #ruby
Aserpent10 has quit [Read error: Connection reset by peer]
okinomo has joined #ruby
<Delobox>
DouweM: I converted a script called bz2redmine for use in converting a test track (another bug tracking system) to redmine
<Delobox>
DouweM: that is my prior experience. It was a bit difficult having no prior ruby experience
Stevo123 has quit [Quit: Stevo123]
<DouweM>
Delobox: :)
spider-mario has quit [Read error: Connection reset by peer]
<Delobox>
DouweM: i'm now going back and trying to understand the areas I had issues with
aapzak has quit [Quit: leaving]
aapzak has joined #ruby
aapzak has quit [Client Quit]
shime has quit [Ping timeout: 240 seconds]
sergicles has joined #ruby
Bira has joined #ruby
<Delobox>
DouweM: also, i was asked to merge two redmine instances recently, so i'm working to understand a 4 year old script that purports to do that
shime has joined #ruby
aapzak has joined #ruby
<Delobox>
DouweM: said 4 year old script of course has minor bugs now that redmine has changed
<DouweM>
Delobox: hah, nice.
TheLastGargoyle has quit [Quit: Page closed]
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
petey has quit [Remote host closed the connection]
RoryHughes has joined #ruby
petey has joined #ruby
ckrailo_ is now known as ckrailo
petey has quit [Remote host closed the connection]
Bira has quit [Remote host closed the connection]
RoryHughes has quit [Client Quit]
browndawg has joined #ruby
nanoyak has joined #ruby
danman has quit [Quit: danman]
samsonasu has joined #ruby
cbetta_afk is now known as cbetta
drumusician has quit [Ping timeout: 246 seconds]
barratt has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
browndawg has quit [Client Quit]
benlieb has quit [Quit: benlieb]
loving_ruby has joined #ruby
Speed has joined #ruby
robbyoconnor has quit [Ping timeout: 248 seconds]
coldmethod1 has joined #ruby
coldmethod has quit [Read error: Connection reset by peer]
bradhe has quit [Remote host closed the connection]
erasmus has joined #ruby
sergicles has quit [Quit: sergicles]
loving_ruby has left #ruby [#ruby]
robbyoconnor has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
jtgiri_ has quit [Quit: jtgiri_]
fedesilva has joined #ruby
morenoh149 has left #ruby [#ruby]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freakazoid0223 has quit [Ping timeout: 240 seconds]
TomRone has joined #ruby
kpshek has quit []
funburn has joined #ruby
robbyoconnor has quit [Excess Flood]
fedesilva has quit [Remote host closed the connection]
guilund has joined #ruby
<Delobox>
The ! syntax is wierd
coda23 has joined #ruby
<Delobox>
select!, and such
<guilund>
hey guys, whats the best workaround to avoid divide by zero error?
<waxjar>
not deviding by zero? :p
<Delobox>
a check before the expression
<guilund>
lol
robbyoconnor has joined #ruby
<LadyRainicorn>
Divide by 2^-64
<Delobox>
it depends on what its for
<guilund>
i mean, theres a character, i dont know, something to escape errors?
<LadyRainicorn>
rescue
jamesaanderson has joined #ruby
<guilund>
yep, i know about rescue
<DouweM>
Delobox: the ! is not syntax, it's just valid character to end a method name in
<guilund>
but i'm on a view, tehres a massive table with a lot of calculations
<LadyRainicorn>
5/y rescue 7
<guilund>
:P
jamesaanderson has quit [Client Quit]
momomomomo has quit [Quit: momomomomo]
<guilund>
i guess i will have to check before, i was looking for some solution more elegant
mudmaster has quit [Ping timeout: 264 seconds]
<guilund>
a solution with a monocle and a very distinct moustache
<Delobox>
guilund: wouldnt a divide by zero throw an exception?
<LadyRainicorn>
y.zero? ? 0 : x/y
<DouweM>
Delobox: convention says it should be used as a counterpart to the !-less version when the version with ! modifies in place, or as a counterpart to the !-less version when the version with ! would raise an exception where the version without would simply return false, or, finally, even without a !-less counterpart, a method can end in ! when it has destructive behaviour
<Delobox>
you could catch that
<LadyRainicorn>
or don't divide by zero
<toroidalcode>
I like the ternary solution
<guilund>
LadyRainicorn: thats a good solution
<DouweM>
Delobox: i.e. in general the ! indicates destructive behavior, at least relative to the version without it
kitak has quit [Remote host closed the connection]
<guilund>
LadyRainicorn: let me try
viod has quit [Ping timeout: 245 seconds]
madb055 has quit [Read error: Connection reset by peer]
bbloom has joined #ruby
ddd has quit [Ping timeout: 260 seconds]
<guilund>
my problem is this: @tabela_planejado.map {|k,v| v[m].nil? ? 0 : v[m][c] }.inject(0, :+))
<guilund>
i finally learn how to map things :P
<guilund>
but it gets very busy on the code
tvw has quit [Read error: Connection reset by peer]
<Delobox>
i like that phrase, "it gets very busy on the code"
<guilund>
man, im sorry
<Delobox>
it sounds cool
<guilund>
i dont speak english very well :O
<guilund>
hahaha
<bnagy>
you can just inject :+
<LadyRainicorn>
You know 0.nil? is false right?
<Delobox>
guilund: its okay, i mean to say that while it is an unusual phrase, it is pleasing to hear
<Delobox>
I also have no mastery of commas
<bnagy>
also how does that line ever divzero?
mudmaster has joined #ruby
cpruitt has quit [Quit: cpruitt]
Alina-malina has quit [Ping timeout: 246 seconds]
<LadyRainicorn>
because + is aliased to / in Fixnum
<guilund>
hey bnagy, because an empty item on database
Alina-malina has joined #ruby
<shevy>
LadyRainicorn you are the wisest of all ponicorns
<DouweM>
LadyRainicorn: lol
<LadyRainicorn>
true that :3
vlad_starkov has quit [Read error: Connection reset by peer]
jamesaanderson has joined #ruby
jamesaanderson has quit [Client Quit]
agjacome has quit [Ping timeout: 250 seconds]
<shevy>
@tabela_planejado.muchos_gatos
<bnagy>
guilund: you should look for lines more likely to be the actual problem, using the cunning static analysis technique of looking for '/'
<guilund>
shevy: here we call it gambiarra
Brolen has quit [Quit: Brolen]
<shevy>
sonds like guitar :>
<guilund>
lol
<shevy>
btw it gets to me that :+ reads like a smiley
freakazoid0223 has joined #ruby
<DeadlyKitty>
Hello
<guilund>
bnagy: i dont got it :(
<LadyRainicorn>
Hi
rjhunter has joined #ruby
<LadyRainicorn>
You are a kitty@
<bnagy>
guilund: that line is not why you are dividing by zero, because it doesn't do any division