mercwith1mouth has quit [Ping timeout: 240 seconds]
axl_ has joined #ruby
ske14 has left #ruby [#ruby]
Hanmac1 has quit [Ping timeout: 272 seconds]
mgberlin has quit [Remote host closed the connection]
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
mtjandra has quit [Ping timeout: 244 seconds]
reset has joined #ruby
funburn has joined #ruby
renklaf has quit [Read error: No route to host]
mneorr_ has quit [Remote host closed the connection]
renklaf has joined #ruby
recurrence has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<slowcon>
centrx: would you take a look at this. i can't get the 2nd part of the script to work, it goes to the pages and prints them out but can't get it to update the healthy column http://pastebin.com/haiC9Ah3
mneorr has joined #ruby
renklaf has quit [Read error: No route to host]
renklaf_ has joined #ruby
reset has quit [Client Quit]
mneorr has quit [Remote host closed the connection]
deens has joined #ruby
mneorr has joined #ruby
mansi has quit [Remote host closed the connection]
<centrx>
slowcon, "else if" with nothing in the if statement?
renklaf_ has quit [Read error: No route to host]
mansi has joined #ruby
<slowcon>
centrx: took that out
Hobogrammer has joined #ruby
<slowcon>
centrx: was different statement before
<slowcon>
now its just else
renklaf has joined #ruby
havenwood has joined #ruby
xerox357 has joined #ruby
mbuf has joined #ruby
<centrx>
slowcon, And there's no database/Sequel error?
<slowcon>
centrx: nope
<slowcon>
just prints all of the page titles and exits
renklaf has quit [Read error: No route to host]
dik_dak has joined #ruby
renklaf has joined #ruby
asteros has quit [Quit: asteros]
renklaf has quit [Read error: Connection reset by peer]
koell has quit [Quit: So say we all!]
mneorr has quit [Ping timeout: 264 seconds]
deens has quit [Ping timeout: 264 seconds]
mansi has quit [Ping timeout: 272 seconds]
mikepack has joined #ruby
renklaf has joined #ruby
pranny has joined #ruby
Mongey has quit [Quit: Mongey]
madboxs has joined #ruby
binaryhat has joined #ruby
renklaf has quit [Read error: No route to host]
<centrx>
slowcon, If healthy is boolean, maybe Sequel requires the value to be true and false not 1 and 0 ?
renklaf has joined #ruby
<slowcon>
at first it was boolean, and i did try both. 1, 0 and true false
deadlyicon has quit [Read error: Connection reset by peer]
<slowcon>
then i tried integer, nothin
<slowcon>
just now tried text with a "true", and nothin thhere
renklaf has quit [Read error: Connection reset by peer]
<centrx>
No database commands issue?
renklaf has joined #ruby
<centrx>
Sequel does not issue any queries?
<slowcon>
I'm not sure, nothing errors out in the script
cj3kim has quit [Remote host closed the connection]
<centrx>
Is there a debug option so that you can see what queries Sequel is running?
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
<benzrf>
probs
<centrx>
It seems like Sequel should be issuing the query every time: songsdown.where(:zippy_url => zip).update(:healthy => 1)
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
jerius has joined #ruby
subbyyy has quit [Ping timeout: 240 seconds]
renklaf has quit [Read error: No route to host]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
brucele_ has joined #ruby
renklaf has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
Hanmac1 has joined #ruby
renklaf has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
burlyscudd has joined #ruby
Hanmac has quit [Ping timeout: 264 seconds]
earthquake has joined #ruby
lethjakman has quit [Ping timeout: 240 seconds]
renklaf has quit [Read error: No route to host]
ctp has joined #ruby
renklaf has joined #ruby
Voodoofish430 has quit [Quit: Leaving.]
pwh has quit []
renklaf has quit [Read error: No route to host]
robbyoconnor has joined #ruby
renklaf has joined #ruby
mansi has joined #ruby
mtjandra has joined #ruby
mansi has quit [Read error: Connection reset by peer]
Zunonia has quit [Quit: Computer has gone to sleep.]
<Atw>
Has anyone had any problems going from Ruby 2.0 to 2.1? I hear it doesn't break anything and its just faster and better GC.
<slowcon>
trying to figure out how t get this sequel debug to work
mansi has joined #ruby
<centrx>
Atw, It is very compatible
kitak has quit [Remote host closed the connection]
burlyscudd has quit [Ping timeout: 246 seconds]
kitak has joined #ruby
renklaf has quit [Read error: No route to host]
mneorr has joined #ruby
renklaf has joined #ruby
Guest8545 has quit [Changing host]
Guest8545 has joined #ruby
Guest8545 is now known as deepy
renklaf has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
ctp has quit [Ping timeout: 272 seconds]
armyriad has quit [Ping timeout: 244 seconds]
<slowcon>
ok got the logger installed
binaryhat has quit [Quit: Leaving]
Hanmac1 has quit [Ping timeout: 246 seconds]
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
renklaf_ has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
mikepack has quit [Remote host closed the connection]
<slowcon>
i put the command after the connect statement
renklaf has joined #ruby
madboxs has quit [Quit: 전 이만 갑니다.]
renklaf has quit [Read error: Connection reset by peer]
<centrx>
slowcon, Are you sure that code is reached?
<centrx>
slowcon, Does a query run if you do not use update?
renklaf has joined #ruby
brucele_ has quit [Ping timeout: 244 seconds]
firewater has joined #ruby
renklaf_ has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
<firewater>
So, I'm having some trouble with something. If I am iterating through a hash, checking to see if a key in that hash matches with something, and it does. How do I add that to a new hash? I know its .merge!
The-Mad-Pirate has quit [Ping timeout: 252 seconds]
<firewater>
But, I'm iterating through the original one, so to add something, would it be @hash[key]?
v0n has joined #ruby
mikepack has quit [Ping timeout: 264 seconds]
oso|away is now known as oso96_2000
<firewater>
@hash[key] odesn't work, nor does @hash{key}
<firewater>
So I'm confused and searching around.
alvaro_o has quit [Quit: Ex-Chat]
<centrx>
Why doesn't @hash[key] work?
<havenwood>
firewater: i don't follow what's wrong, have any code to Gist?
<firewater>
yes, one second.
AlSquire has quit [Quit: This computer has gone to sleep]
lolmaus has quit [Quit: No Ping reply in 180 seconds.]
renklaf has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
jonah_k has quit [Remote host closed the connection]
reset has quit [Ping timeout: 244 seconds]
deens has quit [Ping timeout: 246 seconds]
lolmaus has quit [Ping timeout: 264 seconds]
codeFiend has joined #ruby
danshultz has joined #ruby
<terence>
RubyPanther: I define VALUE as METHOD in the macro
renklaf has quit [Ping timeout: 246 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ekinmur_ has joined #ruby
lethjakman has joined #ruby
asteros has joined #ruby
<flowerha_>
RubyPanther: pipework: hi again :D;;; so i ran "brew install chruby ruby-install && ruby-install ruby 1.9.2-p320", and that worked, but, now it's a matter of getting rbenv (or just... anything), to recognize the ruby
<flowerha_>
it was installed in /Users/flowerhack/.rubies/ruby-1.9.2-p320
funburn has quit [Quit: funburn]
<flowerha_>
and it looks like rbenv stores ruby versions in ~/.rbenv/versions/ruby-version-here
<pipework>
flowerha_: I think rbenv recognizes ~/.rubies
<pipework>
oh.
<flowerha_>
i'm sure there's like
<flowerha_>
some fancy way to
<flowerha_>
set up a symlink or a path or something
<flowerha_>
but
danshultz has quit [Ping timeout: 244 seconds]
renklaf has joined #ruby
<flowerha_>
i guess i'm vaguely hoping one of y'all are a bit more path-savvy than me
hermanmunster has joined #ruby
<havenwood>
flowerha_: chruby would recognize it by default
<flowerha_>
since i tend to accidentally blow up things when i mess with it
<flowerha_>
hm
<flowerha_>
to use chruby, do i uninstall rbenv?
<flowerha_>
or like
Celm has quit [Remote host closed the connection]
<havenwood>
flowerha_: yes
<pipework>
You don't have to.
<pipework>
You might want to though.
m104 has joined #ruby
<pipework>
chruby is the simplest and lightest tool though. Less crappy opinions and bloat involved.
renklaf has quit [Read error: No route to host]
Spami has quit [Quit: This computer has gone to sleep]
reset has joined #ruby
kenndel has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
pigzzcanfly has joined #ruby
reset has quit [Client Quit]
codeFiend has quit [Quit: codeFiend]
<terence>
RubyPanther: May be I miss something?
slowcon has quit [Read error: Connection reset by peer]
thams has joined #ruby
<flowerha_>
oh hm, there's instructions on the CHRUBY channel
<flowerha_>
saying
<flowerha_>
er
funburn has joined #ruby
<flowerha_>
CHRUBY page
<pipework>
flowerha_: Pretty neat, right?
<flowerha_>
If you are migrating from another Ruby manager, set RUBIES accordingly:
<flowerha_>
rbenv: RUBIES+=(~/.rbenv/versions/*)
<flowerha_>
is RUBIES an environment variabl or something though? the docs are unclear
<flowerha_>
oh wait i might have it holdon
hermanmunster has quit [Client Quit]
<pipework>
flowerha_: It is.
hermanmunster has joined #ruby
<flowerha_>
I think an old version of ruby may still be stomping the churby one, so I'm going to try installing a totally new version with chruby, to see how that works
<jonnyro>
I need to draw a graph showing values over time
dayepa has joined #ruby
<bnagy>
the lovable janitor from Futurama?
<jonnyro>
Lol
<jonnyro>
walked right into that one
renklaf has joined #ruby
renklaf has quit [Read error: Connection reset by peer]
renklaf has joined #ruby
deens has quit [Ping timeout: 244 seconds]
scarolan has joined #ruby
<bnagy>
postmodern: yeah looks like a whole zlib source bundle in there
reset has quit [Ping timeout: 264 seconds]
ctp has quit [Ping timeout: 264 seconds]
<postmodern>
bnagy, idk i prefer to always build against system libs, that way you avoid playing update wack-a-mole when a security update comes out
budrose has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<postmodern>
a la the recent libyaml vuln
<pipework>
postmodern: I prefer the one with the gators that say 'ow'.
<postmodern>
pipework, i do not know of which you speak of, but it sounds awesome
renklaf has quit [Ping timeout: 244 seconds]
<pipework>
postmodern: Instead of a hammer and a table of gopher holes, you have your hands and you whack a row of gators who say 'ow' in a robotic voice when they are hit.
rezzack has quit [Quit: Leaving.]
lyanchih has quit [Quit: lyanchih]
<bnagy>
postmodern: oh I completely agree, I'm just mentioning it
renklaf has quit [Read error: Connection reset by peer]
<RubyPanther>
That's what people wanted it for
renklaf has joined #ruby
<Oog>
cool thanks
<pipework>
Oog: Supplements.
mary5030 has joined #ruby
<ddd>
oog like perl community, ruby community is becoming terse-centric. seems everyone wants to move to the shortest possible set of keystrokes they can type regardless of if it makes it clearer or not
<ddd>
suppliment my ass
wjlafrance__ has quit [Client Quit]
<Oog>
i hate perl
<pipework>
perl hates you.
nowthatsamatt has quit [Quit: nowthatsamatt]
<pipework>
ddd: Well, lambda still works.
<ddd>
wasn't a comment on the language. was a comment on the move towards typing the least amount even if it muddies the understanding waters
<pipework>
But I suppose supplement isn't the right word.
dapz has joined #ruby
<centrx>
Oog, It does have different syntax for arguments ->(arg) { }
<centrx>
Oog, I used the wrong syntax with eval-in
dapz has quit [Max SendQ exceeded]
<pipework>
centrx: Yeah a bit different.
<Oog>
perl does hate me
sensen has quit [Ping timeout: 277 seconds]
<Oog>
we had a battle a while ago and i never used it again
mary5030 has quit [Ping timeout: 244 seconds]
<Oog>
it was like incorrect indentation or something i was ready to throw the computer out
<ddd>
you found the better language. be happy you lost the battle
renklaf has quit [Ping timeout: 282 seconds]
<pipework>
It's like wrestling a pig instead of an attractive individual from your own species.
chipotle has quit [Quit: cya]
<pipework>
To all the pigs out there, I'm sorry for the confusing metaphor.
<ddd>
hehe you always have the weirdest but accurate expressions
<bnagy>
pigs are not good wrestlers
renklaf has joined #ruby
<ddd>
better runners. especially when people want to turn your backside into an edible product
jackneill has joined #ruby
<bnagy>
yeah they are super fast
renklaf has quit [Read error: No route to host]
renklaf has joined #ruby
<pipework>
And even if you catch them, chances are you're stuck in the mud trying hard to wrest down a large beast that enjoys your attempts.
JasmeetQA1 has joined #ruby
pigzzcan_ has quit [Remote host closed the connection]
Avahey has quit [Quit: Connection closed for inactivity]
pigzzcanfly has joined #ruby
JasmeetQA has quit [Ping timeout: 264 seconds]
davedev24 has quit [Remote host closed the connection]
<ddd>
heh
renklaf has quit [Read error: No route to host]
ekinmur has quit []
davedev24 has joined #ruby
renklaf has joined #ruby
breakingthings has quit [Ping timeout: 272 seconds]
cj3kim has quit [Ping timeout: 264 seconds]
max_ has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
Macaveli has quit [Quit: Leaving]
davedev24 has quit [Ping timeout: 264 seconds]
Macaveli has joined #ruby
browndawg has joined #ruby
relme has joined #ruby
testcore has joined #ruby
guest31337 has joined #ruby
Salve has quit [Remote host closed the connection]
guilleiguaran has quit [Quit: Connection closed for inactivity]
apeiros has joined #ruby
subbyyy_ has quit [Ping timeout: 246 seconds]
mbuf has quit [Ping timeout: 272 seconds]
lsmola has joined #ruby
nstdloop has quit [Remote host closed the connection]
bleak has quit [Ping timeout: 264 seconds]
bal has quit [Quit: bal]
bal has joined #ruby
Faris has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
Vovko has quit [Remote host closed the connection]
existensil has quit [Read error: Operation timed out]
max_ has joined #ruby
iliketur_ has joined #ruby
armyriad has quit [Ping timeout: 272 seconds]
srji has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
<lxsameer>
hey guys how can i remove a yanked gem completely ( please don't point to that video on rubygems.org )
<ceej>
evening, well morning... so I'm trying to create my own form builder, I'm almost there apart from one issue https://gist.github.com/cj/7068260f2904d28225dd moo cow should be wrapping the input except it's completely outside of the form, I can't think of how to fix that so I'm reaching out to see if anyone can help
cj3kim has joined #ruby
<pipework>
lxsameer: I think you have to ask someone on the rubygems team.
<lxsameer>
pipework: thanks
lyanchih has joined #ruby
vlad_starkov has joined #ruby
yfeldblum has quit [Remote host closed the connection]
gja has joined #ruby
dodosan has quit [Remote host closed the connection]
vlad_sta_ has joined #ruby
gja has quit [Client Quit]
camilasan has joined #ruby
yacks has quit [Quit: Leaving]
dawkirst has joined #ruby
aganov has joined #ruby
gnephiak has joined #ruby
mbuf has joined #ruby
joelroa has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Ping timeout: 272 seconds]
parduse has quit [Ping timeout: 264 seconds]
maZtah is now known as maZtah
posu has joined #ruby
parduse has joined #ruby
parduse has quit [Changing host]
parduse has joined #ruby
brucele_ has quit [Ping timeout: 246 seconds]
breakingthings has joined #ruby
jonah_k has quit [Remote host closed the connection]
ndrei has quit [Quit: leaving]
yfeldblum has joined #ruby
ndrei has joined #ruby
havenwood has quit [Remote host closed the connection]
mbuf has quit [Read error: Connection reset by peer]
jph98 has quit [Quit: jph98]
pigzzcanfly has joined #ruby
havenwood has joined #ruby
Oog has quit []
mbuf has joined #ruby
ilyam_ has joined #ruby
lewix has joined #ruby
ilyam has quit [Ping timeout: 244 seconds]
ilyam_ is now known as ilyam
armyriad has joined #ruby
testcore has joined #ruby
<RubyPanther>
ddd: I dunno, back in 2005 Ruby golf was a lot more popular than now. Sometimes we could even beat Perl.
testcore has left #ruby [#ruby]
ndrei has quit [Ping timeout: 246 seconds]
Wolland has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
pigzzcanfly has quit [Ping timeout: 272 seconds]
ndrei has joined #ruby
max_ has quit [Ping timeout: 264 seconds]
Kelgors has joined #ruby
<pipework>
RubyPanther: I think some of the ruby golfs are better than perls today.
mengu has joined #ruby
OdNairy has quit [Ping timeout: 264 seconds]
flowerha_ has quit [Remote host closed the connection]
claymore has joined #ruby
Rydekull_ is now known as Rydekull
Rydekull has quit [Changing host]
Rydekull has joined #ruby
davidcollom_ is now known as davidcollom
no6 has joined #ruby
Faris has quit [Ping timeout: 272 seconds]
CpuID has quit [Ping timeout: 264 seconds]
dayepa has joined #ruby
thomasxie has quit [Quit: Leaving.]
lyanchih has quit [Quit: lyanchih]
lyanchih has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
cj3kim has quit [Ping timeout: 246 seconds]
hiyosi has joined #ruby
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
jmau5 has quit [Remote host closed the connection]
brucele_ has joined #ruby
gaussblurinc has joined #ruby
Port3M5[Work] has joined #ruby
nvrch has joined #ruby
Azulinho has quit [Ping timeout: 246 seconds]
elaptics`away is now known as elaptics
pigzzcanfly has joined #ruby
dayepa has quit [Ping timeout: 272 seconds]
<gaussblurinc>
hi! did anybody read this book "Well grounded rubyst"? Nevertheless, I can't understand this warning about assignment operator on page 72 (end of 3.3 section). Can anybody explain this?
<centrx>
Can you type that part in here?
lele` is now known as lele
meatherly has joined #ruby
<gaussblurinc>
this citation is too big, any service, please?
<pontiki>
what?
<centrx>
gist.github.com
cj3kim has quit [Read error: Connection reset by peer]
phansch has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
pigzzcanfly has quit [Ping timeout: 272 seconds]
cj3kim has joined #ruby
phansch has joined #ruby
ctp has joined #ruby
greenarrow has joined #ruby
abunchofdollarsi has joined #ruby
LastWhisper has quit [Ping timeout: 245 seconds]
<centrx>
gaussblurinc, Assignment always returns the value that was assigned, even if you define an assignment method like def method= that tries to return something different.
sparrovv has joined #ruby
jle` has quit [Ping timeout: 244 seconds]
ultraflash3 has joined #ruby
meatherly has quit [Ping timeout: 255 seconds]
<ceej>
why would a yield print out even if it's not at the end of a method?
<apeiros>
>> class X; def foo=(val); return "this is ignored"; end; end; x = X.new; x.foo = 123
<certainty>
maasha: of course if overwrites. Make options[:input_dirs] an array and put the values in theres
<certainty>
option[:input_dirs] << o it is then
brucele_ has quit [Ping timeout: 244 seconds]
reset has joined #ruby
<certainty>
maasha: oh, sorry, you said it works. Yeah that might be the proper way to do it.
Salve has joined #ruby
fveillette has joined #ruby
<maasha>
certainty: Your suggestion also works, but the approaches sort of conflicts. So which is the least irritating way?
mojjojo has joined #ruby
ayaz has joined #ruby
<certainty>
maasha: why do they conflict?
mansi has quit [Ping timeout: 246 seconds]
OdNairy has joined #ruby
Matriks has quit [Remote host closed the connection]
plexus_ has joined #ruby
Xeago_ has joined #ruby
aryaching_ has quit [Ping timeout: 247 seconds]
<maasha>
certainty: well, I would need some duck typing to collect the arrays givens as comma separated lists and those given with multiple identical options.
<maasha>
certainty: or I end up with arrays of arrays.
<maasha>
mixed with strings.\
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jmau5 has quit [Ping timeout: 244 seconds]
lolmaus has joined #ruby
reset has quit [Ping timeout: 244 seconds]
Salve has quit [Ping timeout: 246 seconds]
bluenemo has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
cj3kim has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 246 seconds]
<certainty>
maasha: well you have to split anyway since you want to support the ,-syntax. If you don't want arrays of arrays you can simply flatten afterwards or use #concat or something during insertion
bluenemo_ has joined #ruby
bluenemo_ has quit [Changing host]
bluenemo_ has joined #ruby
_Andres has joined #ruby
lsmola has quit [Ping timeout: 244 seconds]
bluenemo__ has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
bluenemo__ has quit [Changing host]
bluenemo__ has joined #ruby
sk87 has joined #ruby
hermanmunster has joined #ruby
jhass|off is now known as jhass
dANO- has joined #ruby
hermanmunster has quit [Client Quit]
dANO- is now known as dANOKELOFF
ahawkins has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
m1lt0n has joined #ruby
sentinal8473 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sentinal8473 has joined #ruby
quatron has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424]]
camilasa_ has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
zygmunt has joined #ruby
robbyoconnor has quit [Ping timeout: 246 seconds]
phansch has joined #ruby
amritanshu__RnD has quit [Ping timeout: 264 seconds]
camilasan has quit [Ping timeout: 246 seconds]
<maasha>
certainty: I am working it out. thanks
ahawkins has quit [Ping timeout: 244 seconds]
havenwood has quit [Remote host closed the connection]
pigzzcanfly has joined #ruby
havenwood has joined #ruby
lsmola has joined #ruby
klaut has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.2]
invinceable has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
OdNairy has quit [Read error: Connection reset by peer]
Azulinho has quit [Quit: WeeChat 0.4.2]
aryaching has quit [Ping timeout: 244 seconds]
Azulinho has joined #ruby
Jetchisel has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
craigp has quit [Ping timeout: 244 seconds]
larissa has quit [Quit: Leaving]
RyanV has quit [Quit: Computer has gone to sleep.]
sparrovv has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 272 seconds]
mcls has quit [Quit: Computer has gone to sleep.]
OdNairy has joined #ruby
skammer has joined #ruby
RyanV has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
havenwood has joined #ruby
mcls has joined #ruby
kirun has quit [Ping timeout: 246 seconds]
yacks has quit [Ping timeout: 272 seconds]
aagdbl has joined #ruby
rdark has joined #ruby
lele has quit [Ping timeout: 246 seconds]
mojjojo has quit [Quit: mojjojo]
mojjojo has joined #ruby
meatherly has joined #ruby
havenwood has quit [Ping timeout: 272 seconds]
blazeroot has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
omegahm has joined #ruby
dayepa has joined #ruby
scarolan has joined #ruby
meatherly has quit [Ping timeout: 244 seconds]
Shidash1 has quit [Ping timeout: 256 seconds]
rdark has quit [Ping timeout: 264 seconds]
deens has joined #ruby
Giorgio has quit [Ping timeout: 244 seconds]
blazeroot has quit []
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
ndrei has joined #ruby
rdark has joined #ruby
scarolan has quit [Ping timeout: 265 seconds]
lele has joined #ruby
deens has quit [Ping timeout: 264 seconds]
postmodern has quit [Quit: Leaving]
rahult has joined #ruby
barratt has joined #ruby
DaniG2k has quit [Quit: leaving]
popl has quit [Ping timeout: 264 seconds]
hiyosi has joined #ruby
ixti has quit [Ping timeout: 272 seconds]
railsmagnet has joined #ruby
RyanV has quit [Quit: Computer has gone to sleep.]
pushpak has joined #ruby
RyanV has joined #ruby
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
m1lt0n has joined #ruby
dx7 has joined #ruby
m1lt0n has quit [Client Quit]
m1lt0n has joined #ruby
Kuda has joined #ruby
davidcollom is now known as davidcollom_afk
m1lt0n has quit [Client Quit]
m1lt0n has joined #ruby
ta9to has quit [Ping timeout: 244 seconds]
brucele_ has joined #ruby
m1lt0n has quit [Client Quit]
razibog has joined #ruby
m1lt0n has joined #ruby
blueOxigen has joined #ruby
dx7 has quit [Ping timeout: 244 seconds]
greenarrow has joined #ruby
bluOxigen has quit [Ping timeout: 272 seconds]
doodlehaus has quit [Remote host closed the connection]
davidcollom_afk is now known as davidcollom
brucele_ has quit [Ping timeout: 264 seconds]
greenarrow has quit [Client Quit]
reset has joined #ruby
dennus has joined #ruby
ta9to has joined #ruby
Salve has joined #ruby
dayepa has quit [Ping timeout: 272 seconds]
pigzzcanfly has joined #ruby
AlexRussia has joined #ruby
JasmeetQA1 has quit [Quit: Leaving.]
reset has quit [Ping timeout: 244 seconds]
ndrei has quit [Ping timeout: 264 seconds]
greenarrow has joined #ruby
Salve has quit [Ping timeout: 246 seconds]
razibog has quit [Quit: Leaving.]
skammer has quit [Read error: Connection reset by peer]
danshultz has joined #ruby
gnagno has joined #ruby
<gnagno>
hello all
ahawkins has joined #ruby
pigzzcanfly has quit [Ping timeout: 264 seconds]
dayepa has joined #ruby
rdark has quit [Ping timeout: 272 seconds]
fgo has joined #ruby
pushpak has quit [Quit: Leaving...]
rdark has joined #ruby
<jhass>
hi gnagno
<gnagno>
I have a ruby script that consists of only a ruby file and a gemfile, can I install the gem locally in the script directory? if yes is bundle install --path .bundle the correct way to do it?
fgo has quit [Read error: No route to host]
Maitiu has joined #ruby
<jhass>
yes you can (even though I see little benefit), and yes that would work, using .bundle is just rather uncommon but probably not a too bad idea if you don't already have a vendor directory or something like that
nvrch has joined #ruby
Kneferilis has joined #ruby
stryek has quit [Ping timeout: 272 seconds]
sk87 has joined #ruby
<gnagno>
jhass, but then I have to specify the directory where my script has to go to find the gems right?
gozali has quit [Remote host closed the connection]
vt102 has joined #ruby
<jhass>
if you use --path or if you don't? either way, if you don't it'll install the gems in $GEM_HOME, if you do use --path bundler will remember the option. In either case bundle exec ruby foo.rb will always correctly setup the load paths
<jhass>
but you working directory has to be where the Gemfile is, if that's the question
maZtah has quit [Changing host]
maZtah has joined #ruby
karupanerura is now known as zz_karupanerura
yacks has joined #ruby
posu has quit [Quit: This computer has gone to sleep]
spider-mario has joined #ruby
tobago has joined #ruby
mehlah has joined #ruby
joshu has quit [Quit: Bye.]
<gnagno>
thank you jhass
ohwhoa has quit [Quit: woah!]
bahar has quit [Changing host]
bahar has joined #ruby
noop has joined #ruby
noop is now known as noopq
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
havenwood has joined #ruby
IceyEC has joined #ruby
robbyoconnor has quit [Ping timeout: 272 seconds]
zumba_addict has quit [Quit: zumba_addict]
fgo has joined #ruby
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adamholt_ is now known as adamholt
vt102 has quit [Remote host closed the connection]
scarolan has joined #ruby
vt102 has joined #ruby
havenwood has quit [Ping timeout: 246 seconds]
meatherly has joined #ruby
himsin has quit [Quit: himsin]
ndrei has joined #ruby
michael_lee has quit [Ping timeout: 244 seconds]
ultraflash3 has joined #ruby
TMM has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<jhass>
or \s\s+ if you don't care about the type of whitespace
Xeago has quit [Client Quit]
decoponio has joined #ruby
Xeago has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<tobago>
jhass, to be honst I care about the whitespace type (tabs and line feeds should be rejected as well)
<jhass>
or \s{3,} or whatever your requirement is now actually
<AntelopeSalad>
tobago: i only asked because ruby has a squeeze method which will remove extra spaces (or any other char you want)
<jhass>
so strings.reject{|string| string.match(/s{3,}/) }
<jhass>
er, /\s{3,}/ sorry, typo
krz has quit [Quit: WeeChat 0.4.3]
CorpusCa_ has joined #ruby
dayepa has quit [Ping timeout: 272 seconds]
<tobago>
jhass, how should the negation of your regexp look like?
<jhass>
why do you want to negate it?
aaronmcadam has joined #ruby
<tobago>
jhass, the regex is for a validation in RubyOnRails and there is validates :format => { :with => /.../}
pigzzcanfly has joined #ruby
jle` has quit [Ping timeout: 246 seconds]
<apeiros>
tobago: you're having various contradictions in your question
<tobago>
jhass, I want to allow [a-zA-Z0-9:_\/] and 1 whitespace between those chars, but nothing else
<apeiros>
tobago: you say "a space only every other char"
<jhass>
tobago: there also is validates :format, without: /.../
<apeiros>
but you give "Test:_ /123" as one that should match
<apeiros>
you have there a lot of spaces…
Avahey has joined #ruby
<AntelopeSalad>
i still don't get why you don't just #squeeze it and not throw a validation error
<apeiros>
6 spaces… how does that fit the "a space only every other character"?
<tobago>
apeiros, sorry. then I was misleading you. "Test:_ /123" should be rejected
alexju has joined #ruby
<apeiros>
tobago: then elaborate "didn't work"
<apeiros>
tobago: you forgot to anchor your regex btw.
<apeiros>
\A and \z
<tobago>
apeiros, my regex on that didn't work as expected
reset has joined #ruby
zeroXten_ has quit [Read error: Operation timed out]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
rmoriz has quit [Ping timeout: 245 seconds]
abstractj has quit [Ping timeout: 245 seconds]
<apeiros>
tobago: "didn't" work is a fucking useless description
Matriks has joined #ruby
zeroXten has joined #ruby
nateberkopec has joined #ruby
posu has joined #ruby
<apeiros>
whoops, move that quote
pigzzcanfly has quit [Ping timeout: 246 seconds]
<jhass>
tobago: go to http://rubular.com, fill it with real world examples that should be allowed and real world examples that should be rejected. Add the regex you have so far, share it here and ask for a working/better version
Salve has joined #ruby
<tobago>
o.k.
<tobago>
thank you
braincrash has joined #ruby
<monsieurp>
a regex can only work lol
rmoriz has joined #ruby
abstractj has joined #ruby
<apeiros>
heh
<apeiros>
right
craigp_ has quit [Remote host closed the connection]
_tpavel has joined #ruby
reset has quit [Ping timeout: 247 seconds]
ayaz has quit [Ping timeout: 245 seconds]
stringoO has joined #ruby
vlad_starkov has joined #ruby
<monsieurp>
tobago: do you have a sample of what you're trying to filter?
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
alexherbo2 has joined #ruby
tils` has joined #ruby
Matriks has quit [Ping timeout: 264 seconds]
tils` is now known as tils
Salve has quit [Ping timeout: 264 seconds]
Giorgio has joined #ruby
Mon_Ouie has joined #ruby
<monsieurp>
tobago: and btw, this is not a ruby question.. you should read a good book on regexes
enebo has joined #ruby
nateberkopec has quit [Quit: Leaving...]
craigp has joined #ruby
Matriks has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
LekeFly has joined #ruby
Salve has joined #ruby
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
Matriks has quit [Remote host closed the connection]
Salve has quit [Ping timeout: 272 seconds]
AlSquire has joined #ruby
Mon_Ouie has quit [Ping timeout: 264 seconds]
_tpavel has quit [Quit: Leaving]
dennus has quit []
sk87 has joined #ruby
dblessing has joined #ruby
kpshek has joined #ruby
dblessing_ has joined #ruby
ffranz has joined #ruby
nisstyre has quit [Ping timeout: 245 seconds]
dblessing_ has quit [Remote host closed the connection]
lolmaus has quit [Ping timeout: 272 seconds]
mary5030 has joined #ruby
dblessing_ has joined #ruby
geoffw8_ has quit [Quit: Connection closed for inactivity]
<tobago>
jhass, this works as expected: "Test Foo goo hho".match(/\A(\w+\s?\w+)+\Z/)
kitak has quit [Remote host closed the connection]
<tobago>
passes
craigp has quit [Remote host closed the connection]
<tobago>
and "Test Foo goo hho".match(/\A(\w+\s?\w+)+\Z/) does not pass
davidcollom is now known as davidcollom_afk
mary5030 has quit [Remote host closed the connection]
kitak has joined #ruby
<jhass>
ah, so different requirements again. anyway at least you found a solution for you
dblessing has quit [Ping timeout: 257 seconds]
dblessing_ is now known as dblessing
<tobago>
though the regex looks not very elegant, does it?
davidcollom_afk is now known as davidcollom_afk_
<Tachoh>
elegant regex
<jhass>
I've seen worse
lyanchih has joined #ruby
pigzzcanfly has joined #ruby
Matriks has joined #ruby
vpretzel has quit [Remote host closed the connection]
mary5030 has joined #ruby
vpretzel has joined #ruby
guilleiguaran has joined #ruby
_tpavel has joined #ruby
RyanV has quit [Quit: Computer has gone to sleep.]
keen_ has joined #ruby
noopq has quit [Ping timeout: 246 seconds]
axl_ has joined #ruby
v4n has joined #ruby
gnagno has quit [Ping timeout: 244 seconds]
patteh has quit [Quit: leaving]
patteh has joined #ruby
makara has quit [Ping timeout: 272 seconds]
ndrei has quit [Quit: leaving]
ndrei has joined #ruby
ndrei has quit [Client Quit]
pigzzcanfly has quit [Remote host closed the connection]
ndrei has joined #ruby
havenwood has joined #ruby
yasushi has joined #ruby
scarolan has quit [Ping timeout: 264 seconds]
<apeiros>
tobago: doesn't fit your description, though
<apeiros>
>> "T e s t Foo goo hho".match(/\A(\w+\s?\w+)+\Z/)
posu has quit [Quit: This computer has gone to sleep]
randomnick_ has joined #ruby
<jhass>
tobago: but said that, I actually meant another step back. Why aren't more than two consecutive spaces allowed in the string?
nowthatsamatt has joined #ruby
nisstyre has joined #ruby
jefflyne has joined #ruby
<slowcon>
morning guys
budrose has joined #ruby
obs_ has joined #ruby
doodlehaus has joined #ruby
obs has quit [Write error: Broken pipe]
SirFunk has quit [Excess Flood]
SirFunk has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
nateberkopec has joined #ruby
<tobago>
apeiros, it works perfectly.
<apeiros>
jhass: \s{3,} is more than 3 spaces?
<apeiros>
I mean - *I know* it is. I don't understand how that fits his description…
<apeiros>
*3 or more spaces?
<jhass>
he said he wants to blacklist strings that have more than two (consecutive, I implied that) spaces
<tobago>
I must have overseen it.
<jhass>
so we check if it has 3 or more and if that matches let the validation fail
theweirdone has quit []
18WAFV4JM has quit [Ping timeout: 436 seconds]
Sammael has quit [Ping timeout: 436 seconds]
tekacs has quit [Ping timeout: 436 seconds]
CJD14_ has quit [Ping timeout: 436 seconds]
phrozen77 has quit [Ping timeout: 436 seconds]
rcs has quit [Ping timeout: 436 seconds]
jinie has quit [Ping timeout: 436 seconds]
Stalkr^ has joined #ruby
tekmaster has joined #ruby
tekmaster is now known as tekacs
mansi_ has joined #ruby
<tobago>
sorry for that inconvenience.
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jmau5 has joined #ruby
Relaxation___ has joined #ruby
<jhass>
tobago: I'm still interested why such a validation would be useful though :)
hackeron has quit [Remote host closed the connection]
rmorello has joined #ruby
<tobago>
thank you all guys. you have been very patient.
<apeiros>
your use of \s seems wrong btw.
mary5030 has quit [Write error: Broken pipe]
<apeiros>
at least it contradicts what you said before. iirc you said that e.g. tabs are invalid
<tobago>
jhass, I didn't defined the requirement.
CJD14_ has joined #ruby
mercwithamouth has quit [Ping timeout: 272 seconds]
kayamm has joined #ruby
<tobago>
I mean it was not my idea to forbid more than two consecutive spaces
Asher has joined #ruby
<jhass>
apeiros: I think he said that tabs count as whitespace, so " \t " would be invalid
phrozen77 has joined #ruby
rcs has joined #ruby
<apeiros>
jhass: that's different from what I read. I read "a space only every character", that'd be / {2,}/
<apeiros>
tobago: *more* than two is "3 or more"
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<apeiros>
tobago: you really change what you say every other line…
jinie has joined #ruby
<jhass>
yeah
davidcollom is now known as davidcollom_
<apeiros>
and "more than 2 consecutive spaces not allowed" is not the same as "spaces only every other char"
Asher has quit [Read error: Connection reset by peer]
Asher2 has joined #ruby
<tobago>
jhass, the string is used for configuring tabulator headlines. and the marketing defined, that headlines with two consecutive spaces should be refused.
hackeron has joined #ruby
dik_dak has joined #ruby
<jhass>
see, you changed it again
<jhass>
"with two consecutive spaces should be refused" != "not more than two spaces"
nowthatsamatt has quit [Read error: No route to host]
stryek has joined #ruby
SHyx0rmZ has joined #ruby
<jhass>
and did it say should be refused or should not be displayed? because if it's the later you could just cleanup the additional whitespace like someone said earlier
<tobago>
jhass, that's true. until I didn't know the word "consecutive" and that's why my description was misleading
Kuda has joined #ruby
Kuda has quit [Client Quit]
maximski has quit [Remote host closed the connection]
sk87 has joined #ruby
maximski has joined #ruby
<tobago>
I was not able to describe my requirement correctly.
<tobago>
jhass, it should be refused.
<roolo>
Guys do you know some plugin for YARD completion in vim?
Stalkr^ has quit [Ping timeout: 272 seconds]
kirun has joined #ruby
<jhass>
tobago: so as apeiros said it's {2,} not {3,}
zono has joined #ruby
<tobago>
jhass, yes. thank you so much for your time.
reset has joined #ruby
RaCx has joined #ruby
LekeFly has joined #ruby
kobain has joined #ruby
saarinen has joined #ruby
_maes_ has joined #ruby
craigp has joined #ruby
scarolan has joined #ruby
ringaroses has joined #ruby
browndawg has quit [Read error: Connection timed out]
supersym has quit [Quit: WeeChat 0.4.3]
coderdad has joined #ruby
reset has quit [Ping timeout: 244 seconds]
phantomtiger has joined #ruby
coderdad has quit [Remote host closed the connection]
nowthatsamatt has joined #ruby
coderdad has joined #ruby
_maes_ has quit [Client Quit]
browndawg has joined #ruby
tjr9898 has joined #ruby
_maes_ has joined #ruby
NovapaX has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skammer has joined #ruby
dblessing has quit [Quit: dblessing]
m1lt0n has quit [Quit: leaving]
terence has quit [Quit: Page closed]
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
phantomtiger has quit [Ping timeout: 244 seconds]
phantomtiger has joined #ruby
nszceta has joined #ruby
gja has quit [Client Quit]
lxsameer has quit [Quit: Leaving]
mlpinit has joined #ruby
Speed has joined #ruby
gnagno has joined #ruby
Symbiosisz has quit [Quit: Leaving]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
Symbiosisz has joined #ruby
amritanshu__RnD has quit [Quit: Leaving]
lyanchih has quit [Quit: lyanchih]
lyanchih has joined #ruby
meatherly has joined #ruby
Matriks has quit [Remote host closed the connection]
zachallett has joined #ruby
lmickh has joined #ruby
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
enebo has quit [Quit: enebo]
yasushi has joined #ruby
krz has joined #ruby
sski has quit [Remote host closed the connection]
rm_ has joined #ruby
sski has joined #ruby
bluOxigen has joined #ruby
anarang has quit [Quit: Leaving]
blueOxigen has quit [Read error: Connection reset by peer]
f3ttX] has joined #ruby
<matti>
;]
axl_ has quit [Quit: axl_]
burlyscudd has joined #ruby
snath has quit [Ping timeout: 246 seconds]
camilasa_ has quit [Remote host closed the connection]
camilasan has joined #ruby
thomasxie has left #ruby [#ruby]
sski has quit [Ping timeout: 264 seconds]
posu has joined #ruby
sailias has joined #ruby
kpshek has quit []
mansi_ has quit [Quit: Leaving...]
havenwood has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
kpshek has joined #ruby
mansi_ has joined #ruby
MattStratton has joined #ruby
rudisimo has joined #ruby
dblessing has joined #ruby
JasmeetQA has joined #ruby
havenwood has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby
obs__ has joined #ruby
obs_ has quit [Ping timeout: 244 seconds]
zcreative has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
kayamm has quit [Quit: part]
momomomomo has joined #ruby
jlast has joined #ruby
lukec has joined #ruby
ultraflash3 has joined #ruby
Mongey has joined #ruby
IceDragon has joined #ruby
mikepack has joined #ruby
mikepack has quit [Remote host closed the connection]
maximski has quit []
mikepack has joined #ruby
deens has joined #ruby
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Macaveli has quit [Ping timeout: 244 seconds]
fgo has joined #ruby
jetblack_ has joined #ruby
mwmnj has joined #ruby
LekeFly has joined #ruby
ultraflash3 has quit [Ping timeout: 246 seconds]
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
xerox357 has joined #ruby
axl_ has joined #ruby
kitak has quit [Remote host closed the connection]
davidcollom_ is now known as davidcollom
kitak has joined #ruby
xerox357 has quit [Read error: Connection reset by peer]
monkegjinni has quit [Remote host closed the connection]
obs__ has quit [Ping timeout: 264 seconds]
pigzzcanfly has joined #ruby
apeiros has quit [Remote host closed the connection]
davidcollom_ is now known as davidcollom
xerox357 has quit [Ping timeout: 244 seconds]
axl_ has quit [Ping timeout: 246 seconds]
lukec has quit [Quit: lukec]
JasmeetQA has quit [Quit: Leaving.]
mansi_ has joined #ruby
terrellt has quit [Read error: Connection reset by peer]
mansi_ has quit [Remote host closed the connection]
terrellt has joined #ruby
saarinen has quit [Quit: saarinen]
obs__ has joined #ruby
mansi_ has joined #ruby
fedesilva has joined #ruby
Xeago_ has joined #ruby
JasmeetQA has joined #ruby
RaCx has joined #ruby
skammer has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
burlyscudd has joined #ruby
hiyosi has quit [Ping timeout: 246 seconds]
Naoe-Kanno has joined #ruby
SHyx0rmZ has quit [Ping timeout: 244 seconds]
gnagno has quit [Quit: Ex-Chat]
Xeago has quit [Ping timeout: 245 seconds]
eichenwald has joined #ruby
MrJoshua has quit [Quit: MrJoshua]
robbyoconnor has quit [Ping timeout: 272 seconds]
chipotle_ has joined #ruby
einarj has quit [Remote host closed the connection]
vpretzel_ has joined #ruby
lolmaus has joined #ruby
deens has joined #ruby
Solnse has joined #ruby
chipotle has quit [Ping timeout: 272 seconds]
browndawg has joined #ruby
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
blaxter_ has quit [Ping timeout: 240 seconds]
gaussblurinc has quit [Quit: Leaving.]
yfeldblum has joined #ruby
vpretzel has quit [Ping timeout: 272 seconds]
mansi_ has quit [Remote host closed the connection]
LiohAu has joined #ruby
mansi_ has joined #ruby
xaq has quit [Remote host closed the connection]
deens has quit [Ping timeout: 264 seconds]
Ziarkaen has quit [Ping timeout: 264 seconds]
Es0teric has joined #ruby
<LiohAu>
can anybody explain me why the $stderr output is : "result : 0" but the line after the "if" is executed in the following code : http://pastebin.com/EpBQTENM ?
diegoviola has joined #ruby
havenwood has quit [Ping timeout: 244 seconds]
v0n has joined #ruby
RaCx_ has joined #ruby
RaCx has quit [Ping timeout: 244 seconds]
<abunchofdollarsi>
LiohAu, 0 is true in ruby.
RaCx_ is now known as RaCx
Es0teric has quit [Remote host closed the connection]
obs__ has quit [Write error: Broken pipe]
yfeldblum has quit [Ping timeout: 246 seconds]
<LiohAu>
abunchofdollarsi: ?
_tpavel has quit [Quit: Leaving]
havenwood has joined #ruby
mansi_ has quit [Ping timeout: 244 seconds]
<abunchofdollarsi>
if 0 then puts "hello" end
jack_rabbit has joined #ruby
<[ROOT]XxNeoLiTHi>
only nil and false are false values I think
jerius has quit [Ping timeout: 264 seconds]
<tobiasvl>
yes
<tobiasvl>
"falsey"
<tobiasvl>
any other values are truthy
gregf has quit [Quit: WeeChat 0.4.3]
jerius has joined #ruby
nathancahill has joined #ruby
tobago has quit [Remote host closed the connection]
<jhass>
LiohAu: hard to tell what query returns but you're probably searching for .empty? (String#empty?, Array#empty? or Hash#empty?)
<Mon_Ouie>
For example, if you have a method that takes a string as an argument and need to capitalize it, you shouldn't mutate it so you'd use `capitalize`
<jhass>
moneydouble: also note that most bang methods in core return nil when they don't change anything, so take care if you chain them with other methods (generally just don't chain them)
<depesz>
why does it show timezone as GMT in the first example?
<centrx>
"Guy Steele leads a small team of researchers in Burlington, Massachusetts, who are taking on an enormous challenge-- create a programming language better than Java."
<shevy>
that was one of the fastest upgrades I have ever seen
S0da has joined #ruby
<depesz>
i didn't upgrade. i checked on another host
<centrx>
depesz, So it works on 1.9, 2.0, and 2.1
Faris has quit [Ping timeout: 246 seconds]
lukec has joined #ruby
<depesz>
centrx: ok. have to upgrade. will talk with admins
ValicekB_ is now known as ValicekB
BackEndCoder has quit [Ping timeout: 246 seconds]
aaronmcadam has quit [Ping timeout: 246 seconds]
ilyam has joined #ruby
rm_ has quit [Remote host closed the connection]
philcrissman has quit [Ping timeout: 264 seconds]
rm_ has joined #ruby
nanoyak has joined #ruby
Celm has joined #ruby
Shidash has quit [Ping timeout: 264 seconds]
chrisseaton has quit []
plexus_ has joined #ruby
oso|away is now known as oso96_2000
noopq has joined #ruby
deens has joined #ruby
pranny has quit [Quit: Leaving.]
coderdad has quit [Remote host closed the connection]
RaCx has joined #ruby
tomshafer has joined #ruby
reset has joined #ruby
jmau5 has joined #ruby
rainmanjam has joined #ruby
olivier_bK has quit [Ping timeout: 272 seconds]
bleak has joined #ruby
msmith_ has joined #ruby
Es0teric has joined #ruby
no6 has quit [Remote host closed the connection]
Olipro has joined #ruby
rm_ has quit [Ping timeout: 244 seconds]
tomshafer has quit [Client Quit]
philcrissman has joined #ruby
deens has quit [Remote host closed the connection]
Faris has joined #ruby
hiyosi has joined #ruby
JasmeetQA has joined #ruby
mwmnj has joined #ruby
philcri__ has joined #ruby
wald0 has joined #ruby
philcris_ has quit [Ping timeout: 244 seconds]
mojjojo has quit [Quit: mojjojo]
retnuh has quit [Read error: Connection reset by peer]
reset has quit [Ping timeout: 264 seconds]
philcris_ has joined #ruby
tgkokk has joined #ruby
philcris_ is now known as philcrissman_
philcrissman has quit [Ping timeout: 244 seconds]
nichtdiebohne1 is now known as nichtdiebohne
jtdowney has joined #ruby
doodleha_ has joined #ruby
rayners has joined #ruby
hiyosi has quit [Ping timeout: 264 seconds]
philcrissman has joined #ruby
philcri__ has quit [Ping timeout: 264 seconds]
Olipro has quit [Excess Flood]
Olipro has joined #ruby
Olipro has quit [Changing host]
Olipro has joined #ruby
doodlehaus has quit [Ping timeout: 246 seconds]
philcrissman_ has quit [Ping timeout: 244 seconds]
tjr9898 has quit [Read error: Connection reset by peer]
tjr9898 has joined #ruby
budrose has quit [Remote host closed the connection]
rainmanjam has quit [Remote host closed the connection]
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
rootshift has joined #ruby
rainmanjam has joined #ruby
bricker_ is now known as bricker
deens has joined #ruby
rainmanjam has quit [Client Quit]
SloggerKhan has quit [Ping timeout: 240 seconds]
philcris_ has joined #ruby
rainmanjam has joined #ruby
BadQuanta has joined #ruby
felixjet_ has quit [Quit: Leaving]
echevemaster has quit [Read error: Connection reset by peer]
felixjet has joined #ruby
drager has joined #ruby
msmith_ has quit []
jbueza has joined #ruby
<drager>
Hello, I have some trouble getting an error; `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
lele has joined #ruby
klaut has joined #ruby
mansi_ has quit [Remote host closed the connection]
Sammael has joined #ruby
<jhass>
fix the server you're connecting to :P (or get an openssl with SNI support if that's the issue)
philcrissman has quit [Ping timeout: 244 seconds]
mansi has joined #ruby
mark_locklear has joined #ruby
<drager>
Well hm
philcrissman has joined #ruby
<drager>
my url is googles push server
mansi has quit [Read error: Connection reset by peer]
whomp has joined #ruby
mavcunha has joined #ruby
<whomp>
how can i do something like "0 < num < 10"?
<jhass>
drager: still betting on old OpenSSL without SNI support
jeregrine has quit [Ping timeout: 240 seconds]
coderdad has joined #ruby
<slowcon>
hey guys. im using phantomjs for headless browsing. im at the part of my script where Im trying to download a file. the documentation for the gem (http://watirwebdriver.com/browser-downloads/) says its very easy to bypass download dialogs by creating a profile for the browser. wondering how I can achieve this with a phantomjs. Correct me if im wrong, the way i see it is that the headless browser
<slowcon>
wont create any prompt because there is no user interaction. so i need to try to pull the link created by javascript and then access it directly?
<jhass>
drager: oh, actually it hands out a wildcard cert, for googleapis.com. Got confused because that IP redirected to google.com. So second bet is that whatever you use can't find / doesn't set your system CA bundle
nanoyak has quit [Quit: Computer has gone to sleep.]
mostlybadfly has joined #ruby
braincrash has quit [Quit: bye bye]
thams has quit [Quit: thams]
SloggerKhan has joined #ruby
<drager>
jhass: Hm
RaCx_ has joined #ruby
RaCx_ has quit [Remote host closed the connection]
ace_striker has quit [Quit: Leaving]
RaCx_ has joined #ruby
momomomomo has joined #ruby
jeregrine has joined #ruby
philcrissman has joined #ruby
thams has joined #ruby
jtdowney has quit []
maximski has joined #ruby
braincrash has joined #ruby
cloud|nix has quit [Ping timeout: 264 seconds]
RaCx has quit [Ping timeout: 272 seconds]
marr123 has quit [Ping timeout: 272 seconds]
RaCx_ is now known as RaCx
korzybski has joined #ruby
Vivekananda has joined #ruby
philcris_ has quit [Ping timeout: 244 seconds]
davidcollom is now known as davidcollom_afk
vlad_starkov has joined #ruby
msmith_ has quit []
gja has joined #ruby
timonv has joined #ruby
jmau5_ has joined #ruby
lkba has joined #ruby
kapowaz has quit [Ping timeout: 245 seconds]
maZtah has joined #ruby
momomomomo has quit [Quit: momomomomo]
retnuh has joined #ruby
vpretzel_ has joined #ruby
chrisseaton has joined #ruby
stryek has quit [Ping timeout: 246 seconds]
jmau5 has quit [Ping timeout: 240 seconds]
kapowaz has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
ultraflash3 has joined #ruby
alex88 has quit [Quit: Leaving...]
vpretzel has quit [Ping timeout: 264 seconds]
doodlehaus has joined #ruby
jeregrine has quit [Ping timeout: 246 seconds]
rdark has joined #ruby
razibog has quit [Quit: Leaving.]
rainmanjam has quit [Remote host closed the connection]
enriclluelles has joined #ruby
benlieb has joined #ruby
shadoi has quit [Quit: Leaving.]
enriclluelles has quit [Read error: Connection reset by peer]
brandonjmckay has quit [Remote host closed the connection]
enriclluelles has joined #ruby
carlyle has joined #ruby
rezzack has joined #ruby
lethjakm1 is now known as lethjakman
jeregrine has joined #ruby
aboudreault has quit [Ping timeout: 264 seconds]
Krajsnick has quit [Remote host closed the connection]
codeFiend has quit [Quit: codeFiend]
tylersmith has joined #ruby
tylersmith has quit [Client Quit]
ultraflash3 has quit [Ping timeout: 246 seconds]
doodleha_ has quit [Ping timeout: 246 seconds]
scarolan has quit [Ping timeout: 264 seconds]
subbyyy_ has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby
Krajsnick has joined #ruby
JasmeetQA has quit [Read error: Connection reset by peer]
<sigurding>
hi all, I am coming from Java and have some short questions: my first is, what are the pendants to packages? Modules?
<jhass>
apeiros: and spreading public_send is on my secret agenda for about 1 1/2 years :P
f3ttX] has joined #ruby
caveat- has joined #ruby
<apeiros>
sigurding: as said, add a toplevel namespace. but other than that, yes.
mikecmpbll has quit [Quit: i've nodded off.]
yarou has quit [Remote host closed the connection]
<apeiros>
lib/yourapp/…structure you had below lib, here instead…
hiyosi has joined #ruby
<slowcon>
im trying to view all the a tags on the website to verify if the headless browser is loading the javascript link to scrape. when i do web.links i get an #<Watir::AnchorCOllection:" how can i view them though?
<jhass>
don't install rvm as root, it's even more madness
<jokke>
i need system wide rvm
<slowcon>
yeah if you do a sudo install with rvm apparently it messes everything up
Wolland has joined #ruby
<jhass>
jokke: check #rvm
coderdad has joined #ruby
<jokke>
hm
xaq has joined #ruby
davidcollom_afk is now known as davidcollom
joelroa has quit [Ping timeout: 264 seconds]
fgo has quit [Ping timeout: 246 seconds]
mlpinit has joined #ruby
craigp has joined #ruby
marr has joined #ruby
sinm has joined #ruby
sinm has left #ruby [#ruby]
tjr9898 has joined #ruby
<jokke>
#rvm is kinda dead.
joelroa has joined #ruby
JZTech101 has joined #ruby
alekst has joined #ruby
dodosan has quit [Remote host closed the connection]
<wmoxam>
RVM is kinda dead
* wmoxam
runs
<jokke>
ok i'm just unpatient
enebo has quit [Quit: enebo]
<jokke>
wmoxam: rbenv?
<wmoxam>
jokke: it's what I use now
<wmoxam>
honestly there isn't a whole lot of difference from an end-user perspective
<jokke>
wmoxam: i guess not
<jokke>
but rvm is what we use at work
jmau5_ has quit [Remote host closed the connection]
dangerousdave has joined #ruby
maximski has joined #ruby
lw has quit [Quit: s]
vlad_starkov has quit [Remote host closed the connection]
tjr9898 has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
deens has quit [Remote host closed the connection]
mehlah has joined #ruby
bluOxigen has quit [Ping timeout: 272 seconds]
<alekst>
question about deploying to heroku. I've run into this problem after I installed the newest version of the heroku toolbelt. If I use the heorku command, I get this: https://gist.github.com/alekst/9216474 I'm running on OSX 10.9.1 with ruby 2.1.1p76 and Rails 4.0.3 with RVM. I reinstalled rvm, updated ruby from 2.0.0. Using postgresql 9.3. for development. Any ideas?
kcombs has quit [Remote host closed the connection]
tjr9898 has joined #ruby
blaxter_ has quit [Quit: foo]
xaq has quit [Remote host closed the connection]
Hobogrammer has quit [Ping timeout: 264 seconds]
jpierre03 has quit [Read error: Connection reset by peer]
sparrovv has joined #ruby
xbob has quit []
kevinykc_ has quit [Quit: Computer has gone to sleep.]
<jokke>
rvm fix-permissions did the trick
davidcollom is now known as davidcollom_
jpierre03 has joined #ruby
stryek has quit [Ping timeout: 264 seconds]
<havenwood>
rvm is alive and well, also rvm2 - though i do chruby!
enriclluelles has quit [Remote host closed the connection]
<pontiki>
chruby.. chruby.. shattered shattered
Hobogrammer has joined #ruby
<havenwood>
pontiki: JRuby 1.7.11 is out! ruby-install jruby 1.7.11
jonah_k has quit []
zeade has joined #ruby
tjr9898 has quit [Remote host closed the connection]
<slowcon>
apeiros: i got it! web.link(:id => 'dlbutton').href
<jhass>
goldgoldgold: you can just mount other Rack applications in Rails router. Check #rubyonrails for everything beyond that
<goldgoldgold>
jhass:got it. Thanks man.
<sigurding>
what do you think of using ActiveModel to use it with Json?
<goldgoldgold>
s2013: sinatra is very very very fast at handling API requests
rdark has quit [Quit: leaving]
<s2013>
yeah but i mean if you already have all the logic, just do it in rails. unless you only need access to db or external resources then sinatra is fine
<s2013>
i build apis with sinatra but thats for stuff that doesnt rely on any rails things
Kricir has quit [Remote host closed the connection]
<goldgoldgold>
s2013: its literally just a database access API
<goldgoldgold>
but speed is really important
<s2013>
if its just the db, you dont need to worry about logic
<s2013>
then sinatra is fine
<s2013>
but if you need to worry about authentication and bunch of other crap
ephemerian has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<goldgoldgold>
s2013: oh absolutely. I would never use Sinatra for auth
<s2013>
you can also look into RABL
<goldgoldgold>
thats exactly why I'm switching the website to Rails
mlpinit has quit [Remote host closed the connection]
prc has joined #ruby
<goldgoldgold>
Has rails got quite a steep learning curve? I'd like to hand the migration off to a trustworthy intern.
Krajsnick has quit [Remote host closed the connection]
<s2013>
eh. if you are familiar with sinatra and ruby its not too bad
nathancahill has quit [Quit: nathancahill]
<s2013>
are you familiar with mvc paradigm?
pushpak has joined #ruby
maximski has quit []
<goldgoldgold>
s2013: yep
<goldgoldgold>
quite so
npearson has quit [Remote host closed the connection]
<s2013>
then yeah you are fine
quatron has joined #ruby
<goldgoldgold>
excellent
<s2013>
you can probably pick up the basics in couple of days
sputnik1_ has joined #ruby
<shevy>
huh
cgore has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
npearson has joined #ruby
<s2013>
if you have rails questions you can join us at #rubyonrails goldgoldgold
<goldgoldgold>
I'm pretty impressed with the fact that rails has support for embedding rack apps.
Kricir has joined #ruby
<goldgoldgold>
s2013: I will after I've taken a look.
<jhass>
well, rails is a rack app itself, so it's not that hard
sambao21 has quit [Quit: Computer has gone to sleep.]
<goldgoldgold>
jhass: still. It's pretty cool.
mlpinit_ has joined #ruby
<shevy>
huh
<s2013>
shevy, huh
<shevy>
a rails app is something that responds to call
thumpba has quit [Remote host closed the connection]
rh1n0 has joined #ruby
rudisimo has quit [Remote host closed the connection]
<pipework>
sigurding: Probably with a JSON parser.
<shevy>
sigurding, tried JSON.parse() ?
rickruby has quit [Ping timeout: 246 seconds]
mehlah has joined #ruby
scarolan has joined #ruby
<sigurding>
shevy: yes, but afterwards it only offers me this style: parsed["content"]
RaCx has joined #ruby
RaCx has quit [Remote host closed the connection]
<shevy>
what do you mean with style
<shevy>
I mean what do you want it to be instead
<pipework>
sigurding: A hash is a valid object.
<pipework>
So is a string for that matter.
<sigurding>
shevy: Ok, let me explain. I am coming from a different language background (java)
gja has joined #ruby
<sigurding>
there you are able to say objectMapper(json, Entity.class);
<pipework>
sigurding: So, ruby can basically do that if you should want. But most people just convert the JSON to a hash and call klass_name.new(jsonified_hash)
gja has quit [Changing host]
gja has joined #ruby
<sigurding>
afterwards you have an object of type Entity with all it's getters and setters
lw has joined #ruby
<shevy>
so basically you want a hash -> struct converter
<shevy>
I see
<shevy>
but you have a hash already, yes?
RaCx has joined #ruby
serp` has joined #ruby
<jhass>
sigurding: don't search for patterns you know right now, just accept what ruby gives you
<sigurding>
shevy: yes
<sigurding>
jhass: I am not searching for it, I am just asking. :-)
<jhass>
sigurding: Look into what alternatives there once what you currently have is insufficient
<sigurding>
and there are samples with ActiveRecord out there, which seems to go towards this direction
<jhass>
*there are
peterhu has joined #ruby
maximski has quit [Ping timeout: 264 seconds]
peterhu has quit [Quit: leaving]
benlieb has quit [Quit: benlieb]
yacks has quit [Quit: Leaving]
<jhass>
ignore ActiveRecord for now if you want to learn Ruby, AR part of Rails
<shevy>
sigurding ok let's see
casheew_ has quit [Read error: Connection reset by peer]
casheew has joined #ruby
<sigurding>
shevy: great, waiting for your suggestions :)
soahccc has quit [Ping timeout: 252 seconds]
<sigurding>
jhass: I understand your advice, but I would like to do it right from the beginning, without continuous refactoring, after each new learning-step was reached
<apeiros>
sigurding: class Link can be written shorter as just: `class Link; attr_accessor :rel, :href; end`
krnflake has joined #ruby
<apeiros>
attr_accessor creates those methods for you
<toretore>
sigurding: stop thinking that everything has to be a class
claymore has joined #ruby
npearson has quit [Remote host closed the connection]
<toretore>
java solves every problem with a new class
_bart has joined #ruby
<pipework>
toretore: Ruby can too!
npearson has joined #ruby
<toretore>
sure
sirecote has joined #ruby
<toretore>
can
<apeiros>
toretore: while I agree that not everything has to be a class, I think that many rubyists tend to work too much with deeply nested array/hash structures instead of proper classes.
george2|chakra is now known as george2
<apeiros>
(and I don't come from java, I come from perl…)
<toretore>
apeiros: also true. there's a balance between those two
saarinen has quit [Quit: saarinen]
<apeiros>
agreed
<shevy>
you come from hyperscript man!
<toretore>
i come from hyperspace
<shevy>
toretore you spawned in hell
<pipework>
sigurding: If you define an initialize method that takes a hash and assigns the values to the writer method equivalents of the keys.
<toretore>
and i shall rain fire upon you
Advocation has quit [Quit: Advocation]
<toretore>
sigurding: you have to experiment for a while, to get to know ruby better, to be able to make decisions like the ones you're asking about
<sigurding>
pipework: I am bit confused. Could you provide a sample?
<toretore>
nobody can teach you experience
<sigurding>
toretore: I know, but I would like to hear pros/cons before
<sigurding>
and I agree with apeiros regarding the nesting of hashes instead of usage of classes
<toretore>
because you're asking how to do things you're used to in java
bricker has joined #ruby
<pipework>
toretore: Well, datamapper isn't just a java thing.
<toretore>
what does datamapper have to do with it?
<toretore>
you mean the pattern?
<pipework>
His mapping of data to a class
<pipework>
Perhaps for eventual persistence or syncing.
lukec has quit [Quit: lukec]
vpretzel has quit [Ping timeout: 246 seconds]
<toretore>
focusing on patterns is not very useful
funburn has joined #ruby
<pipework>
toretore: I disagree.
<sigurding>
toretore: focusing on useful patterns is useful
<sigurding>
otherwise they would not be patterns
<pipework>
sigurding: What I would do is start out with concrete classes and instantiating them, but eventually refactor to use Structs based on the keys available in the document, possibly setting the struct as a constant.
yfeldblum has quit [Remote host closed the connection]
<shevy>
it's good that the patterns hat the word useful next to them
<shevy>
*had
<pipework>
sigurding: Some people are more against pattern language than others.
saarinen has joined #ruby
<toretore>
you don't apply a pattern to solve a problem, the pattern emerges out of the solution if it is the right one
<pipework>
The pattern doesn't always emerge. The purpose of the pattern is to remove all but the focal unit of work or the domain of hte problem.
<sigurding>
toretore: yes, and mapping data from json to an object makes imho totally sense
<pipework>
Whether you let it emerge or you select tools is up to you.
jetblack_ has quit [Ping timeout: 264 seconds]
<apeiros>
the __ would be a /, but gist doesn't allow / in filenames
<toretore>
sigurding: it *depends*
<toretore>
context is everything
<pipework>
IT always does
<sigurding>
apeiros: already thought you are from the same country :)
fedesilv_ has quit [Remote host closed the connection]
<apeiros>
sigurding: I'm not greek, if you mean that :)
<apeiros>
though, you seem to be from germany?
<sigurding>
yes, that's what I meant
<sigurding>
in some way also greek
<pipework>
Saying that the only proper use of patterns is by dogmatically waiting for them to emerge is nice and pragmatic, but not the only way.
<pipework>
As you said, it depends.
<sigurding>
or at least funding the greeks :D
<apeiros>
sigurding: lol
top4o has quit [Read error: Connection reset by peer]
jonr22 has joined #ruby
reset has quit [Quit: Leaving...]
<sigurding>
apeiros: is there a german channel?
Kricir has joined #ruby
<pipework>
For special germans?
fedesilva has joined #ruby
<apeiros>
sigurding: I think so
<sigurding>
pipework: waht are special germans?
<apeiros>
#ruby-de or #ruby.de
<sigurding>
:)
<apeiros>
sadly there seems to be no convention :-(
aspires has joined #ruby
<sigurding>
apeiros: not hanging around there?
yfeldblu_ has joined #ruby
<pipework>
sigurding: Imo, the key to coming to ruby from java is to leverage your OO knowledge while making great use of what's available in ruby before reaching for other things.
<apeiros>
sigurding: no
saarinen has quit [Client Quit]
npearson has quit [Remote host closed the connection]
npearson has joined #ruby
<sigurding>
pipework: I accept that. But I must admit I used .NET, PHP a lot besides Java
vlad_sta_ has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
<sigurding>
and what I liked a lot in all, were object mapper
saarinen has joined #ruby
jmau5 has quit [Remote host closed the connection]
lukec has joined #ruby
<apeiros>
sigurding: you do use ruby 2.1, or at least 2.0, right?
<sigurding>
apeiros: right
peterhu has quit [Quit: leaving]
<apeiros>
good, otherwise my example wouldn't work
<centrx>
PHP is an abomination and a scourge on the face of the earth.
peterhu has joined #ruby
deens has joined #ruby
jonah_k has quit [Remote host closed the connection]
pigzzcanfly has quit [Remote host closed the connection]
RaCx has joined #ruby
<apeiros>
why are we talking about that language again?
<pipework>
apeiros: centrx just replies with that line everytime someone mentions PHP.
enebo has joined #ruby
<centrx>
heh
<sigurding>
;)
jmau5 has joined #ruby
vpretzel has joined #ruby
<apeiros>
can't say he was wrong :)
<jhass>
I think it's hardcoded into his client
<pipework>
It's entertaining!
<shevy>
PHP
<pipework>
jhass: With varying delay length!
bigawuc has joined #ruby
serp` has quit [Quit: serp`]
<shevy>
I think he is forced to type it anew
<shevy>
centrx what do you think about PHP
<jhass>
maybe it's capped for once in every hour
sambao21 has joined #ruby
<shevy>
:(
<shevy>
someone broke centrx
asteros has quit [Quit: asteros]
vlad_starkov has quit [Ping timeout: 272 seconds]
<sigurding>
apeiros: may I also instantiate a list of classes from a Json hash?
endash has quit [Quit: endash]
ffranz has quit [Ping timeout: 264 seconds]
<sigurding>
not classes, I mean entities
<apeiros>
you may do whatever you please. I allow you :-p
<apeiros>
+to (?)
acl_ has joined #ruby
<toretore>
first you must fill out form RB-1245-B
_1_khan2 has joined #ruby
deens has quit [Ping timeout: 246 seconds]
<_1_khan2>
rgfhsdb
<sigurding>
toretore: Asterix and Obelix in Rom?
<sigurding>
:)
<sigurding>
apeiros: and how?
philcris_ has joined #ruby
<centrx>
sigurding, Use JSON.parse to parse the JSON into Ruby objects?
<_1_khan2>
fine
philcris_ is now known as philcrissman_
Giorgio has quit [Ping timeout: 272 seconds]
bigawuc has left #ruby ["Leaving"]
mikepack has joined #ruby
timonv has quit [Remote host closed the connection]
jonah_k has joined #ruby
hamakn has joined #ruby
philcris_ has joined #ruby
mengu has joined #ruby
lewix has quit [Remote host closed the connection]
<pipework>
sigurding: Of course you can.
mary5030 has joined #ruby
philcrissman has quit [Ping timeout: 272 seconds]
<pipework>
sigurding: It's a programming language, I'm sure you can figure out both how to turn json into other objects as well as how to parse the json to create more than one object.
philcrissman has joined #ruby
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
ctp has quit [Quit: Leaving...]
havenwood has quit [Read error: Connection reset by peer]
philcrissman_ has quit [Ping timeout: 244 seconds]
havenwood has joined #ruby
<shevy>
sigurding you are talking too much and doing too little!
eichenwald has quit [Quit: Leaving]
lewix has joined #ruby
philcri__ has joined #ruby
<sigurding>
holy crap guys, you sound like my mum in former times.. :-)
<shevy>
here is how to work this channel:
<shevy>
(1) state your input (3) state desired output
oso96_2000 is now known as oso|away
<shevy>
and someone here will give you (2)
hamakn has quit [Ping timeout: 272 seconds]
vpretzel has quit [Quit: Adios!]
<shevy>
and eventually you won't need anyone else to get to (2)
<apeiros>
sigurding: shows how right your mom was
philcris_ has quit [Ping timeout: 244 seconds]
<sigurding>
;)
<shevy>
unless you have a question about PATTERNS
<shevy>
and how to FactoryGirl.factory_work(Factory.make(:factory)) factory work pattern
<pipework>
sigurding: Talk more and do more!
<slash_nick>
love patterns... my favorite is boy-girl-boy-girl
<shevy>
lol
hidensoft has quit [Ping timeout: 272 seconds]
<shevy>
slash_nick what about the boy-boy-boy pattern
<shevy>
WAIT
sambao21 has quit [Quit: Computer has gone to sleep.]
<shevy>
I got it
<slash_nick>
while it's simple, i don't really see what people see in it
<shevy>
slash_nick what about the boy-hipster-boy pattern
<centrx>
Damn hipsters.
<shevy>
well I don't know what is with pattern anyway but java guys love patterns
ultraflash3 has joined #ruby
_1_khan2 has left #ruby [#ruby]
<shevy>
there are so many lines to stare at that a pattern may indeed help
<shevy>
+ eclipse
ringaroses has quit [Quit: Leaving]
asteros has joined #ruby
philcrissman has quit [Ping timeout: 244 seconds]
byprdct has joined #ruby
xerox357_ has joined #ruby
<shevy>
guys :(
<shevy>
today marks a truly sad day ...
<shevy>
at work I suddenly noticed that in one project I am making use of define_method
<shevy>
and some {i = '' thing there
<shevy>
and it works in 1.9.x
<shevy>
but it does not work in 1.8.x
<shevy>
so ... I have to do: s.required_ruby_version = '>= 1.9.1'
<shevy>
1.8.x is indeed dead :(
ffranz has joined #ruby
<RubyPanther>
"Ruby 2 is coming, and 1.8 is going away" Yugui, 2011?
Kricir has quit [Remote host closed the connection]
<apeiros>
shevy: make that at least >= 1.9.2, if not >= 1.9.3
<apeiros>
1.9.1 was somewhat broken
relix has joined #ruby
sambao21 has joined #ruby
<RubyPanther>
1.9.1 had pluses and minuses
Giorgio has joined #ruby
<RubyPanther>
wasn't 1.9.2 the one that didn't work with debuggers?
mlpinit has quit [Read error: Connection reset by peer]
chrisja has quit [Quit: Lost terminal]
OdNairy has quit []
<toretore>
i'm guessing it uses cwd and cwd is something else when it gets run
<jhass>
it's not because it's relative to your working directory
mlpinit has joined #ruby
<jokke>
ah
<jhass>
I prefer to write require's out
<toretore>
yes, write them out
<toretore>
it's much clearer
<jokke>
hm ok
meatherly has quit [Remote host closed the connection]
gja has quit [Quit: This computer has gone to sleep]
andy has joined #ruby
mansi has joined #ruby
meatherly has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Notte has quit [Remote host closed the connection]
habanany has left #ruby [#ruby]
<toretore>
remember that require only requires what's in your $PATH
<jokke>
mh
<toretore>
so if your lib dir is in path, require 'snappymate/something.rb' would work
<phat4life>
is there a way to view firewrites as they happen
<jokke>
jkok
<jokke>
ok
mavcunha has quit [Ping timeout: 246 seconds]
<jhass>
no need for .rb at the end though
<toretore>
yeah
<shevy>
RubyPanther because of psych
<jokke>
the required files have dependencies between eachother
<jokke>
that probably is a problem
nata79 has joined #ruby
<bricker>
phat4life: tail -f
<toretore>
it's not unless it's a circular dependency
<jokke>
no its not
<bricker>
unless you really mean "firewrites", in which case: wat
<toretore>
each file should require the ones it depends on
hiyosi has joined #ruby
<jokke>
but i would have to require the dependencies in the files
CpuID has joined #ruby
scttnlsn has joined #ruby
<jokke>
yeah
<jhass>
jokke: in that case I prefer to require the dependencies in the files using them then
cpruitt has joined #ruby
habanany1 has left #ruby [#ruby]
<shevy>
jokke the only real way about dependencies between each other - try to require only what is needed in a given file
burlyscudd has joined #ruby
<toretore>
this is only good practise
<jhass>
jokke: and don't care about duplicates
burlyscudd has quit [Client Quit]
<jokke>
yeah
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
mroth__ is now known as mroth
mroth has quit [Changing host]
mroth has joined #ruby
mroth has quit [Changing host]
mroth has joined #ruby
phantomtiger has joined #ruby
<toretore>
this way, if someone only wants to load part of your lib, it will still work
<jokke>
yeah
SCommette has joined #ruby
jackneill has quit [Ping timeout: 272 seconds]
retnuh has quit [Read error: Connection reset by peer]
<jokke>
in the files it's still 'snappymate/somthing.rb'?
<jokke>
or just something.rb?
meatherly has quit [Ping timeout: 244 seconds]
aspires has joined #ruby
<jhass>
require 'snappymate/something'
<phat4life>
is there a way to see file writes as they happen
<shevy>
jokke yes, always start the leading require with the name of your gem
<jokke>
uh yeah. meant without the rb
<shevy>
jokke yeah keep the .rb
<jhass>
jokke: they have to be relative to what's in $LOAD_PATH and for gems that's the lib dir
zachallett has quit [Remote host closed the connection]
<jokke>
shevy: why?
<jhass>
jokke: as always just ignore shevy
<shevy>
jokke: why not?
<jokke>
aaargh! :D
<jhass>
he's just bored
<shevy>
not at all
<shevy>
jokke: ignore jhass
<toretore>
jokke: require 'snappymate/something' is the correct way
sambao21 has quit [Quit: Computer has gone to sleep.]
<jokke>
i know
pigzzcanfly has joined #ruby
<jokke>
i mean
<jokke>
i know now :D
popl has joined #ruby
popl has joined #ruby
<shevy>
there is no correct way
hiyosi has quit [Ping timeout: 244 seconds]
agjacome has quit [Ping timeout: 265 seconds]
lujasagi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy>
both will work just fine
Faris has quit [Ping timeout: 272 seconds]
shiftins has joined #ruby
OdNairy has joined #ruby
ctp has joined #ruby
rh1n0 has quit [Quit: im out!]
binaryhat has joined #ruby
<shevy>
jokke did you write the .gemspec yet?
meatherly has joined #ruby
<jokke>
i did
<jokke>
or bundler dir
<jokke>
*did
vpretzel has quit [Read error: Connection reset by peer]
<shevy>
hmmm
<shevy>
ah
<shevy>
that's what jhass will like
havenwood has quit []
vpretzel has joined #ruby
<jhass>
for some reason I dislike the s.version = Gemname::VERSION pattern
<jhass>
and bundler does it, so no
nobitanobi has joined #ruby
daveops has quit [Ping timeout: 264 seconds]
<shiftins>
is it supported/known functionality that super; forwards along overridden parameters? so if a method signature includes an arg, and the first line of the method overrides that arg, calling super; passes the arg with the overridden value
<shiftins>
sorry, that should have ended in a question mark.. ? :D
Solnse has joined #ruby
OdNairy has quit [Client Quit]
Rixius has quit [Quit: Leaving]
<toretore>
yes
<shevy>
I couldn't even make it to the end
oso|away is now known as oso96_2000
marcdel has joined #ruby
<jhass>
well, that means you mutate the object, doesn't it?
<terrellt>
shiftins: super == super(*args)
<shevy>
but I am glad that toretore understood what was going on
Robbo_ has joined #ruby
<toretore>
`super` - passes all args, `super()` - no args
<toretore>
i didn't know that.. like javascript with `arguments`
ganesh has joined #ruby
Spami has joined #ruby
CpuID has quit [Quit: This computer has gone to sleep]
havenwood has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
rubyracer has quit [Ping timeout: 246 seconds]
burlyscudd has joined #ruby
ganesh is now known as Guest84197
burlyscudd1 has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
lw has quit [Quit: s]
auxbuss_ has quit [Quit: I'm gone.]
auxbuss_ has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
marcdel has joined #ruby
<bricker>
coffeescript does that too, automatically passes arguments to super
* bricker
contributed to this conversation.
* centrx
shines bricker's boots
sdouglass has joined #ruby
Astralum has quit [Ping timeout: 246 seconds]
Asher2 has quit [Quit: Leaving.]
<terrellt>
He's gonna demand money bricker, run
* bricker
throws san in centrx's face
<bricker>
sand*
* bricker
jumps out the nearest window
jlast has quit [Remote host closed the connection]
* bricker
lands on top of moving truck and laughs as he disappears into the morning fog
jlast has joined #ruby
popl has quit [Ping timeout: 272 seconds]
jlast has quit [Read error: Connection reset by peer]
ItSANgo has joined #ruby
sailias has quit [Quit: Leaving.]
jlast has joined #ruby
* centrx
is now driving the truck
razibog has quit [Ping timeout: 246 seconds]
IceyEC has quit [Quit: IceyEC]
auxbuss_ has left #ruby ["I'm gone."]
auxbuss_ has joined #ruby
andrewhl has joined #ruby
Black-Heaven has joined #ruby
Kricir has joined #ruby
pwh has joined #ruby
burlyscudd has quit [Quit: Leaving.]
sdouglass has quit [Quit: Leaving...]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
Es0teric has quit [Remote host closed the connection]
sdouglass has joined #ruby
mengu has quit []
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
lolmaus has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
jetblack has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
griffindy has quit [Quit: Computer has gone to sleep.]
CpuID has joined #ruby
CpuID has quit [Changing host]
CpuID has joined #ruby
fgo has quit []
cburyta has quit [Remote host closed the connection]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
Es0teric has joined #ruby
auxbuss_ has quit [Quit: I'm gone.]
drago777 has quit [Ping timeout: 264 seconds]
cburyta_ has joined #ruby
mmoretti has joined #ruby
burlyscudd has joined #ruby
auxbuss_ has joined #ruby
burlyscudd has quit [Client Quit]
marcdel has quit []
burlyscudd has joined #ruby
dingus_khan has joined #ruby
burlyscudd has quit [Client Quit]
BadQuanta has quit [Quit: Leaving.]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
retnuh has joined #ruby
kpshek has quit []
nanoyak has quit [Quit: Computer has gone to sleep.]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
CpuID has quit [Ping timeout: 244 seconds]
Voodoofish430 has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
pranny has joined #ruby
rickruby has joined #ruby
Voodoofish430 has joined #ruby
cburyta_ has quit [Ping timeout: 246 seconds]
CorpusCa_ has quit [Quit: Computer has gone to sleep.]
burlyscudd has joined #ruby
phansch has quit [Quit: WeeChat 0.4.2]
yarou has quit []
burlyscudd has quit [Client Quit]
nanoyak has joined #ruby
<Black-Heaven>
Hi all, I'm trying to set up code test environment in Ruby, but I have failed :/ I have this code: http://bpaste.net/show/182740/ (runner.rb) and this code: http://bpaste.net/show/182739/ (tmp.rb), when I launch runner.rb, it works, but it doesn't kill tmp.rb which have forked, I don't know what to do to kill it and all its children. If you have any idea, please tell me, I'll be grateful. Thanks by advance.
Naoe-Kanno has quit [Ping timeout: 272 seconds]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
retnuh has quit [Read error: Connection reset by peer]
dkamioka has quit [Remote host closed the connection]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
ffranz has quit [Ping timeout: 272 seconds]
radic has quit [Ping timeout: 272 seconds]
aryaching_ has joined #ruby
drago777 has joined #ruby
mavcunha has joined #ruby
burlyscudd2 has joined #ruby
ffranz has joined #ruby
burlyscudd1 has quit [Quit: Leaving.]
burlyscudd2 has quit [Client Quit]
Kricir has quit [Ping timeout: 244 seconds]
klaut has quit [Write error: Broken pipe]
burlyscudd has quit [Client Quit]
burlyscudd1 has joined #ruby
deens has quit []
burlyscudd1 has quit [Client Quit]
radic has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
auxbuss_ has quit [Quit: I'm gone.]
phat4life has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
phat4life has joined #ruby
burlyscudd has quit [Client Quit]
auxbuss has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
aryaching has quit [Ping timeout: 264 seconds]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
jph98 has quit [Quit: jph98]
_5kg_ has quit [Ping timeout: 264 seconds]
phat4life has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
phat4life has joined #ruby
yarou has joined #ruby
coderdad has quit [Remote host closed the connection]
pwh has quit []
doritostains has joined #ruby
sigurding has quit [Quit: sigurding]
mark_locklear has quit [Quit: Leaving]
scarolan has quit [Ping timeout: 244 seconds]
<hackeron>
hey, is there a recommendation for a library for spinning up and managing around 100 processes? -- I tried god and bluepill but god just freezes with that many processes and bluepill, if you kill a bunch of processes, a new process gets the same PID as an already dead process and it thinks a process that died is still running :/
gja has quit [Quit: This computer has gone to sleep]
lewix has quit [Remote host closed the connection]
hoypriest has quit [Quit: Connection closed for inactivity]
nateberkopec has quit [Read error: Connection reset by peer]
lw has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
auxbuss_ has joined #ruby
codezomb has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
dingus_khan has quit [Read error: Connection reset by peer]
kirun has quit [Quit: Client exiting]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
dingus_khan has joined #ruby
danshultz has quit [Remote host closed the connection]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
auxbuss_ has quit [Client Quit]
auxbuss has joined #ruby
burlyscudd has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
interactionjaxsn has quit [Remote host closed the connection]
hiyosi has joined #ruby
bricker_ has joined #ruby
burlyscudd has joined #ruby
gja has joined #ruby
Notte has quit [Remote host closed the connection]
cburyta has joined #ruby
bricker has quit [Read error: Connection reset by peer]
BadQuanta has joined #ruby
cburyta_ has joined #ruby
v0n has quit [Ping timeout: 244 seconds]
meatherly has quit [Remote host closed the connection]
shaileshg has quit [Quit: Connection closed for inactivity]
jlast has quit [Remote host closed the connection]
npearson has quit [Ping timeout: 246 seconds]
auxbuss has quit [Quit: I'm gone.]
<shevy>
anyone knows of a simple project that does like
<shevy>
red <-> lightred
<shevy>
blue <-> lightblue
cburyta has quit [Ping timeout: 246 seconds]
hiyosi has quit [Ping timeout: 264 seconds]
<shevy>
i.e. makes a colour lighter or darker
<jhass>
general ruby or are you using that in a specific context, like css?
auxbuss_ has joined #ruby
mary5030 has quit [Remote host closed the connection]
auxbuss_ has quit [Client Quit]
auxbuss has joined #ruby
auxbuss has quit [Client Quit]
auxbuss has joined #ruby
Notte has joined #ruby
<shevy>
hmm
<shevy>
both!
RaCx has joined #ruby
<shevy>
I generate the html and css from ruby
<shevy>
I have some links which have a static colour
<jhass>
for the css part things like scss and less include tools for that iirc. and there's compass which includes tons and tons of utilities for such stuff
<shevy>
and I thought it would be cool to hover effect on them
burlyscudd has quit [Quit: Leaving.]
bahar has quit [Ping timeout: 240 seconds]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
yasushi has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
bricker_ is now known as bricker
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
zachallett has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
lw has quit [Quit: s]
auxbuss has quit [Quit: I'm gone.]
brad_ has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
auxbuss has joined #ruby
brad_ is now known as Guest96888
jfelchner_ has quit [Ping timeout: 240 seconds]
auxbuss has quit [Client Quit]
burlyscudd has joined #ruby
Guest84197 has quit [Quit: Konversation terminated!]
burlyscudd has quit [Client Quit]
auxbuss has joined #ruby
burlyscudd has joined #ruby
jlast has joined #ruby
burlyscudd has quit [Client Quit]
auxbuss has quit [Client Quit]
yasushi has quit [Ping timeout: 244 seconds]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
auxbuss has joined #ruby
burlyscudd has joined #ruby
jfelchner_ has joined #ruby
burlyscudd has quit [Client Quit]
zachallett has quit [Ping timeout: 246 seconds]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
Steve445 has quit [Quit: Steve445]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
nisstyre_ has quit [Quit: WeeChat 0.4.3]
Guest96888 has quit [Client Quit]
burlyscudd has joined #ruby
bahar has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
barratt has quit [Quit: Leaving...]
funburn has joined #ruby
jonah_k has quit [Remote host closed the connection]
Shidash has joined #ruby
jack_rabbit has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
bogon is now known as manacit
enebo has quit [Ping timeout: 244 seconds]
IceyEC has joined #ruby
<razrunelord>
is there a performance difference when iterating a hashmap vs iterating an array
mlpinit has quit [Remote host closed the connection]
jmau5 has quit [Remote host closed the connection]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
nateberkopec has joined #ruby
yarou has quit [Remote host closed the connection]
lewix has joined #ruby
alexherbo2 has joined #ruby
kayamm has quit [Quit: part]
<Waheedi>
guys I'm still struggling with this EM reactor
<Waheedi>
how can i just run it by defualt
Notte has quit []
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
dblessing has quit [Quit: dblessing]
burlyscudd has joined #ruby
burlyscudd has quit [Remote host closed the connection]
cgore has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
burlyscudd has joined #ruby
ctp has quit [Quit: Leaving...]
brucele_ has joined #ruby
marcdel has quit []
burlyscudd has quit [Client Quit]
xerox357_ has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
tjr9898 has quit [Remote host closed the connection]
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
jmau5 has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
Aryasam has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
aryaching has quit [Quit: Sayonara ^_^]
cj3kim_ has joined #ruby
burlyscudd has joined #ruby
sambao21 has joined #ruby
burlyscudd has quit [Client Quit]
kitak has quit [Remote host closed the connection]
dayepa has joined #ruby
xerox357 has quit [Ping timeout: 244 seconds]
burlyscudd has joined #ruby
qubit has joined #ruby
Wolland has quit [Remote host closed the connection]
burlyscudd has quit [Client Quit]
jmau5 has quit [Remote host closed the connection]
rismoney has quit []
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
rayners has quit [Remote host closed the connection]
xerox357_ has quit [Ping timeout: 264 seconds]
burlyscudd has joined #ruby
fedesilva has quit [Remote host closed the connection]
burlyscudd has quit [Client Quit]
burlyscudd has joined #ruby
<qubit>
in rspec, how can I access the random number generator it uses? Specifically I need to do Array#sample in my test, and if it fails, I want to be able to reproduce it exactly, so I need to make it consistently random
<qubit>
phat4life: because I don't want the test to be the same every single time it's run
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
<qubit>
i want it to be the same every time rspec is run with the same seed
lolmaus has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
lolmaus has joined #ruby
doritostains has quit [Quit: Leaving...]
rudisimo has quit [Remote host closed the connection]
burlyscudd has joined #ruby
stryek has quit [Ping timeout: 244 seconds]
nfk has quit [Ping timeout: 272 seconds]
burlyscudd has quit [Client Quit]
<phat4life>
i have no idea how do to that, wouldn't be able to say unless you posted some code
rudisimo has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
rudisimo has quit [Remote host closed the connection]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
xerox357 has joined #ruby
rudisimo has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
aryaching has joined #ruby
CpuID has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
jfelchner_ has quit [Ping timeout: 240 seconds]
Atw has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
Aryasam has quit [Quit: Bye]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
echevemaster has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
rickruby has quit [Remote host closed the connection]
burlyscudd has joined #ruby
carlyle has quit [Remote host closed the connection]
burlyscudd has quit [Client Quit]
rickruby has joined #ruby
burlyscudd has joined #ruby
Slavox|AFK is now known as Slavox
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
Megtastique has quit []
<qubit>
http://dpaste.com/1659578/ When run as `rspec --seed 0 test.rb`, I expect the result to always be the same, but it's not. it has a 1 in 4 chance of failing
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
rudisimo has quit [Ping timeout: 244 seconds]
hiyosi has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
griffindy has quit [Ping timeout: 246 seconds]
jfelchner_ has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
jerius_ has quit []
shinobi_one has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
sdouglass has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
<shinobi_one>
what is modruby.net?
nowthatsamatt has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
rickruby has quit [Remote host closed the connection]
rickruby has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
<centrx>
shinobi_one, It used to be something, now it is a spam site
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
jmau5 has joined #ruby
<shinobi_one>
centrx: glad it's still in the title
mlpinit has joined #ruby
marcdel has joined #ruby
<centrx>
shinobi_one, Title of what?
yarou has joined #ruby
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
xerox357 has quit [Remote host closed the connection]