frank_____ has quit [Quit: Connection closed for inactivity]
sepp2k has quit [Ping timeout: 244 seconds]
phutchins has quit [Ping timeout: 264 seconds]
lmickh has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
gverri has joined #ruby
yfeldblum has joined #ruby
<Georg3>
This is kind of an odd question but I'm going through these ruby tutorials and I can solve problems but they are usually very convoluted. I look at the solution a professional comes up with and it's far more simplified and clean. It's a hard question to answer but do you guys ever get this and if so is there anything that helps you advance yourself?
dukedave has quit [Ping timeout: 244 seconds]
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby
Guest7481 has joined #ruby
enebo has quit [Quit: enebo]
testcore has quit [Quit: BitchX: the IRC client with hair on its balls]
stytown has joined #ruby
<AntelopeSalad>
Georg3: i have this problem too at times, i guess the best bet is to become very familiar with the methods that ruby offers you
djbkd has joined #ruby
snath has joined #ruby
bmurt has quit []
mknight has joined #ruby
<Georg3>
AntelopeSalad: hmm alright, appreciate the advice. It's just frustrating =P , I think I need to take like 5 extra minutes and see if I can further break down the problem.
<AntelopeSalad>
yeah i know the feeling, just 30min ago i was ready to write like 100 lines of horrible but working code , but ruby had a built in that let me do it in 2 lines
dshaw has joined #ruby
fgo has joined #ruby
dshaw has left #ruby [#ruby]
Valesk_ has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
codeurge has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rlazoti has joined #ruby
kerem_kerem has left #ruby [#ruby]
nectarys has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
meth has joined #ruby
b00stfr3ak has quit [Ping timeout: 240 seconds]
fgo has quit [Ping timeout: 245 seconds]
blackmes2 has quit [Ping timeout: 240 seconds]
davispuh has quit [Remote host closed the connection]
nectarys_ has joined #ruby
d34th4ck3r has joined #ruby
codeurge has joined #ruby
<Georg3>
well it's good to hear I'm not the only one =)
nectarys_ has quit [Read error: Connection reset by peer]
rebelshrug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
binaryhat has joined #ruby
nectarys_ has joined #ruby
beneggett has joined #ruby
nectarys has quit [Ping timeout: 264 seconds]
gverri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
codeurge has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
edgarjs is now known as edgarjs_afk
j_mcnally has quit [Ping timeout: 244 seconds]
axl_ has joined #ruby
nectarys_ has quit [Ping timeout: 240 seconds]
pu22l3r has quit [Remote host closed the connection]
ddv has quit [Ping timeout: 245 seconds]
scarolan has quit [Quit: leaving]
axl_ has quit [Client Quit]
Hanmac1 has joined #ruby
oo_ has joined #ruby
pu22l3r has joined #ruby
ddv has joined #ruby
mercwithamouth has quit [Ping timeout: 244 seconds]
lagbox has joined #ruby
CaptainJet has joined #ruby
Hobogrammer has quit [Ping timeout: 245 seconds]
Hanmac has quit [Ping timeout: 240 seconds]
gverri has joined #ruby
Georg3 has quit [Quit: Georg3]
kireevco has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
zz_karupa is now known as karupa
bartdorsey has quit [Remote host closed the connection]
dwayhs_ has joined #ruby
MZAWeb has joined #ruby
bartdorsey has joined #ruby
ghr has joined #ruby
bradhe has quit [Remote host closed the connection]
mehlah has quit [Quit: Leaving...]
prathame_ has joined #ruby
pu22l3r has quit [Remote host closed the connection]
datafirm has quit [Quit: Computer has gone to sleep.]
datafirm has joined #ruby
oo_ has quit [Remote host closed the connection]
tyfighter has quit [Quit: <3]
dwayhs_ has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
benzrf is now known as benzrf|offline
ghr has quit [Ping timeout: 244 seconds]
sdouglas has joined #ruby
VeinMelted has joined #ruby
little_f_ has quit [Remote host closed the connection]
timonv has joined #ruby
MZAWeb has quit [Ping timeout: 240 seconds]
GriffinHeart has joined #ruby
sdouglas has quit [Read error: Connection reset by peer]
datafirm has quit [Ping timeout: 240 seconds]
sdouglas has joined #ruby
meth has quit [Quit: Page closed]
ponga has joined #ruby
Guest7481 has quit [Quit: Guest7481]
Hanmac1 has quit [Ping timeout: 264 seconds]
mercwithamouth has joined #ruby
VeinMelted has quit [Ping timeout: 255 seconds]
lewix has quit [Remote host closed the connection]
sdouglas has quit [Remote host closed the connection]
lewix has joined #ruby
timonv has quit [Ping timeout: 245 seconds]
mikepack has joined #ruby
GriffinHeart has quit [Ping timeout: 264 seconds]
saarinen has joined #ruby
prathame_ has quit [Remote host closed the connection]
Shidash1 has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vt102 has quit [Remote host closed the connection]
prathame_ has joined #ruby
Shidash has quit [Ping timeout: 255 seconds]
foooobear has joined #ruby
acl_ has joined #ruby
Guest7481 has joined #ruby
sevenseacat has joined #ruby
arrubin has joined #ruby
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
acl_ has quit [Client Quit]
bmurt has quit []
pasties has quit [Ping timeout: 252 seconds]
axl_ has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
lewix has quit [Ping timeout: 244 seconds]
oo_ has joined #ruby
Hobogrammer has joined #ruby
djbkd has quit [Remote host closed the connection]
sepp2k1 has quit [Read error: Connection reset by peer]
prathame_ has quit [Ping timeout: 245 seconds]
dwayhs_ has joined #ruby
rayners has quit [Ping timeout: 244 seconds]
pasties has joined #ruby
foooobear has quit [Ping timeout: 255 seconds]
Hanmac has joined #ruby
gregf has quit [Read error: Connection reset by peer]
Guest7481 has quit [Quit: Guest7481]
bmurt has joined #ruby
moritzschaefer has joined #ruby
yubrew has joined #ruby
yetanotherdave has quit [Read error: Connection reset by peer]
marr has quit []
binaryhat has quit [Quit: Leaving]
dwayhs_ has quit [Ping timeout: 240 seconds]
geggam has joined #ruby
moritzs has quit [Ping timeout: 244 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
benzrf|offline is now known as benzrf
wowXD has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
kireevco has quit [Quit: Leaving.]
datafirm has joined #ruby
JasonG_ has quit [Ping timeout: 244 seconds]
little_fu has joined #ruby
PanPan has joined #ruby
datafirm_ has joined #ruby
timgauthier has joined #ruby
bmurt has quit []
djbkd has joined #ruby
wowXD has quit [Ping timeout: 244 seconds]
chipotle has joined #ruby
bmurt has joined #ruby
djbkd has quit [Remote host closed the connection]
little_fu has quit [Ping timeout: 244 seconds]
moritzschaefer has quit [Ping timeout: 244 seconds]
<icarus>
hello all
datafirm has quit [Ping timeout: 244 seconds]
<icarus>
can anyone tell me what is wrong with this case statement?
bradhe has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 264 seconds]
lewix has quit [Remote host closed the connection]
lewix has joined #ruby
razum2um has quit [Quit: Leaving.]
kaspergrubbe has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
dwayhs_ has quit [Ping timeout: 244 seconds]
Channel6 has joined #ruby
katlogic has joined #ruby
danijoo has joined #ruby
rkazak has joined #ruby
gregf has joined #ruby
Guest0852 has joined #ruby
St_Marx has quit [Ping timeout: 264 seconds]
lewix has quit [Ping timeout: 255 seconds]
bmurt has joined #ruby
lewix has joined #ruby
icole has quit [Remote host closed the connection]
Guest0852 has quit [Client Quit]
yacks has joined #ruby
Asher has quit [Quit: Leaving.]
Guest0852 has joined #ruby
Guest0852 has quit [Client Quit]
ixti has quit [Ping timeout: 245 seconds]
St_Marx has joined #ruby
Asher has joined #ruby
djbkd has quit [Remote host closed the connection]
saarinen has joined #ruby
rezzack has quit [Ping timeout: 255 seconds]
superscott[8] has quit []
sdouglas has joined #ruby
mikepack has quit [Remote host closed the connection]
srnty has joined #ruby
mjsmith2 has quit []
Guest0852 has joined #ruby
Guest0852 has quit [Client Quit]
lewix has quit [Read error: Connection reset by peer]
lewix has joined #ruby
balazs has quit [Ping timeout: 264 seconds]
dbu has quit [Ping timeout: 245 seconds]
gzl has quit [Ping timeout: 240 seconds]
pu22l3r has joined #ruby
yetanotherdave has quit [Ping timeout: 240 seconds]
dbu has joined #ruby
gzl has joined #ruby
gzl has quit [Changing host]
gzl has joined #ruby
fgo has joined #ruby
hinderaker has joined #ruby
tus has quit []
little_fu has joined #ruby
mikepack has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
fella5s has quit [Read error: Connection reset by peer]
codeurge has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fgo has quit [Ping timeout: 240 seconds]
fella5s has joined #ruby
RealMarc is now known as Marc
Marc is now known as Guest3702
MZAWeb has joined #ruby
mr_snowf1ake has joined #ruby
balazs has joined #ruby
meeko13 has joined #ruby
agent_white has quit [Quit: bbl]
datafirm_ has joined #ruby
pasties has quit [Read error: Connection reset by peer]
Spami has quit [Quit: This computer has gone to sleep]
xcv has quit [Remote host closed the connection]
MZAWeb has quit [Ping timeout: 255 seconds]
dorei has quit []
pasties has joined #ruby
timonv has joined #ruby
bluOxigen has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
phutchin1 has quit [Remote host closed the connection]
duggiefresh has joined #ruby
timonv has quit [Ping timeout: 245 seconds]
srnty has quit [Quit: srnty]
ndrei has joined #ruby
pu22l3r has quit [Remote host closed the connection]
ghr has joined #ruby
icarus has quit [Remote host closed the connection]
kireevco has quit [Quit: Leaving.]
ndrei has quit [Ping timeout: 255 seconds]
dreamchaser has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
datafirm_ has quit [Quit: Computer has gone to sleep.]
VeinMelted has joined #ruby
mikepack has quit [Remote host closed the connection]
yubrew has joined #ruby
datafirm_ has joined #ruby
meeko13 has quit [Read error: Connection reset by peer]
vinleod has joined #ruby
ValicekB has quit [Ping timeout: 272 seconds]
geggam has quit [Ping timeout: 244 seconds]
<shevy>
dumdedum
northfurr has joined #ruby
<pipework>
shevy: Can you please keep a tune, your idol humming is bothersome when you can't keep it going.
VeinMelted has quit [Ping timeout: 255 seconds]
mgberlin has joined #ruby
kireevco has joined #ruby
zkay11 has joined #ruby
<shevy>
I am singing to bring back action here on #ruby
yubrew has quit [Ping timeout: 240 seconds]
Wolland has joined #ruby
foooobear has joined #ruby
<rkazak>
yea for a chat room it’s very silent….
yfeldblum has quit [Remote host closed the connection]
<ponga>
for a chat room with 850+ people
sdouglas has quit [Remote host closed the connection]
<rkazak>
everybody is busy…busy… I guess...
<ponga>
yeah im busy on creating waifu
<shevy>
I am reading up on cancer biology for an exam in a few hours
abdulsattar has joined #ruby
mgberlin has quit [Remote host closed the connection]
* sevenseacat
is busy fixing broken javascript
<sevenseacat>
and eating cupcakes
aspires has joined #ruby
mgberlin has joined #ruby
foooobear has quit [Ping timeout: 255 seconds]
dwayhs_ has joined #ruby
Shidash has quit [Ping timeout: 255 seconds]
Guest0852 has joined #ruby
<pipework>
sevenseacat: You can't fix what's broken beyond repair.
<pipework>
trololol
dwayhs__ has joined #ruby
<sevenseacat>
i see what you did there
cephalostrum has quit [Ping timeout: 245 seconds]
<sevenseacat>
i ate too many cupcakes :(
ValicekB has joined #ruby
dwayhs_ has quit [Ping timeout: 264 seconds]
Valesk_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mapimopi has joined #ruby
mapi-mopi has joined #ruby
mapi_mopi has joined #ruby
cephalostrum has joined #ruby
dwayhs__ has quit [Ping timeout: 255 seconds]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GriffinHeart has quit [Remote host closed the connection]
oo_ has quit [Quit: Leaving...]
radic has quit [Ping timeout: 244 seconds]
causasui has quit [Remote host closed the connection]
djbkd has joined #ruby
radic has joined #ruby
Kuda has joined #ruby
oo_ has joined #ruby
j_mcnally has joined #ruby
bjhaid has quit [Ping timeout: 245 seconds]
GriffinHeart has joined #ruby
Wolland_ has joined #ruby
Wolland_ has quit [Client Quit]
Wolland_ has joined #ruby
sdouglas has joined #ruby
heftig has quit [Ping timeout: 264 seconds]
RoryHughes has quit [Ping timeout: 264 seconds]
djbkd has quit [Ping timeout: 244 seconds]
Dwarf has quit [Ping timeout: 264 seconds]
tcstar has quit [Ping timeout: 264 seconds]
Zackio has quit [Ping timeout: 264 seconds]
geggam has joined #ruby
geggam has quit [Remote host closed the connection]
grn has quit [Ping timeout: 264 seconds]
comma8 has quit [Ping timeout: 260 seconds]
<ponga>
how do i 'puts' key of a hash that is a symbol, into a string?
<ponga>
i know how to do with value..
geggam has joined #ruby
braincrash has quit [Quit: bye bye]
Wolland_ has quit [Client Quit]
Hamled has quit [Ping timeout: 272 seconds]
jeregrine has quit [Quit: Connection closed for inactivity]
Wolland has quit [Ping timeout: 240 seconds]
Wolland_ has joined #ruby
yfeldblum has joined #ruby
Hamled has joined #ruby
Wolland_ is now known as Wolland
<pipework>
ponga: show some code
<ponga>
i figured it out
fgo has joined #ruby
adantj has joined #ruby
RoryHughes has joined #ruby
grn has joined #ruby
adantj has quit [Client Quit]
djbkd has joined #ruby
braincrash has joined #ruby
fella6s has joined #ruby
aspires has quit []
heftig has joined #ruby
Zackio has joined #ruby
huntarck has quit [Quit: Leaving...]
fella5s has quit [Ping timeout: 245 seconds]
fgo has quit [Ping timeout: 264 seconds]
Dwarf has joined #ruby
jeregrine has joined #ruby
rhyz has joined #ruby
<ponga>
no i didn't..
therealGent has joined #ruby
<ponga>
pipework, it may sound dumb but can i access a key with a given key in hash
<ponga>
animal = { cat: 12, dog: 15, lama: 3 }
mikesplain has joined #ruby
<ponga>
i want to print :cat into string "cat"
<therealGent>
Hi all. I just wanted to come here to say how friendly this community is. I was asking some questions here one day and had an outpouring of help. I was hanging around in ##java a bit and that place reaks worse than the language. The most hostile unpleasant channel I've ever been in.
<eam>
:cat.to_s
<sevenseacat>
^
<ponga>
:cat.to_s?
tcstar has joined #ruby
<eam>
:cat is a Symbol. Symbol to string via #to_s
<eam>
(most things to String via to_s :)
<ponga>
oh i see symbol there is only one symbol at a time
causasui has joined #ruby
<ponga>
i thought i had to do a thing like animal[:cat].to_s
<sevenseacat>
that would give you "12"
buub_ has joined #ruby
<pipework>
I'm so confused.
<pipework>
What does a hash have to do with this?
<ponga>
now i start to see why symbol is so great...
comma8 has joined #ruby
buub_ has quit [Client Quit]
<ponga>
pipework im confused and confusing you sir
<ponga>
no worries
<pipework>
ponga: It is surely a fine thing for one to be doing while one is learning.
<ari-_-e>
ponga: what are you seeing that is so great about symbols here?
<shevy>
ponga rails even has a hash with indifferent access
<pipework>
s/rails/activesupport/
<shevy>
so no matter if you use symbol or string as keys, it magically will give you what you want!
<ponga>
ari-_-e well that there is only one symbol at a time
<ponga>
didn't you hate rails shevy
<shevy>
pipework I see you are a railster!
<ari-_-e>
ponga: that doesn't really make any sense
<ari-_-e>
what do you mean "at a time"?
<shevy>
ponga not really hate, I just don't use it
<sevenseacat>
'railster' is a new one
<shevy>
I wanted to say rails-hipster
<ponga>
ari-_-e don't worry im confusing you
<pipework>
shevy: I'm more of a metabrogrammer.
<ponga>
brogrammer?
<ari-_-e>
I'm not confused
<ponga>
or im confused then
<ponga>
nevermind
<shevy>
ponga a normal ruby hash can have a key called :cat and a key called 'cat'
Kuda has quit [Quit: Byebye!]
<ponga>
yeah
<pipework>
ponga: A hash, in ruby, can have any object as the key and any object as the value.
danijoo has quit [Read error: Connection reset by peer]
mikesplain has quit [Ping timeout: 244 seconds]
danijoo has joined #ruby
codeurge has joined #ruby
<pontiki>
>> hash = {nil: "this is nil", true: "this is true", false: "this is false (no it isn't)", Object.new => "this is a new object"}; hash.keys.each {|k| p k}
djbkd has quit [Remote host closed the connection]
<sevenseacat>
:P
mercwithamouth has quit [Ping timeout: 245 seconds]
<pontiki>
sorry
<pontiki>
>> hash = {nil => "this is nil", true => "this is true", false => "this is false (no it isn't)", Object.new => "this is a new object"}; hash.keys.each {|k| p k}
<Nilium>
This particular client hadn't been properly configured in a while.
<pontiki>
that's it
SilverKey has quit [Quit: Cheerio!]
mapi_mopi has quit [Remote host closed the connection]
mapimopi has quit [Remote host closed the connection]
mapi-mopi has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
<pipework>
ponga: Try joining them into one string separated by somehting.
fgo has joined #ruby
<pipework>
>> hash = {nil => "this is nil", true => "this is true", false => "this is false (no it isn't)", Object.new => "this is a new object"}; hash.keys.join(" + ")
<pipework>
>> hash = {nil => "this is nil", true => "this is true", false => "this is false (no it isn't)", Object.new => "this is a new object"}; hash.keys.map(&:inspect).join(" + ")
<beardtree>
I have a hash, and an object. Is there any quick way to set object.key = hash[key] for each key in hash?
bradhe has joined #ruby
<ari-_-e>
beardtree: you'd need to use send to invoke the setter
oo_ has quit [Ping timeout: 240 seconds]
bradhe has quit [Remote host closed the connection]
<pipework>
beardtree: a hash is an object though
Wolland has joined #ruby
<beardtree>
ari-_-e: could you give me an example?
<pipework>
So you want to set the attributes of an object where the hash's keys are the attribute names and the values in the hash are the values of the attributes on the object?
<shevy>
"You can use curly braces to control the number of occurrences. For example, this means 0 to 10:"
_pingu has joined #ruby
<hobo>
ty
<shevy>
/^[a-z]{0,10}$/
<_pingu>
http://pastebin.com/yT2iaFBs If I remove the RSpec.configure in one testfile the tests are executet only once. But I need config.formatter = :documentation to see the documentation. So what can I do?
<shevy>
hobo do you know rubular.com btw?
<hobo>
nope
Eyes has joined #ruby
<shevy>
you can test your regex there interactively
Barrayar has joined #ruby
<shevy>
I use it to tweak the regex until it matches my use case
yfeldblum has quit [Ping timeout: 264 seconds]
Poky has joined #ruby
Barrayar has quit [Client Quit]
mikepack has quit [Remote host closed the connection]
kyb3r_ has quit [Read error: Connection reset by peer]
dukedave has quit [Ping timeout: 240 seconds]
kp666 has joined #ruby
<pontiki>
all the pon*s need to get together
alec has quit [Client Quit]
kyb3r_ has joined #ruby
beneggett has joined #ruby
VeinMelted_ has quit [Quit: Computer has gone to sleep.]
VeinMelted_ has joined #ruby
dc_ has joined #ruby
doev has joined #ruby
CorpusCallosum has quit [Quit: Computer has gone to sleep.]
dc has quit [Ping timeout: 264 seconds]
<pipework>
Make little ponettes.
vinleod has joined #ruby
davedev24_ has joined #ruby
davedev24_ has quit [Remote host closed the connection]
relix has joined #ruby
echevemaster has quit [Quit: Leaving]
mbuf has joined #ruby
sdouglas has joined #ruby
<pontiki>
my little pon*s
sdouglas_ has quit [Read error: Connection reset by peer]
<mbuf>
When using add_child in Nokogiri, Is it possible to indent the output with newline and spaces instead of a one-line concatenation like <foo><bar>2</bar></foo>?
dc_ has quit [Ping timeout: 240 seconds]
Xeago_ has joined #ruby
JasonG_ has joined #ruby
VeinMelted_ has quit [Quit: Computer has gone to sleep.]
Darkchaos has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
chipotle has quit [Quit: cya]
beardtree has left #ruby ["WeeChat 0.4.3"]
dwayhs__ has joined #ruby
fabrice31 has joined #ruby
yfeldblum has joined #ruby
hobo has left #ruby [#ruby]
JasonG_ has quit [Ping timeout: 244 seconds]
<Macaveli>
Morning pipework
mattmcclure has quit [Quit: Connection closed for inactivity]
acidbur71 has joined #ruby
acidbur71 has left #ruby [#ruby]
dwayhs__ has quit [Ping timeout: 264 seconds]
davedev24_ has joined #ruby
davedev24_ has quit [Remote host closed the connection]
<timgauthier>
pipework how was your recharge period?
Alina-malina has joined #ruby
VeinMelted_ has joined #ruby
axl_ has quit [Quit: axl_]
yubrew has joined #ruby
p0sixpscl has joined #ruby
<ari-_-e>
mbuf: sure, just add some text nodes
dennus has joined #ruby
<ari-_-e>
pretty much anything in an xml file goes in a node of some sort when it is parsed
bigkevmcd has quit [Remote host closed the connection]
thoraxe has quit [Ping timeout: 240 seconds]
mehlah has joined #ruby
pranny has joined #ruby
bigkevmcd has joined #ruby
pu22l3r has joined #ruby
mmochan_ has quit [Quit: Connection closed for inactivity]
kiri has joined #ruby
wowXD has quit []
wow has joined #ruby
Xeago_ has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 264 seconds]
<_pingu>
no one?
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ephemerian has joined #ruby
techsethi has joined #ruby
davedev24_ has joined #ruby
ddv has quit [Changing host]
ddv has joined #ruby
pu22l3r has quit [Ping timeout: 240 seconds]
<timgauthier>
no
<timgauthier>
no one
charliesome has joined #ruby
shredding has joined #ruby
<_pingu>
)-:
brunops has quit [Quit: leaving]
<timgauthier>
i don't know
<timgauthier>
what you are asking about
<_pingu>
timgauthier: no problem
duncannz has joined #ruby
jackneill has joined #ruby
saarinen has quit [Quit: saarinen]
datafirm_ has quit [Quit: Computer has gone to sleep.]
wendly has joined #ruby
datafirm_ has joined #ruby
datafirm_ has quit [Read error: Connection reset by peer]
datafirm_ has joined #ruby
datafirm_ has quit [Client Quit]
thoraxe has joined #ruby
billy_ran_away has joined #ruby
mikesplain has joined #ruby
ph8 has quit [Excess Flood]
<pipework>
timgauthier: I don't recall the last time I gave a fuck, so it must have been good. :)
Xeago has joined #ruby
<timgauthier>
awesome :D
wendly has quit [Remote host closed the connection]
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby
pu22l3r has joined #ruby
<Hanmac>
mbuts ... how do you output your xml? for me it does indent correctly
mikesplain has quit [Ping timeout: 244 seconds]
kp666 has quit [Ping timeout: 245 seconds]
pu22l3r has quit [Ping timeout: 244 seconds]
maasha has joined #ruby
sdouglas has quit [Ping timeout: 264 seconds]
ph8 has joined #ruby
<maasha>
Hey, I get this error installing msgpack gem: Parsing documentation for msgpack-0.5.8 unable to convert "\xCA" from ASCII-8BIT to UTF-8 for lib/msgpack/msgpack.bundle, skipping
<maasha>
?
VeinMelted_ has quit [Quit: Computer has gone to sleep.]
<Hanmac>
maasha: hm thats more or less normal ... depending on the file it try to parse
<Hanmac>
and its not an error only a warning
mercwithamouth has quit [Ping timeout: 244 seconds]
<maasha>
Hanmac: but it means that there is no docs for msgpack since they are skipped?
dukedave has joined #ruby
DanielRb has quit [Ping timeout: 264 seconds]
<Hanmac>
maasha: msgpack looks precompiled, see at the "bundle" file ... so rdoc cant parse it
dangerou_ has quit [Read error: Connection reset by peer]
robbyoconnor has quit [Ping timeout: 240 seconds]
r0bby has joined #ruby
anaeem1 has quit [Remote host closed the connection]
<_pingu>
Hanmac: your idea works. thanks. (-:
Guest21383 has quit [Ping timeout: 255 seconds]
billy_ran_away has joined #ruby
yubrew has quit [Ping timeout: 245 seconds]
kaspergrubbe has quit [Ping timeout: 245 seconds]
<ari-_-e>
it automatically adds text nodes for indentation?
nectarys has joined #ruby
elricsfate has quit [Ping timeout: 255 seconds]
<ari-_-e>
weird
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
maroloccio has joined #ruby
moted has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
DanielRb_ has joined #ruby
<mbuf>
Hanmac, your code works with nokogiri 1.6.2, but, I still don't see the indentation in mine. The XML is created using REXML. @doc = Nokogiri::XML(input_file)
chris123456789 has quit [Read error: Connection reset by peer]
<mbuf>
@doc.remove_namespaces! is also useud
<mbuf>
*used
<Hanmac>
hmmhm maybe doc does not add indent because the input file did not had them right
pranny has quit [Quit: Leaving.]
dangerousdave has quit [Read error: Connection reset by peer]
fgo has joined #ruby
dangerousdave has joined #ruby
fgo has quit [Remote host closed the connection]
pranny has joined #ruby
sevenseacat has quit [Remote host closed the connection]
pranny has quit [Client Quit]
nectarys has quit [Ping timeout: 240 seconds]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danijoo has quit [Read error: Connection reset by peer]
genta has quit [Quit: Quit]
danijoo has joined #ruby
sk87 has joined #ruby
timonv has joined #ruby
mijicd has quit [Quit: Lost terminal]
Hobogrammer has quit [Ping timeout: 244 seconds]
mijicd has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
DanielRb_ is now known as DanielRb
DanielRb has quit [Changing host]
DanielRb has joined #ruby
trepidaciousMBR has joined #ruby
genta has joined #ruby
_pingu has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140608211828]]
dumdedum has quit [Remote host closed the connection]
maisapride has quit [Remote host closed the connection]
d34th4ck3r has quit [Quit: zzz]
DanielRb has quit [Ping timeout: 245 seconds]
sukendhar has joined #ruby
maisapride786 has quit [Remote host closed the connection]
dumdedum has joined #ruby
jagadish has joined #ruby
DanielRb has joined #ruby
hamakn has joined #ruby
coderhs has quit [Ping timeout: 240 seconds]
xeqtr has joined #ruby
sukendhar has quit [Client Quit]
jagadish has quit [Remote host closed the connection]
<xeqtr>
Hi, how do i remove the last slash in a string. Dont wanna remove all slashes only the last slash IF the string ends with it
<xeqtr>
like in php rtrim($string, '/')
sukendhar has joined #ruby
pu22l3r has joined #ruby
<shevy>
timgauthier I won't learn programming languages just for fun
<timgauthier>
shevy you should learn it to teach me
<matti>
rboo: I have no idea what I am doing. I just sit here to chat up shevy
datafirm has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
<rboo>
yep it works, I didn't know about the delete_if method.
razrunelord has quit [Ping timeout: 244 seconds]
krainboltgreene has left #ruby ["Textual IRC Client: www.textualapp.com"]
<matti>
rboo: Ruby is like our observable universe, full of wonders.
<matti>
;]
DanielRb has quit [Ping timeout: 240 seconds]
<wasamasa>
mhh
<wasamasa>
rails particularly keeps surprising me
<matti>
wasamasa: We don't see Rais as a wonder.
<matti>
wasamasa: Even nature had its bad moments.
<matti>
;p
yubrew has joined #ruby
Fire-Dragon-DoL has joined #ruby
Takle has quit [Remote host closed the connection]
Guest12175 has joined #ruby
jle` has quit [Quit: WeeChat 0.4.2]
<daxroc>
Can you have a conditional on the right like status :id, create(status) unless status[:id]
<matti>
You can inline if/unless.
<daxroc>
or should it just be written like status[:id] = create(status) unless status[:id]
mikesplain has joined #ruby
agjacome has joined #ruby
dwayhs__ has joined #ruby
yubrew has quit [Ping timeout: 245 seconds]
Guest12175 has quit [Ping timeout: 240 seconds]
DanielRb_ has joined #ruby
wowXD has quit [Remote host closed the connection]
jds has left #ruby [#ruby]
mikesplain has quit [Ping timeout: 255 seconds]
pu22l3r has joined #ruby
dwayhs__ has quit [Ping timeout: 255 seconds]
freggles has joined #ruby
jle` has joined #ruby
Takle has joined #ruby
robbyoconnor has joined #ruby
mr_snowf1ake has quit [Quit: Leaving]
pu22l3r has quit [Ping timeout: 245 seconds]
dreamchaser has joined #ruby
grieg has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
tjr9898 has quit [Remote host closed the connection]
workmad3 has joined #ruby
Fire-Dragon-DoL has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<matti>
Ahh.
<matti>
You wanted the , too?
<matti>
How does this expression should look like?
fgo has joined #ruby
DanielRb_ has quit [Ping timeout: 255 seconds]
AlSquire has joined #ruby
aspiers has quit [Ping timeout: 264 seconds]
Takle has quit [Remote host closed the connection]
noob101 has quit [Ping timeout: 246 seconds]
Takle has joined #ruby
DanielRb_ has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
<Hanmac>
daxroc: why not like that? status[:id] ||= create(status)
kilk_ has quit [Quit: Leaving]
<daxroc>
that's nicer :P
kies has quit [Quit: baaaaiiiiiiiiiii~]
mengu has quit [Ping timeout: 244 seconds]
DanielRb_ is now known as DanielRb
DanielRb has quit [Changing host]
DanielRb has joined #ruby
alem0lars has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iaj has quit [Ping timeout: 245 seconds]
fabrice31 has quit [Remote host closed the connection]
DanielRb has quit [Ping timeout: 244 seconds]
alex88 has joined #ruby
bmurt has quit []
shredding has quit [Quit: shredding]
<gregf_>
haha! 'sind sie welcome' - would mean 'you are welcome' - 'literally' ;). i'd say 'kein problem' :)
pu22l3r has joined #ruby
<gregf_>
bah :/ sorry
Alina-malina has joined #ruby
oo_ has quit [Remote host closed the connection]
ctp has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
* matti
takes notes
<matti>
gregf_: Thank you!
<gregf_>
heh
<matti>
:>
<matti>
Never know when one can use some German.
mengu has joined #ruby
<matti>
I may run into someone on the streets on London... and bah! 'kein problem' would come in handy.
<matti>
;p
<gregf_>
well if you're from the US you'll prolly need to know german to converse with the US 'soccer' team :@
apeiros has quit [Remote host closed the connection]
<matti>
LOL
apeiros has joined #ruby
DanielRb has joined #ruby
<Hanmac>
gregf_: do you know the old advertising from Douglas? "come in and find out" ;P
Alina-malina has quit [Read error: Connection reset by peer]
pu22l3r has quit [Ping timeout: 255 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
alem0lars has quit [Quit: Going AFK...]
GriffinHeart has quit [Ping timeout: 245 seconds]
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
apeiros has quit [Ping timeout: 245 seconds]
lkba has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wendly has joined #ruby
<gregf_>
lol
fabrice31 has joined #ruby
techsethi has quit [Quit: techsethi]
DanielRb has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 244 seconds]
dANOKELOFF has quit [Remote host closed the connection]
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DanielRb has joined #ruby
workmad3 has quit [Quit: Reconnecting]
workmad3 has joined #ruby
workmad3 has quit [Client Quit]
workmad3 has joined #ruby
nfk has quit [Quit: yawn]
tvw has joined #ruby
yubrew has joined #ruby
DanielRb has quit [Ping timeout: 264 seconds]
postmodern has quit [Quit: Leaving]
agjacome has quit [Ping timeout: 264 seconds]
datafirm has joined #ruby
wald0 has joined #ruby
yubrew has quit [Ping timeout: 245 seconds]
tokik has quit [Ping timeout: 264 seconds]
<daxroc>
How would I access an instance object defined in the constructor ?
mengu has quit [Read error: No route to host]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
DanielRb has joined #ruby
DanielRb has quit [Changing host]
DanielRb has joined #ruby
<canton7>
daxroc, access from where?
mengu has quit [Read error: Connection reset by peer]
<daxroc>
From a parent object if that makes sense
<canton7>
either 1) define your own accessor (def myvar; @myvar; end), or 2) get ruby to define one for you (attr_reader :myvar)
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<canton7>
but go grab a beginners' book
datafirm has quit [Ping timeout: 244 seconds]
mikesplain has joined #ruby
DanielRb has quit [Ping timeout: 240 seconds]
dwayhs__ has joined #ruby
iaj has joined #ruby
pu22l3r has joined #ruby
oo_ has joined #ruby
<Hanmac>
daxroc & canton7: or do it per instance with 3) use obj.instance_variable_get(:@myvar) or 4) or highjack into the instance with obj.instance_exec { @myvar }
AlexRussia has joined #ruby
kies has joined #ruby
wowXD has joined #ruby
dwayhs__ has quit [Ping timeout: 240 seconds]
mikesplain has quit [Ping timeout: 255 seconds]
mengu has quit [Read error: No route to host]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
oo__ has joined #ruby
pu22l3r has quit [Ping timeout: 240 seconds]
oo__ has quit [Remote host closed the connection]
oo__ has joined #ruby
techsethi has joined #ruby
jadedgnome has quit [Ping timeout: 276 seconds]
decoponio has joined #ruby
DanielRb has joined #ruby
DanielRb has joined #ruby
DanielRb has quit [Changing host]
oo_ has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wowXD has quit [Ping timeout: 245 seconds]
Brando753 has quit [Ping timeout: 260 seconds]
smaboshe has joined #ruby
sukendhar has quit [Read error: Connection reset by peer]
oo__ has quit [Ping timeout: 240 seconds]
smaboshe has quit [Changing host]
smaboshe has joined #ruby
wowXD has joined #ruby
|RicharD| has joined #ruby
<|RicharD|>
hi
<|RicharD|>
I'm writing a rake script and I have a problem with double `
yfeldblum has quit [Ping timeout: 245 seconds]
<|RicharD|>
I need to run a command into another command… something like this: Bundler.with_clean_env { puts `curl -o latest.dump `heroku pgbackups:url --app app`` }
sukendhar has joined #ruby
<Hanmac>
|RicharD|: are you sure they need to be `` inside it?
<|RicharD|>
yes
<|RicharD|>
or there is another way for run a command into another command ?
<Hanmac>
escape them with \
<Hanmac>
|RicharD|: or use %x{ curl -o latest.dump `heroku pgbackups:url --app app` }
<|RicharD|>
Thank you :)
dreamchaser has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Shidash has joined #ruby
jadedgnome has joined #ruby
kilk_ has joined #ruby
mijicd has quit [Remote host closed the connection]
roolo has quit [Quit: Leaving...]
DanielRb has quit [Ping timeout: 240 seconds]
Xeago has quit [Ping timeout: 240 seconds]
foooobear has quit [Read error: Connection reset by peer]
DanielRb has joined #ruby
Azure_ has joined #ruby
timonv has quit [Remote host closed the connection]
timonv has joined #ruby
Azure has quit [Ping timeout: 240 seconds]
jcromartie has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
shredding has joined #ruby
tenseiten has joined #ruby
ndrei has joined #ruby
oso96_2000 has quit [Ping timeout: 240 seconds]
fschuindt has joined #ruby
DanielRb has quit [Ping timeout: 255 seconds]
tus has joined #ruby
timonv has quit [Ping timeout: 255 seconds]
seitensei has quit [Ping timeout: 240 seconds]
funktor has quit [Remote host closed the connection]
rdark has joined #ruby
oso|away has joined #ruby
oso|away is now known as oso96_2000
jottr_ has joined #ruby
DanielRb has joined #ruby
oo_ has joined #ruby
timonv has joined #ruby
dANOKELOFF has joined #ruby
thesheff17 has quit [Ping timeout: 255 seconds]
jottr has quit [Ping timeout: 255 seconds]
relix_ has quit [Read error: Connection reset by peer]
ctp has joined #ruby
relix has joined #ruby
funktor has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
vali has quit [Ping timeout: 240 seconds]
oo_ has quit [Remote host closed the connection]
DanielRb has quit [Ping timeout: 264 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
oso96_2000 has quit [Ping timeout: 264 seconds]
trepidaciousMBR has quit [Quit: trepidaciousMBR]
Takle has quit [Remote host closed the connection]
oso|away has joined #ruby
oo_ has joined #ruby
oso|away is now known as oso96_2000
vali has joined #ruby
yubrew has joined #ruby
funktor has quit [Remote host closed the connection]
<ponga>
its summer and my macbook is getting a lot of heat
<ponga>
:(
<kilk_>
lock by booble gum
techsethi has quit [Ping timeout: 264 seconds]
yubrew has quit [Ping timeout: 240 seconds]
<Hanmac>
ponga: i have an old Toshiba "laptop" ... its getting so hot, that we removed some of the chassis ;P ...
<Hanmac>
PS: did you guys know? Toshiba build Laptops and nuclear power plants ... coincidence ?
razrunelord has joined #ruby
rboo has quit [Quit: Page closed]
shvelo has joined #ruby
<ponga>
Hanmac: *thumbs up
<ponga>
but then, who buys toshiba laptop anyway
dwayhs__ has joined #ruby
<Hanmac>
it was a gift from friends when i needed one ...
dwayhs__ has quit [Read error: Connection reset by peer]
<ponga>
did the friend know how to recognise a laptop
<Hanmac>
that laptop is as thick as my thumb is long ;D
<ponga>
a good laptop
dwayhs__ has joined #ruby
<Hanmac>
ponga: yeah! it has 100MHz ;D
<ponga>
i see
<ponga>
wait, what!?
<ponga>
:P
<Hanmac>
yeah its a Pentium I processor ;P
razrunelord has quit [Ping timeout: 240 seconds]
funktor has joined #ruby
Takle has joined #ruby
datafirm has joined #ruby
DanielRb has joined #ruby
little_fu has joined #ruby
oo_ has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
anarang is now known as anisha
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thrownaway has joined #ruby
<stian>
hmm anyone in the UK want to buy a LG G Watch then ship it to me in norway :P
<stian>
haha
tacos1de has quit [Ping timeout: 264 seconds]
<stian>
:( nothing is available here
* stian
cries
mikesplain has joined #ruby
<tobiasvl>
stian: hi five fellow weegie
DanielRb has quit [Ping timeout: 240 seconds]
* stian
high fives tobiasvl
tacos1de has joined #ruby
datafirm has quit [Ping timeout: 244 seconds]
DanielRb has joined #ruby
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<stian>
gah man
<stian>
I want an android wear watch :(
<stian>
why do they ship to UK and Germany but not Norway
<stian>
like what have we done wrong
momomomomo has joined #ruby
<stian>
fml for actually having the money to buy something cool for once and not being able to get it lol
<csmrfx>
the gear 2 campaign aint done yet
<csmrfx>
enjoy corporatism
<stian>
indeed
benzrf is now known as benzrf|offline
<stian>
well it's norway
<csmrfx>
Im considering making apps for that
<stian>
we don't even have the xbox one yet
mikesplain has quit [Ping timeout: 240 seconds]
<stian>
Yes same csmrfx
<stian>
I'd be a fun thing to do
<csmrfx>
but Im pretty sure that is going to be marginal nerd thing
<stian>
yes
<csmrfx>
so, may not be worth the time
<stian>
I really don't care though I like the concept :P
ctp has joined #ruby
<tobiasvl>
stian: check out ebay in a few days ;)
<stian>
but then the price will be up the ass
<stian>
and I'll have to pay taxes on it too
DanielRb has quit [Ping timeout: 240 seconds]
<stian>
I don't even have a functioning paypal account anymore lol
tjr9898 has joined #ruby
alem0lars has joined #ruby
<stian>
it's funny, I registered a paypal before I turned 18, I'm now soon to be 26
<stian>
and so last year they figured this out and deactivated my account
<stian>
now I can't even deregister my credit card :(
DanielRb has joined #ruby
<stian>
sorry for the rant
<stian>
just mildly annoyed lol
alem0lars has quit [Client Quit]
jacobat has quit [Ping timeout: 245 seconds]
maximski has joined #ruby
jacobat has joined #ruby
DanielRb has quit [Ping timeout: 245 seconds]
larissa has joined #ruby
fgo has joined #ruby
tjr9898 has quit []
DanielRb has joined #ruby
shredding has quit [Quit: shredding]
tjr9898 has joined #ruby
alec has joined #ruby
fschuindt has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
paulfm has joined #ruby
mconnolly has joined #ruby
fgo has quit [Ping timeout: 255 seconds]
GriffinHeart has joined #ruby
sk87 has joined #ruby
sukendhar has quit [Remote host closed the connection]
bmurt has joined #ruby
JasmeetQA has quit [Ping timeout: 245 seconds]
Takle has quit [Remote host closed the connection]
<ConsoleFx>
How I can list out all the method names present for a specific module? Lets say in python we do import os ; print dir(os) -> lists the method names... whats the way to achieve the same in Ruby...
<centrx>
What in the world...
<centrx>
ConsoleFx, object.methods ?
kalusn has quit [Remote host closed the connection]
<centrx>
olivier_bK, The block is incomplete, that's one problem
cocotton has joined #ruby
<olivier_bK>
what do you mean
<centrx>
olivier_bK, x.each do |ep| starts a block, but it never ends. That should be a syntax error.
little_f_ has quit [Remote host closed the connection]
<ConsoleFx>
centrx: I tried to do the same to import Metasploit module but dono where I am doing wrong.. It doesnt list out the method names available for Metasploit module
kevind has joined #ruby
<olivier_bK>
centrx, i forget to cpy the last end
<olivier_bK>
but the syntax is okai
Zenigor_ has joined #ruby
datafirm has joined #ruby
Zenigor has quit [Read error: Connection reset by peer]
amargherio has joined #ruby
ffranz has joined #ruby
djcp has left #ruby ["WeeChat 0.4.3"]
jacobat has joined #ruby
jerius_ has joined #ruby
mgberlin_ has quit [Remote host closed the connection]
cocotton has quit [Remote host closed the connection]
lemur has quit [Read error: Connection reset by peer]
<csmrfx>
or actually a text block that is printed
GriffinHeart has quit [Ping timeout: 240 seconds]
<csmrfx>
consider that like a string
<centrx>
dangerousdave, That is part of a message printed to the screen. #{__FILE__} is the current file name, probably the name of the executable for a help message.
lemur has joined #ruby
bahar has quit [Changing host]
bahar has joined #ruby
<dangerousdave>
centrx, it's all part of the puts?
VeinMelted_ has quit [Ping timeout: 255 seconds]
jprovazn has joined #ruby
<centrx>
dangerousdave, Yes, it is called heredoc or here document syntax
s2013 has quit [Ping timeout: 255 seconds]
<dangerousdave>
centrx, thanks!
fgo has joined #ruby
sevenseacat has joined #ruby
fgo has quit [Read error: Connection reset by peer]
fgo has joined #ruby
sailias has joined #ruby
jarto has joined #ruby
bartdorsey has joined #ruby
tjr9898 has quit [Remote host closed the connection]
fgo has quit [Read error: No route to host]
fgo has joined #ruby
treehug88 has joined #ruby
pu22l3r has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
funktor has quit [Remote host closed the connection]
<tsunamie>
I am getting a decompressed object, however it's reading it as if the content inside the ZIP is in UTF-8 formate. It's asc2. How do I set it to read the content as ASC2 format
pu22l3r has quit [Ping timeout: 240 seconds]
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
tesaf has quit [Quit: Lost terminal]
cocotton has joined #ruby
<tsunamie>
simply putting gz = Zlib::GzipReader.new(file, "r:ASCII-8BIT" ) does'nt work
gigetoo has quit [Remote host closed the connection]
jottr_ has joined #ruby
yubrew has joined #ruby
enebo has joined #ruby
VeinMelted__ has quit [Quit: Computer has gone to sleep.]
gigetoo has joined #ruby
freerobby has joined #ruby
jobewan has joined #ruby
rr123 has joined #ruby
rr123 has left #ruby [#ruby]
mijicd has joined #ruby
yubrew has quit [Read error: Connection reset by peer]
yubrew_ has joined #ruby
TheNumb has quit [Read error: Connection reset by peer]
pu22l3r has joined #ruby
TheNumb has joined #ruby
grn has quit [Read error: Connection reset by peer]
somethinkz has joined #ruby
Dwarf has quit [Ping timeout: 264 seconds]
RoryHughes has quit [Ping timeout: 264 seconds]
grn has joined #ruby
Pyrotecnix has joined #ruby
optiz0r has quit [Remote host closed the connection]
orionstein_away is now known as orionstein
jerius_ has quit []
Pyrotecnix has quit [Client Quit]
shvelo has quit [Ping timeout: 245 seconds]
<tsunamie>
anyone home
Pyrotecnix has joined #ruby
<Hanmac>
tsunamie: isnt ASC2 an encryption? ruby std zlib can not do that as far as i know
Zackio has quit [Ping timeout: 264 seconds]
RoryHughes has joined #ruby
tagrudev has quit [Remote host closed the connection]
optiz0r has joined #ruby
Zackio has joined #ruby
jarto has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
jerius has joined #ruby
<tsunamie>
Hanmac, so if a file has a content type of ASCII, and that has been compressed into a gz file. Why does gz = Zlib::GzipReader.new(file) assumethe files content in UTF-8 when reading it
jeregrine has joined #ruby
pu22l3r has quit [Ping timeout: 264 seconds]
pgmcgee has quit [Disconnected by services]
Dwarf has joined #ruby
mjsmith2 has joined #ruby
<Hanmac>
tsunamie: you know that "ASCII" and "ASCII-8BIT" are different? did you also try the other one?
rien has joined #ruby
pgmcgee has joined #ruby
<Hanmac>
tsunamie: question: is it a someting.gz or a something.tar.gz archive?
<tsunamie>
Hanmac, try what precisly?
<rien>
if the response to RestClient.get(some_url, headers) is a file, then how do I avoid "ArgumentError: string contains null byte" ?
<tsunamie>
Hanmac, something.gz
<Hanmac>
tsunamie: "ASCII" and "ASCII-8BIT" are two different encodings
shredding has quit [Ping timeout: 244 seconds]
sailias has quit [Quit: Leaving.]
mary5030 has quit [Remote host closed the connection]
<tsunamie>
Hanmac, and how do I try setting the encoding for files being read out by Zlib::GzipReader.new ??
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
sunya7a_ has joined #ruby
mengu has quit [Remote host closed the connection]
<tsunamie>
Hanmac, thats kind of my question. on file.open all I do is File.open(filename, "r:ASCII-8BIT" ) do |file|
vasilakisFiL has joined #ruby
sunya7a has quit [Ping timeout: 245 seconds]
vysakh0 has joined #ruby
<tsunamie>
Hanmac, however I can't set how it reads things out of a gziped file. hope this makes sence
<Hanmac>
tsunamie: "r:ASCII-8BIT" the second part s the encoding, try "r:ASCII"
dreamchaser has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tjr9898 has joined #ruby
eka has joined #ruby
tjr9898 has quit [Remote host closed the connection]
<vasilakisFiL>
hello! if I include a module (which has some submodules) in a class can I access somehow the submodules's classes ?
<Hanmac>
vasilakisFiL: not possible like that, Bar is not included in the same class/object as Foo (and normaly it also should not
jarto has joined #ruby
<tsunamie>
Hanmac, k so trying this. However I assume your saying that the problem is not in the Zlib::GzipReader.new line but in the file.open line before it
somethinkz has quit [Quit: Page closed]
<vasilakisFiL>
Hanmac thanks for the answer.. the problem is that I have 2 modules that I include in the same class, but although they have different subclasses, both of them have the same method name in the subclass and I would like to access both of them.. any idea ? code: http://pastie.org/9326902
mercwithamouth has quit [Ping timeout: 240 seconds]
<Hanmac>
rien: so you want to transport a binary file over Rest? you might need to base64 encode the file
dreamchaser has joined #ruby
bartdorsey has quit [Ping timeout: 244 seconds]
<rien>
Hanmac: I'm using RestClient to GET a file. In the process of Getting, ruby complains there's a \0 in the string
<rien>
RestClient's manual doesn't say anything about downloading files (it does say it handles uploading multi-part files, which is nice but not what I need)
<Hanmac>
rien: maybe, i dont know in which string the \0 byte is into ... maybe the RestServer does not output the file correctly
<AntelopeSalad>
when using sort_by on an array that contains hashes as each element, you can pass in a block to sort on a specific key , but yesterday someone informed me you can do even more by adding...
<hobodave>
it is faster though :)
mattstratton has joined #ruby
kiri has quit [Remote host closed the connection]
<AntelopeSalad>
{value_a: 1, value_b: 2, value_b: 3}[hash[:value_key] , to do a custom sort order
<AntelopeSalad>
it works but where is this documented?
dreamchaser has quit [Ping timeout: 264 seconds]
<AntelopeSalad>
it seems like such an obscure but excellent feature
K3dare has joined #ruby
<hobodave>
Hanmac Comparable#between? took about 1.6 seconds to do 1 million calls, Range#cover? took 2.6 seconds to do the same million
<hobodave>
ok enough time wasting :)
<apeiros>
Range#cover? will cause more GC stress too, as it generates more objects (throw-away Range instances)
timonv has quit [Remote host closed the connection]
prathamesh has quit [Remote host closed the connection]
<apeiros>
AntelopeSalad: I'm not following. you mean you can return an array from the sort_by block to sort by multiple values?
<apeiros>
all you do is call a method on an object literal. instead of on a variable.
<AntelopeSalad>
thanks for clearing that up, now it all makes sense
razrunelord has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<daxroc>
Evening all, I'm working with the ruby_vcloud sdk I'm wanting to change the Logger level to reduce the output of xml to stdout https://github.com/vchs/ruby_vcloud_sdk/blob/master/lib/ruby_vcloud_sdk/client.rb If I pass my own logger object in it errors because of no [] function on dev. How would/should I change the level ?
jailbot has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
tvw has quit []
pietr0 has joined #ruby
Guest87659 has quit [Ping timeout: 272 seconds]
dumdedum has quit [Ping timeout: 240 seconds]
Macaveli has joined #ruby
Shidash has quit [Ping timeout: 255 seconds]
skaflem has quit [Quit: Leaving]
<Hanmac>
AntelopeSalad & apeiros works for other literals too
<Georg3>
Thanks again GeekOnCoffee =) Lingo is exactly what I was looking for.
relix has joined #ruby
kirun has joined #ruby
cuqa has quit [Changing host]
cuqa has joined #ruby
mrevd has joined #ruby
lmickh has joined #ruby
ada has quit [Ping timeout: 276 seconds]
tus is now known as tus_test
tus_test is now known as tus
klaskagan has joined #ruby
emptyflask has joined #ruby
Zenigor has joined #ruby
sepp2k has joined #ruby
nmokru has quit [Quit: nmokru]
tjr9898_ has joined #ruby
alec-c4 has joined #ruby
datafirm has quit [Quit: Computer has gone to sleep.]
klaskagan has quit [Quit: Leaving]
datafirm has joined #ruby
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tus is now known as t14206
t14206 is now known as tus
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mrevd>
hey all. im getting what appears to be an openssl error from faraday (Connection reset by peer)… haven't been able to find a solution. has anyone experienced this?
CaptainJet has quit [Read error: Connection reset by peer]
kaspergr_ has joined #ruby
<shevy>
isn't that an IRC error mrevd?
kaspergrubbe has quit [Read error: Connection reset by peer]
paulfm has quit []
SloggerKhan has quit [*.net *.split]
emptyflask has quit [*.net *.split]
SCHAAP137 has quit [*.net *.split]
diegoviola has quit [*.net *.split]
karmatr0n has quit [*.net *.split]
superscott[8] has quit [*.net *.split]
yfeldblum has quit [*.net *.split]
mikecmpbll has quit [*.net *.split]
zorak has quit [*.net *.split]
rippa has quit [*.net *.split]
vpretzel has quit [*.net *.split]
baroquebobcat has quit [*.net *.split]
deric_skibotn has quit [*.net *.split]
Tricon has quit [*.net *.split]
ixti has quit [*.net *.split]
K3dare has quit [*.net *.split]
dukedave has quit [*.net *.split]
axisys has quit [*.net *.split]
jespada has quit [*.net *.split]
jarto has quit [*.net *.split]
Pyrotecnix has quit [*.net *.split]
jobewan has quit [*.net *.split]
dorei has quit [*.net *.split]
JasonG_ has quit [*.net *.split]
tkuchiki has quit [*.net *.split]
vt102 has quit [*.net *.split]
nfk has quit [*.net *.split]
MissionCritical has quit [*.net *.split]
ldnunes has quit [*.net *.split]
ra4king has quit [*.net *.split]
freggles has quit [*.net *.split]
LiohAu has quit [*.net *.split]
jadedgnome has quit [*.net *.split]
tus has quit [*.net *.split]
cephalostrum has quit [*.net *.split]
jackneill has quit [*.net *.split]
genta has quit [*.net *.split]
dbu has quit [*.net *.split]
cobakobodob has quit [*.net *.split]
TripTastic has quit [*.net *.split]
casheew has quit [*.net *.split]
lw has quit [*.net *.split]
Roa has quit [*.net *.split]
dandrade has quit [*.net *.split]
Photism has quit [*.net *.split]
b1nd has quit [*.net *.split]
lbwski has quit [*.net *.split]
M-Technic has quit [*.net *.split]
chridal has quit [*.net *.split]
sivoais has quit [*.net *.split]
Doc_X has quit [*.net *.split]
jtz has quit [*.net *.split]
tiguser has quit [*.net *.split]
wlanboy has quit [*.net *.split]
mr_rich101 has quit [*.net *.split]
Lulzon has quit [*.net *.split]
bahar has quit [*.net *.split]
pontiki has quit [*.net *.split]
kenndel_ has quit [*.net *.split]
tskogberg has quit [*.net *.split]
preller has quit [*.net *.split]
SJr has quit [*.net *.split]
toretore has quit [*.net *.split]
prdx has quit [*.net *.split]
chihhsin has quit [*.net *.split]
ag4ve_ has quit [*.net *.split]
daed has quit [*.net *.split]
pavelz has quit [*.net *.split]
descala has quit [*.net *.split]
three18ti has quit [*.net *.split]
thoolihan has quit [*.net *.split]
danshultz has quit [*.net *.split]
camt has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
miah has quit [*.net *.split]
guyz has quit [*.net *.split]
FDj has quit [*.net *.split]
shanlar has quit [*.net *.split]
maxmanders has quit [*.net *.split]
faulkner has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
thumpba has quit [*.net *.split]
Wayneoween has quit [*.net *.split]
mgomezch_ has quit [*.net *.split]
psmolen has quit [*.net *.split]
nw has quit [*.net *.split]
mary5030 has quit [*.net *.split]
RaCx has quit [*.net *.split]
jottr_ has quit [*.net *.split]
Zenigor has quit [*.net *.split]
b00stfr3ak has quit [*.net *.split]
tjr9898_ has quit [*.net *.split]
carraroj has quit [*.net *.split]
mconnolly has quit [*.net *.split]
kireevco1 has quit [*.net *.split]
lkba has quit [*.net *.split]
mrevd has quit [*.net *.split]
gr33n7007h has quit [*.net *.split]
treehug88 has quit [*.net *.split]
razrunelord has quit [*.net *.split]
Hobogrammer has quit [*.net *.split]
johnmolina has quit [*.net *.split]
JohnBat26 has quit [*.net *.split]
gverri has quit [*.net *.split]
mikepack has quit [*.net *.split]
hamakn has quit [*.net *.split]
yeticry has quit [*.net *.split]
ndrei_ has quit [*.net *.split]
DanielRb has quit [*.net *.split]
apeiros has quit [*.net *.split]
ndrei has quit [*.net *.split]
em0ral has quit [*.net *.split]
enebo has quit [*.net *.split]
obscured has quit [*.net *.split]
SilverKey has quit [*.net *.split]
ffranz has quit [*.net *.split]
Mon_Ouie has quit [*.net *.split]
net_mask has quit [*.net *.split]
jprovazn_afk has quit [*.net *.split]
phutchins has quit [*.net *.split]
kevind has quit [*.net *.split]
dblessing has quit [*.net *.split]
gzl has quit [*.net *.split]
ephemerian has quit [*.net *.split]
Asher has quit [*.net *.split]
sinkensabe has quit [*.net *.split]
katlogic has quit [*.net *.split]
tcstar has quit [*.net *.split]
abdulsattar has quit [*.net *.split]
robbyoconnor has quit [*.net *.split]
razum2um1 has quit [*.net *.split]
Vivekananda has quit [*.net *.split]
LACP has quit [*.net *.split]
mbwe has quit [*.net *.split]
parduse has quit [*.net *.split]
willgorman_ has quit [*.net *.split]
GeekOnCoffee has quit [*.net *.split]
Xuerian has quit [*.net *.split]
hellome has quit [*.net *.split]
littledude has quit [*.net *.split]
nemesit|znc has quit [*.net *.split]
Kruppe has quit [*.net *.split]
fumduq has quit [*.net *.split]
gtc has quit [*.net *.split]
divbell has quit [*.net *.split]
ahuman has quit [*.net *.split]
renier has quit [*.net *.split]
skinny_much has quit [*.net *.split]
freannrak has quit [*.net *.split]
justinmcp has quit [*.net *.split]
sn0wb1rd has quit [*.net *.split]
cid404 has quit [*.net *.split]
Tarential has quit [*.net *.split]
jack_rabbit has quit [*.net *.split]
PhilK has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
lagbox has quit [*.net *.split]
rs0 has quit [*.net *.split]
froy has quit [*.net *.split]
Authenticator has quit [*.net *.split]
mahlon has quit [*.net *.split]
bmn has quit [*.net *.split]
rcs has quit [*.net *.split]
Akuma has quit [*.net *.split]
Spleeze has quit [*.net *.split]
sdouglas has quit [*.net *.split]
heftig has quit [*.net *.split]
shaquile has quit [*.net *.split]
cwc has quit [*.net *.split]
chihhsin_wego has quit [*.net *.split]
xiphias has quit [*.net *.split]
RoryHughes has quit [*.net *.split]
tjcravey has quit [*.net *.split]
ziyadb has quit [*.net *.split]
grn has quit [*.net *.split]
Zackio has quit [*.net *.split]
robustus has quit [*.net *.split]
Dwarf has quit [*.net *.split]
natewalck has quit [*.net *.split]
pipework has quit [*.net *.split]
bjeanes has quit [*.net *.split]
rickruby has quit [*.net *.split]
adambeynon has quit [*.net *.split]
amitchellbullard has quit [*.net *.split]
JaTochNietDan has quit [*.net *.split]
ELLIOTTCABLE has quit [*.net *.split]
Jello_Raptor has quit [*.net *.split]
zz_jrhorn424 has quit [*.net *.split]
sfr^ has quit [*.net *.split]
Hien has quit [*.net *.split]
paulog has quit [*.net *.split]
frode15243 has quit [*.net *.split]
gwb3 has quit [*.net *.split]
MetaCosm has quit [*.net *.split]
pagioss has quit [*.net *.split]
ballPointPenguin has quit [*.net *.split]
msch has quit [*.net *.split]
Killerkeksdose has quit [*.net *.split]
avelldiroll has quit [*.net *.split]
go|dfish has quit [*.net *.split]
xMopxShell has quit [*.net *.split]
sindork_ has quit [*.net *.split]
fearoffish has quit [*.net *.split]
philtr has quit [*.net *.split]
Anarch has quit [*.net *.split]
catepillar has quit [*.net *.split]
dioms_ has quit [*.net *.split]
Karunamon has quit [*.net *.split]
Mars` has quit [*.net *.split]
cmaxw_____ has quit [*.net *.split]
Macacity has quit [*.net *.split]
callumacrae has quit [*.net *.split]
FL1SK has quit [*.net *.split]
Sigma00 has quit [*.net *.split]
xargoon has quit [*.net *.split]
pusewicz has quit [*.net *.split]
jiriki has quit [*.net *.split]
Gnubie_ has quit [*.net *.split]
rtlong has quit [*.net *.split]
tchebb has quit [*.net *.split]
jayne has quit [*.net *.split]
kapowaz has quit [*.net *.split]
qpls has quit [*.net *.split]
jimeh has quit [*.net *.split]
JZTech101 has quit [*.net *.split]
Rubeh has quit [*.net *.split]
madhatter has quit [*.net *.split]
contradictioned has quit [*.net *.split]
_KaszpiR_ has quit [*.net *.split]
isomorphismes has quit [*.net *.split]
jeekl has quit [*.net *.split]
ponyfleisch has quit [*.net *.split]
Drakevr has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
sfiggins has quit [*.net *.split]
Elfix has quit [*.net *.split]
diegok has quit [*.net *.split]
kaspergrubbe has joined #ruby
ndrei__ has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
tjr9898_ has joined #ruby
Zenigor has joined #ruby
mrevd has joined #ruby
emptyflask has joined #ruby
mconnolly has joined #ruby
treehug88 has joined #ruby
johnmolina has joined #ruby
b00stfr3ak has joined #ruby
gverri has joined #ruby
SloggerKhan has joined #ruby
JohnBat26 has joined #ruby
RaCx has joined #ruby
Hobogrammer has joined #ruby
kireevco1 has joined #ruby
karmatr0n has joined #ruby
mikecmpbll has joined #ruby
diegoviola has joined #ruby
yfeldblum has joined #ruby
sdouglas has joined #ruby
superscott[8] has joined #ruby
zorak has joined #ruby
heftig has joined #ruby
jottr_ has joined #ruby
SCHAAP137 has joined #ruby
carraroj has joined #ruby
lkba has joined #ruby
razrunelord has joined #ruby
mary5030 has joined #ruby
vpretzel has joined #ruby
deric_skibotn has joined #ruby
Tricon has joined #ruby
mikepack has joined #ruby
gr33n7007h has joined #ruby
yeticry has joined #ruby
hamakn has joined #ruby
K3dare has joined #ruby
baroquebobcat has joined #ruby
DanielRb has joined #ruby
rippa has joined #ruby
ixti has joined #ruby
em0ral has joined #ruby
apeiros has joined #ruby
dukedave has joined #ruby
axisys has joined #ruby
ndrei_ has joined #ruby
ndrei has joined #ruby
jespada has joined #ruby
dorei has joined #ruby
jarto has joined #ruby
Pyrotecnix has joined #ruby
Dwarf has joined #ruby
Zackio has joined #ruby
RoryHughes has joined #ruby
grn has joined #ruby
enebo has joined #ruby
jobewan has joined #ruby
obscured has joined #ruby
jprovazn_afk has joined #ruby
net_mask has joined #ruby
ziyadb has joined #ruby
ffranz has joined #ruby
kevind has joined #ruby
Mon_Ouie has joined #ruby
SilverKey has joined #ruby
phutchins has joined #ruby
JasonG_ has joined #ruby
tkuchiki has joined #ruby
dblessing has joined #ruby
vt102 has joined #ruby
nfk has joined #ruby
tus has joined #ruby
jadedgnome has joined #ruby
ldnunes has joined #ruby
robbyoconnor has joined #ruby
freggles has joined #ruby
genta has joined #ruby
MissionCritical has joined #ruby
LiohAu has joined #ruby
tjcravey has joined #ruby
jackneill has joined #ruby
ephemerian has joined #ruby
abdulsattar has joined #ruby
razum2um1 has joined #ruby
ra4king has joined #ruby
Asher has joined #ruby
robustus has joined #ruby
dbu has joined #ruby
gzl has joined #ruby
tcstar has joined #ruby
sinkensabe has joined #ruby
katlogic has joined #ruby
cephalostrum has joined #ruby
amitchellbullard has joined #ruby
cobakobodob has joined #ruby
lagbox has joined #ruby
natewalck has joined #ruby
bjeanes has joined #ruby
lw has joined #ruby
pipework has joined #ruby
TripTastic has joined #ruby
adambeynon has joined #ruby
ELLIOTTCABLE has joined #ruby
littledude has joined #ruby
casheew has joined #ruby
Vivekananda has joined #ruby
parduse has joined #ruby
rickruby has joined #ruby
dandrade has joined #ruby
Roa has joined #ruby
Xuerian has joined #ruby
mbwe has joined #ruby
GeekOnCoffee has joined #ruby
willgorman_ has joined #ruby
Photism has joined #ruby
lbwski has joined #ruby
chridal has joined #ruby
JaTochNietDan has joined #ruby
b1nd has joined #ruby
M-Technic has joined #ruby
sfr^ has joined #ruby
zz_jrhorn424 has joined #ruby
LACP has joined #ruby
nemesit|znc has joined #ruby
Hien has joined #ruby
msch has joined #ruby
MetaCosm has joined #ruby
freannrak has joined #ruby
sivoais has joined #ruby
hellome has joined #ruby
ag4ve_ has joined #ruby
kenndel_ has joined #ruby
prdx has joined #ruby
fumduq has joined #ruby
gwb3 has joined #ruby
justinmcp has joined #ruby
daed has joined #ruby
gtc has joined #ruby
Kruppe has joined #ruby
skinny_much has joined #ruby
mr_rich101 has joined #ruby
Jello_Raptor has joined #ruby
chihhsin has joined #ruby
Lulzon has joined #ruby
Tarential has joined #ruby
pavelz has joined #ruby
preller has joined #ruby
three18ti has joined #ruby
pagioss has joined #ruby
FDj has joined #ruby
bahar has joined #ruby
paulog has joined #ruby
tiguser has joined #ruby
wlanboy has joined #ruby
miah has joined #ruby
sn0wb1rd has joined #ruby
jack_rabbit has joined #ruby
renier has joined #ruby
mgomezch_ has joined #ruby
Sou|cutter has joined #ruby
PhilK has joined #ruby
camt has joined #ruby
Wayneoween has joined #ruby
Doc_X has joined #ruby
tskogberg has joined #ruby
SJr has joined #ruby
toretore has joined #ruby
frode15243 has joined #ruby
thumpba has joined #ruby
ballPointPenguin has joined #ruby
callumacrae has joined #ruby
thoolihan has joined #ruby
faulkner has joined #ruby
Authenticator has joined #ruby
shanlar has joined #ruby
jtz has joined #ruby
nw has joined #ruby
descala has joined #ruby
divbell has joined #ruby
froy has joined #ruby
ahuman has joined #ruby
danshultz has joined #ruby
rs0 has joined #ruby
shaquile has joined #ruby
rcs has joined #ruby
mahlon has joined #ruby
pontiki has joined #ruby
thejoecarroll has joined #ruby
cid404 has joined #ruby
sindork_ has joined #ruby
go|dfish has joined #ruby
Spleeze has joined #ruby
guyz has joined #ruby
Akuma has joined #ruby
philtr has joined #ruby
michael_mbp has joined #ruby
chihhsin_wego has joined #ruby
Anarch has joined #ruby
cwc has joined #ruby
fearoffish has joined #ruby
psmolen has joined #ruby
xiphias has joined #ruby
catepillar has joined #ruby
isomorphismes has joined #ruby
Karunamon has joined #ruby
dioms_ has joined #ruby
xMopxShell has joined #ruby
bmn has joined #ruby
avelldiroll has joined #ruby
Killerkeksdose has joined #ruby
maxmanders has joined #ruby
Drakevr has joined #ruby
sfiggins has joined #ruby
diegok has joined #ruby
Elfix has joined #ruby
Sp4rKy has joined #ruby
jayne has joined #ruby
jeekl has joined #ruby
ponyfleisch has joined #ruby
contradictioned has joined #ruby
Rubeh has joined #ruby
madhatter has joined #ruby
JZTech101 has joined #ruby
kapowaz has joined #ruby
cmaxw_____ has joined #ruby
rtlong has joined #ruby
Sigma00 has joined #ruby
jimeh has joined #ruby
qpls has joined #ruby
tchebb has joined #ruby
xargoon has joined #ruby
jiriki has joined #ruby
FL1SK has joined #ruby
Gnubie_ has joined #ruby
Mars` has joined #ruby
pusewicz has joined #ruby
Macacity has joined #ruby
_KaszpiR_ has joined #ruby
ndrei has quit [Max SendQ exceeded]
ndrei_ has quit [Max SendQ exceeded]
hellome has quit [Max SendQ exceeded]
ndrei has joined #ruby
ValicekB has quit [Max SendQ exceeded]
chris123456789 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alec-c4 has quit [Ping timeout: 260 seconds]
brunops has quit [Ping timeout: 255 seconds]
parduse has quit [Max SendQ exceeded]
Vivekananda has quit [Max SendQ exceeded]
ndrei has quit [Max SendQ exceeded]
yeticry has quit [Max SendQ exceeded]
mrevd has quit [Read error: Connection reset by peer]
CaptainJet has joined #ruby
robbyoconnor has quit [Max SendQ exceeded]
jack_rabbit has quit [Max SendQ exceeded]
* slash_nick
shanks peer
datafirm has quit [Ping timeout: 260 seconds]
Olipro has quit [Max SendQ exceeded]
jack_rabbit has joined #ruby
Vivekananda has joined #ruby
johnmolina has quit [Remote host closed the connection]
parduse has joined #ruby
jxport has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
mordof_home has quit [*.net *.split]
n_b has quit [*.net *.split]
udoprog has quit [*.net *.split]
drager has quit [*.net *.split]
shaman42 has quit [*.net *.split]
JarJarBinks has quit [*.net *.split]
Scient has quit [*.net *.split]
Patteh has quit [*.net *.split]
jokke has quit [*.net *.split]
TTilus has quit [*.net *.split]
BeanDip has quit [*.net *.split]
mhenrixon has quit [*.net *.split]
jaredrhine has quit [*.net *.split]
tommylommykins has quit [*.net *.split]
jpic has quit [*.net *.split]
mjuszczak has quit [*.net *.split]
csmrfx has quit [*.net *.split]
rblackwe has quit [*.net *.split]
flori has quit [*.net *.split]
pdtpatr1ck has quit [*.net *.split]
gremax has quit [*.net *.split]
sirecote has quit [*.net *.split]
idoru has quit [*.net *.split]
SirFunk has quit [*.net *.split]
machuga has quit [*.net *.split]
DanKnox has quit [*.net *.split]
finges has quit [*.net *.split]
slash_nick has quit [*.net *.split]
droptone_ has quit [*.net *.split]
Takumo has quit [*.net *.split]
v0n has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
kiki_lamb has quit [*.net *.split]
sweeper has quit [*.net *.split]
jpinnix_____ has quit [Ping timeout: 252 seconds]
callenb has quit [Ping timeout: 252 seconds]
sweeper has joined #ruby
jxport has joined #ruby
jaredrhine has joined #ruby
slash_nick has joined #ruby
PaulePanter has joined #ruby
TTilus has joined #ruby
droptone has joined #ruby
jpic has joined #ruby
sirecote has joined #ruby
Patteh has joined #ruby
tommylommykins has joined #ruby
flori has joined #ruby
n_b has joined #ruby
mjuszczak has joined #ruby
JarJarBinks has joined #ruby
mhenrixon has joined #ruby
drager has joined #ruby
SirFunk has joined #ruby
mordof_home has joined #ruby
kiki_lamb has joined #ruby
finges has joined #ruby
jokke has joined #ruby
gremax has joined #ruby
johnmolina has joined #ruby
Takumo has joined #ruby
Scient has joined #ruby
udoprog has joined #ruby
volk_ has joined #ruby
mrevd has joined #ruby
idoru has joined #ruby
brunops has joined #ruby
workmad3 has joined #ruby
BeanDip has joined #ruby
slash_nick has quit [Changing host]
slash_nick has joined #ruby
kaspergr_ has quit [Ping timeout: 252 seconds]
glowcoil has quit [Ping timeout: 252 seconds]
ringarin has quit [Ping timeout: 261 seconds]
jeregrine has quit [Ping timeout: 252 seconds]
jpinnix_____ has joined #ruby
glowcoil has joined #ruby
DanKnox has joined #ruby
it_tard has joined #ruby
chris123456789 has joined #ruby
dilated_dinosaur has joined #ruby
v0n has joined #ruby
gzl has quit [Ping timeout: 240 seconds]
chris123456789 has quit [Max SendQ exceeded]
sdouglas has quit [Ping timeout: 264 seconds]
mikecmpb_ has joined #ruby
casheew_ has joined #ruby
chihhsin_ has joined #ruby
sivoais_ has joined #ruby
M-Techni1 has joined #ruby
butter has joined #ruby
gzl has joined #ruby
gzl has joined #ruby
d3scala has joined #ruby
ndrei has joined #ruby
pavelz_ has joined #ruby
FDj_ has joined #ruby
miah_ has joined #ruby
dandrade_ has joined #ruby
<shevy>
what do you shag again slash_nick
daed_ has joined #ruby
pontiki_ has joined #ruby
prdx_ has joined #ruby
Roa_ has joined #ruby
tskogber1 has joined #ruby
machuga has joined #ruby
lemur has quit [Remote host closed the connection]
yeticry has joined #ruby
Pyrotecnix_ has joined #ruby
johnmolina has quit [Ping timeout: 264 seconds]
shaman42 has joined #ruby
mikepack has quit [Remote host closed the connection]
funktor has joined #ruby
<slash_nick>
my peers
callenb has joined #ruby
sdouglas has joined #ruby
CaptainJet has quit [Ping timeout: 240 seconds]
unholycrab has quit [Ping timeout: 245 seconds]
TheMoonMaster has joined #ruby
kireevco1 has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
kireevco has joined #ruby
pdtpatr1ck has joined #ruby
unholycrab has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
Vpex has joined #ruby
jeregrine has joined #ruby
rblackwe has joined #ruby
robbyoconnor has joined #ruby
preller_ has joined #ruby
axisys_ has joined #ruby
SJrX has joined #ruby
emptyflask has quit [*.net *.split]
SloggerKhan has quit [*.net *.split]
superscott[8] has quit [*.net *.split]
zorak has quit [*.net *.split]
SCHAAP137 has quit [*.net *.split]
yfeldblum has quit [*.net *.split]
mikecmpbll has quit [*.net *.split]
diegoviola has quit [*.net *.split]
karmatr0n has quit [*.net *.split]
dukedave has quit [*.net *.split]
vpretzel has quit [*.net *.split]
K3dare has quit [*.net *.split]
ixti has quit [*.net *.split]
rippa has quit [*.net *.split]
baroquebobcat has quit [*.net *.split]
Tricon has quit [*.net *.split]
deric_skibotn has quit [*.net *.split]
Pyrotecnix has quit [*.net *.split]
jespada has quit [*.net *.split]
dorei has quit [*.net *.split]
axisys has quit [*.net *.split]
jarto has quit [*.net *.split]
jobewan has quit [*.net *.split]
jadedgnome has quit [*.net *.split]
JasonG_ has quit [*.net *.split]
nfk has quit [*.net *.split]
vt102 has quit [*.net *.split]
tkuchiki has quit [*.net *.split]
tus has quit [*.net *.split]
ldnunes has quit [*.net *.split]
freggles has quit [*.net *.split]
genta has quit [*.net *.split]
dbu has quit [*.net *.split]
LiohAu has quit [*.net *.split]
MissionCritical has quit [*.net *.split]
jackneill has quit [*.net *.split]
ra4king has quit [*.net *.split]
cephalostrum has quit [*.net *.split]
lw has quit [*.net *.split]
cobakobodob has quit [*.net *.split]
TripTastic has quit [*.net *.split]
casheew has quit [*.net *.split]
Roa has quit [*.net *.split]
dandrade has quit [*.net *.split]
Photism has quit [*.net *.split]
b1nd has quit [*.net *.split]
lbwski has quit [*.net *.split]
M-Technic has quit [*.net *.split]
Doc_X has quit [*.net *.split]
jtz has quit [*.net *.split]
sivoais has quit [*.net *.split]
chridal has quit [*.net *.split]
tiguser has quit [*.net *.split]
wlanboy has quit [*.net *.split]
mr_rich101 has quit [*.net *.split]
Lulzon has quit [*.net *.split]
pontiki has quit [*.net *.split]
bahar has quit [*.net *.split]
toretore has quit [*.net *.split]
chihhsin has quit [*.net *.split]
tskogberg has quit [*.net *.split]
kenndel_ has quit [*.net *.split]
daed has quit [*.net *.split]
SJr has quit [*.net *.split]
prdx has quit [*.net *.split]
preller has quit [*.net *.split]
pavelz has quit [*.net *.split]
ag4ve_ has quit [*.net *.split]
descala has quit [*.net *.split]
camt has quit [*.net *.split]
mgomezch_ has quit [*.net *.split]
three18ti has quit [*.net *.split]
Wayneoween has quit [*.net *.split]
thumpba has quit [*.net *.split]
miah has quit [*.net *.split]
FDj has quit [*.net *.split]
maxmanders has quit [*.net *.split]
danshultz has quit [*.net *.split]
thoolihan has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
faulkner has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
guyz has quit [*.net *.split]
shanlar has quit [*.net *.split]
psmolen has quit [*.net *.split]
nw has quit [*.net *.split]
SJrX is now known as SJr
binaryhat has joined #ruby
wowXD has joined #ruby
mconnolly has quit [Quit: mconnolly]
LiohAu has joined #ruby
ryanniel_ has joined #ruby
mikepack has quit [Ping timeout: 245 seconds]
ryanniel_ is now known as RyanNielson
paulfm has joined #ruby
JasonG_ has joined #ruby
Wayneoween has joined #ruby
b1nd has joined #ruby
csmrfx has joined #ruby
jackneill has joined #ruby
Olipro has joined #ruby
dukedave has joined #ruby
ldnunes has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
ValicekB has joined #ruby
mgomezch has joined #ruby
postmodern has joined #ruby
genta has joined #ruby
anaeem1_ has joined #ruby
maxmanders has joined #ruby
ringarin has joined #ruby
little_fu has joined #ruby
wowXD has quit [Ping timeout: 245 seconds]
stytown has joined #ruby
sunya7a has joined #ruby
SCHAAP137 has joined #ruby
simplyaubs has joined #ruby
chrishough has quit [Quit: chrishough]
cheem has joined #ruby
lbwski has joined #ruby
tier has quit [Remote host closed the connection]
little_f_ has joined #ruby
jonahR has joined #ruby
little_fu has quit [Ping timeout: 245 seconds]
dc has joined #ruby
little_f_ has quit [Read error: Connection reset by peer]
smaboshe has left #ruby [#ruby]
little_fu has joined #ruby
mikecmpb_ has quit [Quit: i've nodded off.]
stytown_ has joined #ruby
Wolland has joined #ruby
little_f_ has joined #ruby
simplyaubs has quit [Ping timeout: 255 seconds]
tvatt has joined #ruby
troyready has joined #ruby
chrishough has joined #ruby
stytown has quit [Ping timeout: 264 seconds]
stytown_ is now known as stytown
mikecmpbll has joined #ruby
fgo has joined #ruby
diegoviola has joined #ruby
j^2_ has joined #ruby
dilated_dinosaur has quit [Ping timeout: 260 seconds]
j^2_ has quit [Client Quit]
mconnolly has joined #ruby
doev has joined #ruby
little_fu has quit [Ping timeout: 252 seconds]
momomomomo has joined #ruby
cpruitt has quit [Quit: cpruitt]
jackneill has quit [Read error: Connection reset by peer]
nemesit|znc has quit [Ping timeout: 240 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
cpruitt has joined #ruby
little_fu has joined #ruby
<tvatt>
can some help me out with an install issue (new to ruby and need some help figure out the install error)
<diegoviola>
i have a hash of hashes with numbers as the keys, that hash is empty currently, but i need to add values to it if the keys are equal to the id's of another hash, how do i go into doing this?
dilated_dinosaur has joined #ruby
<diegoviola>
do i use #merge?
little___ has joined #ruby
<jhass>
yes, sounds like a sane option
pu22l3r has joined #ruby
<jhass>
#merge will add all keys of the other hash though
tier has joined #ruby
RyanNielson has quit []
pp_ has joined #ruby
<diegoviola>
i just want to merge the values
fgo has quit [Ping timeout: 264 seconds]
<jhass>
so essentially you have a list of keys and want to slice them out of a hash
jobewan has joined #ruby
nemesit|znc has joined #ruby
ixti has joined #ruby
little_f_ has quit [Ping timeout: 245 seconds]
jcromartie has joined #ruby
sunya7a_ has joined #ruby
kireevco has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
MissionCritical has joined #ruby
defrang has left #ruby [#ruby]
binaryhat has quit [Remote host closed the connection]
<havenwood>
tvatt: what are you running to get that error?
<havenwood>
tvatt: yes, there's a bug - something to do with the hyla and commander gems
kireevco has joined #ruby
lxndryng has joined #ruby
RaCx has quit [Ping timeout: 240 seconds]
RaCx_ is now known as RaCx
cheem has quit [Quit: cheem]
mjsmith2 has joined #ruby
<diegoviola>
jhass: thanks
<diegoviola>
thanks guys
<heftig>
depending on how big the hash and the array are, intersecting the keys might be cheaper than iterating over the hash and linear-scanning the array every iteration
ag4ve___ has joined #ruby
lxndryng has quit [Remote host closed the connection]
little_fu has quit [Ping timeout: 240 seconds]
mconnolly has joined #ruby
<havenwood>
tvatt: my guess would be that commander 4.2 breaks hyla
ianbrandt has joined #ruby
djbkd has quit [Remote host closed the connection]
<havenwood>
tvatt: you could try editing hyla's hyla.gemspec and setting the commander version to exactly 4.1.3
Wolland has quit [Remote host closed the connection]
<havenwood>
tvatt: to get back the original: gem pristine hyla
Wolland has joined #ruby
elaptics is now known as elaptics`away
<tvatt>
@havenwood ok I will give it a go, thanks for your help
SBoolean has quit [Ping timeout: 255 seconds]
GriffinHeart has joined #ruby
clov3r has joined #ruby
clov3r has quit [Client Quit]
lxndryng has joined #ruby
clov3r has joined #ruby
decoponio has quit [Quit: Leaving...]
lxndryng has quit [Client Quit]
lxndryng has joined #ruby
miah_ is now known as miah
lxndryng has quit [Client Quit]
lxndryng has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Wolland has quit [Ping timeout: 248 seconds]
johnmolina has joined #ruby
Takle has quit [Remote host closed the connection]
kireevco has quit [Quit: Leaving.]
GriffinHeart has quit [Ping timeout: 240 seconds]
SBoolean has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
Asher has quit [Quit: Leaving.]
Asher has joined #ruby
sdouglas has quit [Remote host closed the connection]
casheew_ has left #ruby [#ruby]
kireevco has joined #ruby
sdouglas has joined #ruby
iceden has joined #ruby
<shevy>
anyone of you is compiling a lot of stuff with clang?
paulfm has quit []
M_3212 has quit [Quit: Leaving]
lxndryng has left #ruby [#ruby]
casheew has joined #ruby
Royalb15 has joined #ruby
mattmcclure has joined #ruby
paulfm has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
yubrew has quit []
ianbrandt_ has joined #ruby
ianbrandt has quit [Read error: Connection reset by peer]
ianbrandt_ is now known as ianbrandt
paulfm has joined #ruby
Eyes has quit [Remote host closed the connection]
sdouglas has quit [Ping timeout: 240 seconds]
Eyes has joined #ruby
yubrew has joined #ruby
yfeldblum has quit [Remote host closed the connection]
shvelo has joined #ruby
fayimora has quit [Quit: Connection closed for inactivity]
<wasamasa>
heftig: ohi
nanoyak has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
ndrei__ has quit [Ping timeout: 260 seconds]
dukedave has quit [Ping timeout: 240 seconds]
lemur has joined #ruby
Takle has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
goshdarnyou has joined #ruby
keystonelemur has joined #ruby
Vivekananda has quit [Ping timeout: 252 seconds]
bbloom has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cocotton has joined #ruby
phutchins has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
jamto11 has joined #ruby
jacobat has joined #ruby
dc has quit []
lemur has quit [Ping timeout: 248 seconds]
cocotton_ has joined #ruby
superscott[8] has quit [Remote host closed the connection]
Royalb15 has quit [Quit: Leaving]
cocotton has quit [Read error: Connection reset by peer]
superscott[8] has joined #ruby
<wasamasa>
btw
maroloccio has quit [Quit: WeeChat 0.4.3]
karmatr0n has joined #ruby
RaCx has quit [Ping timeout: 255 seconds]
<wasamasa>
I've written a small scraping script in both ruby and python, but it seems like the guy who was wondering what would be more fit for web-related tasks is long gone
RaCx has joined #ruby
cocotton has joined #ruby
wowXD has joined #ruby
mconnolly has joined #ruby
jprovazn_afk has quit [Quit: Odcházím]
DanielI has quit [Quit: Leaving]
cocotton_ has quit [Ping timeout: 264 seconds]
djbkd has quit [Remote host closed the connection]
<gr33n7007h>
any one used httparty?
kireevco has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
binaryhat has quit [Remote host closed the connection]
dilated_dinosaur has quit [Ping timeout: 260 seconds]
dh64 has joined #ruby
ndrei has joined #ruby
ndrei_ has joined #ruby
edmellum has quit [Quit: Connection closed for inactivity]
agent_white has joined #ruby
superscott[8] has quit [Remote host closed the connection]
superscott[8] has joined #ruby
mityaz has joined #ruby
dilated_dinosaur has joined #ruby
b00stfr3ak has quit [Ping timeout: 240 seconds]
superscott[8] has quit [Remote host closed the connection]
fgo has joined #ruby
superscott[8] has joined #ruby
superscott[8] has quit [Remote host closed the connection]
<FelipeAbella>
Is there an editor-like interactive shell for ruby? What I mean is something like reinteract (for python), it's like an usual editor, but every time I save the file, it runs it, and outputs the result of each command right beneath it.
superscott[8] has joined #ruby
mgberlin has joined #ruby
jamto11 has quit [Ping timeout: 264 seconds]
<zenojis>
yes
<zenojis>
interactive gem
<zenojis>
with irb
mgberlin has quit [Remote host closed the connection]
<FelipeAbella>
zenojis, I'll try that, thanks!
<zenojis>
you can set it to use whatever editor you want, it runs the code whenever you exit the editor
saarinen has quit [Quit: saarinen]
fgo has quit [Ping timeout: 240 seconds]
<jhass>
FelipeAbella: also rcodetools xmpfilter
<jhass>
has integration with most editors
maroloccio has joined #ruby
<FelipeAbella>
jhass, I'll look this too. Thanks!
<jhass>
seeing_is_believing is another alternative but with less integrations
b00stfr3ak has joined #ruby
charliesome has joined #ruby
Pwnna has joined #ruby
<Pwnna>
Is there a way to return a block?
<Pwnna>
basically i want to wrap a block with some other functionalities and then return that new block
<jhass>
Pwnna: not directly but you can return a proc or a lambda and convert a block into a proc
<jhass>
and a proc into a block
<Pwnna>
how do you do that?
mengu has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
auxbuss has quit [Client Quit]
dc has quit []
grieg has quit [Quit: Leaving]
net_mask has quit [Ping timeout: 255 seconds]
doodlehaus has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
sunya7a has joined #ruby
mjsmith2 has quit [Remote host closed the connection]
Pyrotecnix_ is now known as Pyrotecnix
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pyrotecnix is now known as Pyrotecnix-Away
Trynemjoel has quit [Quit: Trynemjoel]
mjsmith2_ has joined #ruby
andrewlio has joined #ruby
Sammael has joined #ruby
andrewjanssen has joined #ruby
kireevco has quit [Read error: Connection reset by peer]
Trynemjoel has joined #ruby
kireevco has joined #ruby
Takle has joined #ruby
edgarjs is now known as edgarjs_afk
rixius has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
thesheff17 has quit [Ping timeout: 245 seconds]
RaCx has joined #ruby
dblessing has quit [Quit: dblessing]
andrewlio has quit [Quit: Leaving.]
kirun has quit [Quit: Client exiting]
saarinen has quit [Quit: saarinen]
sinkensabe has joined #ruby
Bira has joined #ruby
it_tard has quit [Quit: yawn]
saarinen has joined #ruby
<diegoviola>
i have two arrays that i'm hoping to combine somehow, one of the array has the same numbers (IDs) that I'm hoping to combine somehow, and then extract the combined data by the ID
<diegoviola>
is there a way to do that? please?
<diegoviola>
actually, both arrays have IDs
<diegoviola>
I'd like to get an array back of the combined data so I could iterate with #each on it
nanoyak has quit [Quit: Computer has gone to sleep.]
<diegoviola>
I don't want an array of arrays, just combine the data in them by the IDs and get the combined data as a new array
mjsmith2_ has quit [Remote host closed the connection]
sailias has quit [Quit: Leaving.]
alec-c4 has joined #ruby
wowXD has quit [Ping timeout: 248 seconds]
yfeldblum has joined #ruby
ghr has joined #ruby
AlexRussia has quit [Read error: Connection reset by peer]
ag4ve___ has quit [Ping timeout: 244 seconds]
ninegrid has joined #ruby
jezen has quit [Remote host closed the connection]
Poky has quit [Ping timeout: 255 seconds]
AlexRussia has joined #ruby
edgarjs_afk is now known as edgarjs
alec-c4 has quit [Ping timeout: 245 seconds]
geggam has quit [Ping timeout: 264 seconds]
SCHAAP137 has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kireevco has quit [Quit: Leaving.]
fgo has joined #ruby
x1337807x has joined #ruby
x1337807x has quit [Client Quit]
geggam has joined #ruby
<rixius>
diegoviola: There are a lot of repeated numbers within each array. It would be a lot easier to offer advice if I knew what to even think looking at these two arrays.
ghr has quit [Ping timeout: 255 seconds]
shvelo has quit [Ping timeout: 264 seconds]
relix has joined #ruby
<rixius>
It's really easy for anyone to forget that others don't have the context you have. Happens to me all the time.
SCHAAP137 has joined #ruby
<diegoviola>
rixius: i see, thanks
<diegoviola>
yeah that data is confusing to me also
SCHAAP137 has quit [Read error: Connection reset by peer]
rixius has quit [Quit: Lost terminal]
funktor has quit []
sinkensabe has quit [Remote host closed the connection]
Mattx has joined #ruby
stytown has quit [Quit: stytown]
<Mattx>
Hello guys
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
fgo has quit [Ping timeout: 264 seconds]
<Mattx>
so I have some classes which inherits from a parent class called MyModel lets say
rdavila has joined #ruby
<Mattx>
class Course < MyModel type "fo" end class Lecture < MyModel type "bar" end
lemur has quit [Remote host closed the connection]
Valesk has joined #ruby
<Mattx>
this type method is a class method defined in MyModel, and it only saves the value: def self.type(text) @@type = text end
sepp2k has quit [Read error: Connection reset by peer]
<Mattx>
the problem is that @@type is the same for ALL classes inheriting MyModel
<Senjai>
Mattx: Use gist
funktor has joined #ruby
riotjones has joined #ruby
<Mattx>
my intention was to change @@type in each child class, not in its parent