apeiros_ changed the topic of #ruby-lang to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com
cnivolle has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
nopc0de is now known as zz_nopc0de
brianpWins has joined #ruby-lang
brianpWins has quit [Client Quit]
diegoviola has joined #ruby-lang
pr0ton_ has joined #ruby-lang
Atw has joined #ruby-lang
charliesome has joined #ruby-lang
pr0ton_ has quit [Client Quit]
simoz111115 has joined #ruby-lang
pr0ton_ has joined #ruby-lang
Atw has quit [Client Quit]
Attww has joined #ruby-lang
toastynerd has joined #ruby-lang
ddv has quit [Ping timeout: 245 seconds]
toastynerd has quit [Remote host closed the connection]
ddv has joined #ruby-lang
pr0ton_ has quit [Ping timeout: 240 seconds]
kitak has joined #ruby-lang
Attww is now known as Atttwww
snsei has quit [Remote host closed the connection]
snsei has joined #ruby-lang
snsei has quit [Remote host closed the connection]
snsei has joined #ruby-lang
enebo has joined #ruby-lang
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
enebo has quit [Client Quit]
diegoviola has quit [Quit: WeeChat 0.4.3]
kitak_ has joined #ruby-lang
moogumbo has quit [Quit: Connection closed for inactivity]
kitak has quit [Ping timeout: 240 seconds]
Dim__ has quit [Quit: Leaving]
mykoweb has joined #ruby-lang
faces has quit [Ping timeout: 245 seconds]
alexju has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
Miphix has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
mykoweb has quit [Ping timeout: 265 seconds]
nathanstitt has joined #ruby-lang
guns has joined #ruby-lang
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistym has quit [Remote host closed the connection]
centrx has quit [Quit: All this computer hacking is making me thirsty]
yfeldblum has quit [Remote host closed the connection]
rckernel has joined #ruby-lang
nofxx has joined #ruby-lang
nofxx has quit [Changing host]
nofxx has joined #ruby-lang
mykoweb has joined #ruby-lang
snsei has quit [Remote host closed the connection]
Cakey has joined #ruby-lang
sepp2k has quit [Read error: Connection reset by peer]
wallerdev has quit [Quit: wallerdev]
nofxx has quit [Remote host closed the connection]
rckernel has quit [Quit: rckernel]
nofxx has joined #ruby-lang
tdy has quit [Ping timeout: 252 seconds]
tdy has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
nofxx has quit [Ping timeout: 276 seconds]
mykoweb has joined #ruby-lang
junkmechanic_ has quit [Ping timeout: 240 seconds]
spuk_ has joined #ruby-lang
gix has quit [Ping timeout: 276 seconds]
hahuang65 has joined #ruby-lang
mykoweb has quit [Ping timeout: 240 seconds]
spuk has quit [Ping timeout: 240 seconds]
gix has joined #ruby-lang
yfeldblum has joined #ruby-lang
Cakey has quit [Ping timeout: 252 seconds]
mykoweb has joined #ruby-lang
dingus_khan has joined #ruby-lang
Cakey has joined #ruby-lang
dingus_khan has quit [Ping timeout: 264 seconds]
amclain has joined #ruby-lang
tkuchiki has joined #ruby-lang
marcdel has joined #ruby-lang
wallerdev has joined #ruby-lang
mistym has joined #ruby-lang
marcdel has quit [Ping timeout: 265 seconds]
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
mykoweb has quit [Read error: No route to host]
mykoweb has joined #ruby-lang
marcdel has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
mykoweb_ has joined #ruby-lang
mistym has quit [Remote host closed the connection]
mykoweb has quit [Ping timeout: 240 seconds]
spuk_ has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 258 seconds]
gix has quit [Ping timeout: 265 seconds]
marcdel has quit []
mykoweb_ has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
spuk has joined #ruby-lang
gix has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shinnya has joined #ruby-lang
mykoweb has quit [Ping timeout: 240 seconds]
snsei has joined #ruby-lang
snsei has quit [Remote host closed the connection]
mistym has joined #ruby-lang
snsei has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
dingus_khan has joined #ruby-lang
alexju has quit [Remote host closed the connection]
dingus_khan has quit [Ping timeout: 264 seconds]
Cakey has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby-lang
knu has joined #ruby-lang
arooni-mobile has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
knu has quit [Ping timeout: 252 seconds]
kitak_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
kitak has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
DevDoo has joined #ruby-lang
DevDoo has quit [Remote host closed the connection]
DevDoo has joined #ruby-lang
stardiviner has joined #ruby-lang
DevDoo has quit [Read error: Connection reset by peer]
DevDoo has joined #ruby-lang
arooni-mobile has joined #ruby-lang
Cakey has joined #ruby-lang
nathanstitt has joined #ruby-lang
spuk has quit [Ping timeout: 252 seconds]
jsullivandigs has quit [Remote host closed the connection]
axv has joined #ruby-lang
cored has quit [Ping timeout: 276 seconds]
Cakey has quit [Ping timeout: 252 seconds]
nathanstitt has quit [Quit: I growing sleepy]
dingus_khan has joined #ruby-lang
luiz_ has quit [Ping timeout: 276 seconds]
axv has quit [Ping timeout: 240 seconds]
knu has joined #ruby-lang
axv has joined #ruby-lang
simoz111115 has quit [Ping timeout: 258 seconds]
axv has quit [Client Quit]
robbyoconnor has quit [Excess Flood]
luiz_ has joined #ruby-lang
robbyoconnor has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
momomomomo has joined #ruby-lang
yfeldblum has quit [Ping timeout: 258 seconds]
tkuchiki has quit [Quit: Leaving...]
|jemc| has joined #ruby-lang
dnewkerk-keyz_ has joined #ruby-lang
junkmechanic_ has joined #ruby-lang
dnewkerk-keyz has quit [Ping timeout: 252 seconds]
dnewkerk-keyz_ is now known as dnewkerk-keyz
toastynerd has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
snsei has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
shinnya has quit [Ping timeout: 240 seconds]
luiz_ has quit [Ping timeout: 265 seconds]
tkuchiki has quit [Quit: Leaving...]
tkuchiki has joined #ruby-lang
luiz_ has joined #ruby-lang
junkmechanic_ has quit [Ping timeout: 252 seconds]
guns has quit [Quit: guns]
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
mahlon has quit [Read error: Connection reset by peer]
DevDoo has quit [Quit: Leaving...]
mahlon has joined #ruby-lang
|jemc| has quit [Ping timeout: 252 seconds]
marcdel has joined #ruby-lang
ur5us has joined #ruby-lang
dnewkerk-keyz has quit [Quit: dnewkerk-keyz]
momomomomo has quit [Quit: momomomomo]
dingus_khan has quit [Read error: Connection reset by peer]
dingus_khan has joined #ruby-lang
marcdel has quit [Ping timeout: 276 seconds]
kitak has quit [Remote host closed the connection]
marcdel has joined #ruby-lang
kitak has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
agarie has quit [Quit: Leaving...]
amclain has quit [Quit: Leaving]
yatish27 has joined #ruby-lang
tbuehlmann has joined #ruby-lang
kyb3r_ has quit [Read error: Connection reset by peer]
luiz_ has quit [Ping timeout: 240 seconds]
Cakey has joined #ruby-lang
luiz_ has joined #ruby-lang
dingus_khan has joined #ruby-lang
Cakey has quit [Ping timeout: 252 seconds]
dingus_khan has quit [Ping timeout: 245 seconds]
marcdel has quit []
arooni-mobile has quit [Remote host closed the connection]
marcdel has joined #ruby-lang
alexju has joined #ruby-lang
luiz_ has quit [Ping timeout: 240 seconds]
luiz_ has joined #ruby-lang
yoshiki_ has joined #ruby-lang
phansch has joined #ruby-lang
Cakey has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
yoshiki_ has quit [Quit: Leaving]
Cakey has quit [Ping timeout: 264 seconds]
apeiros has joined #ruby-lang
toastynerd has joined #ruby-lang
luiz_ has quit [Ping timeout: 252 seconds]
luiz_ has joined #ruby-lang
marcdel has quit []
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
luiz_ has quit [Ping timeout: 258 seconds]
luiz_ has joined #ruby-lang
_ht has joined #ruby-lang
kitak has quit [Remote host closed the connection]
zz_nopc0de is now known as nopc0de
codename539 has joined #ruby-lang
Andromeda has joined #ruby-lang
CodeBunny has quit [Quit: CodeBunny needs a carrot. Be back later.]
dingus_khan has joined #ruby-lang
GBrawl has joined #ruby-lang
dingus_khan has quit [Ping timeout: 258 seconds]
nopc0de is now known as zz_nopc0de
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
Andromeda has quit [Remote host closed the connection]
Andromeda has joined #ruby-lang
mistym has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
Andromeda has quit []
face has joined #ruby-lang
luiz_ has quit [Ping timeout: 265 seconds]
danijoo_ has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
jhass|off is now known as jhass
kitak has joined #ruby-lang
GBrawl has quit [Ping timeout: 265 seconds]
GBrawl has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
CodeBunny has joined #ruby-lang
yatish27 has quit [Ping timeout: 258 seconds]
yatish27 has joined #ruby-lang
codename539 has quit [Remote host closed the connection]
dmitrykorotkov has joined #ruby-lang
woollyams has joined #ruby-lang
jxie has quit [Read error: Connection reset by peer]
Miphix has quit [Quit: Leaving]
jxie has joined #ruby-lang
dingus_khan has joined #ruby-lang
Miphix has joined #ruby-lang
lokeshguddu has joined #ruby-lang
dingus_khan has quit [Ping timeout: 240 seconds]
phansch has quit [Quit: WeeChat 0.4.3]
lokeshguddu has quit [Client Quit]
phansch has joined #ruby-lang
axv has joined #ruby-lang
shinnya has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
wallerdev has quit [Quit: wallerdev]
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
kitak has quit [Remote host closed the connection]
kitak has joined #ruby-lang
phansch has quit [Quit: WeeChat 0.4.3]
phansch has joined #ruby-lang
alexju has quit [Remote host closed the connection]
Miphix has quit [Quit: Leaving]
ur5us has joined #ruby-lang
axv has quit []
Miphix has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
mistym has quit [Remote host closed the connection]
yatish27 has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby-lang
thomasxie has joined #ruby-lang
DEac-_ has joined #ruby-lang
DEac- has quit [Read error: Connection reset by peer]
dingus_khan has joined #ruby-lang
dingus_khan has quit [Ping timeout: 240 seconds]
shinnya has quit [Remote host closed the connection]
kitak has quit [Remote host closed the connection]
shinnya has joined #ruby-lang
toastynerd has joined #ruby-lang
kitak has joined #ruby-lang
toastynerd has quit [Ping timeout: 258 seconds]
kitak_ has joined #ruby-lang
agt_the_walker has joined #ruby-lang
kitak has quit [Ping timeout: 240 seconds]
kitak_ has quit [Remote host closed the connection]
toastynerd has joined #ruby-lang
thomasxie has quit [Remote host closed the connection]
matp has quit [Remote host closed the connection]
toastynerd has quit [Ping timeout: 252 seconds]
stef_204 has joined #ruby-lang
zz_nopc0de is now known as nopc0de
marcdel has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
marcdel_ has joined #ruby-lang
marcdel_ has quit [Client Quit]
agt_the_walker has quit [Quit: Leaving]
Rylee has quit [Max SendQ exceeded]
marcdel has quit [Ping timeout: 258 seconds]
araujo has quit [Quit: Leaving]
dingus_khan has joined #ruby-lang
sarkyniin has joined #ruby-lang
dingus_khan has quit [Ping timeout: 245 seconds]
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
stamina has joined #ruby-lang
banister has joined #ruby-lang
GBrawl has quit [Quit: Lingo - http://lingoirc.com]
banister has quit [Ping timeout: 240 seconds]
sepp2k has joined #ruby-lang
Rylee has joined #ruby-lang
mikecmpbll has joined #ruby-lang
bubodlack has quit [Quit: Leaving...]
t4nk410 has joined #ruby-lang
faces has joined #ruby-lang
<t4nk410> Hello, i have a question. I'm writing a rails application. I have this class: http://pastebin.com/0uCMhzr7. if i call the name or lastname method in my view, i get a NoMethodError in StaticPages#filters: undefined method `size' for nil:NilClass
<t4nk410> whats wrong with this two methods?
vjacob has joined #ruby-lang
face has quit [Ping timeout: 276 seconds]
<jhass> >> ["".split("/"), "".split("/").first]
<eval-in__> jhass => [[], nil] (https://eval.in/156367)
<jhass> t4nk410: ^
GBrawl has joined #ruby-lang
bubodlack has joined #ruby-lang
<jhass> so preferably store firstname and lastname separately, if that's not possible, do something like def name; @name.split("/").first || "(no firstname found)"; end; def lastname; @name.split("/").last || "(no lastname)"; end
<jhass> that'll yield the same thing for both methods if the @name is non-empty and doesn't contain a "/" though
<jhass> replace .last by [1] to return it in name as firstname
<jhass> btw. you can replace your id method with attr_reader :id
michd is now known as MichD
toastynerd has joined #ruby-lang
<t4nk410> than you
<t4nk410> thank*
<t4nk410> but i do not really see why my solution does not work
<jhass> because split on an empty string returns an empty array and first on an empty array returns nil
<jhass> on which you can't call size
robmiller has joined #ruby-lang
<t4nk410> i see
MichD is now known as michd
michd has quit [Quit: Bai!]
toastynerd has quit [Ping timeout: 252 seconds]
franzip has joined #ruby-lang
yfeldblum has quit [Ping timeout: 276 seconds]
michd has joined #ruby-lang
thomasxie has joined #ruby-lang
dingus_khan has joined #ruby-lang
Atttwww has quit [Ping timeout: 276 seconds]
dingus_khan has quit [Ping timeout: 264 seconds]
robmiller has quit [Quit: Leaving.]
kitak has joined #ruby-lang
snsei has joined #ruby-lang
yfeldblum has joined #ruby-lang
alex-quiterio has joined #ruby-lang
benlovell has joined #ruby-lang
snsei has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
ur5us has quit [Remote host closed the connection]
junkmechanic_ has joined #ruby-lang
thomasxie has quit [Quit: Leaving.]
alex-quiterio has quit [Quit: Leaving.]
nofxx_ has quit [Ping timeout: 252 seconds]
robmiller has joined #ruby-lang
toretore has joined #ruby-lang
toastynerd has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
frobrob has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby-lang
toastynerd has quit [Ping timeout: 265 seconds]
frobrob has joined #ruby-lang
spuk has joined #ruby-lang
cored has joined #ruby-lang
bubodlack has quit [Read error: Connection reset by peer]
simono has joined #ruby-lang
mr-foobar has quit [Read error: Connection reset by peer]
bubodlack has joined #ruby-lang
mr-foobar has joined #ruby-lang
bubodlack has quit [Read error: Connection reset by peer]
bubodlack has joined #ruby-lang
sarkyniin has quit [Ping timeout: 276 seconds]
dingus_khan has joined #ruby-lang
bubodlac has joined #ruby-lang
robmiller has quit [Quit: Leaving.]
bubodlack has quit [Ping timeout: 240 seconds]
woollyams has joined #ruby-lang
dingus_khan has quit [Ping timeout: 252 seconds]
t4nk410 has quit [Quit: Page closed]
stayarrr has joined #ruby-lang
cored has quit [Ping timeout: 265 seconds]
woollyams has quit [Ping timeout: 252 seconds]
cnivolle has joined #ruby-lang
benlovell has quit [Ping timeout: 240 seconds]
phansch has quit [Quit: WeeChat 0.4.3]
kyb3r_ has joined #ruby-lang
postmodern has quit [Quit: Leaving]
GBrawl has quit [Quit: Computer has gone to sleep.]
GBrawl has joined #ruby-lang
ur5us has joined #ruby-lang
Miphix has quit [Quit: Leaving]
toastynerd has joined #ruby-lang
robmiller has joined #ruby-lang
robmiller has quit [Client Quit]
toastynerd has quit [Read error: No route to host]
toastynerd has joined #ruby-lang
ur5us has quit [Ping timeout: 240 seconds]
bubodlack has joined #ruby-lang
bubodlac has quit [Ping timeout: 252 seconds]
toastynerd has quit [Ping timeout: 258 seconds]
banister has joined #ruby-lang
GBrawl has quit [Quit: Computer has gone to sleep.]
snsei has joined #ruby-lang
bubodlack is now known as bubodlack|away
Miphix has joined #ruby-lang
Miphix has quit [Remote host closed the connection]
Miphix has joined #ruby-lang
snsei has quit [Remote host closed the connection]
snsei has joined #ruby-lang
snsei has quit [Remote host closed the connection]
snsei has joined #ruby-lang
snsei has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
kyb3r_ has quit [Quit: Leaving]
snsei has joined #ruby-lang
davs has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
davs has quit [Client Quit]
Burgestrand has joined #ruby-lang
frobrob has quit [Ping timeout: 264 seconds]
snsei has quit [Ping timeout: 252 seconds]
stamina has quit [Quit: WeeChat 0.4.3]
alex-quiterio has joined #ruby-lang
diegoviola has joined #ruby-lang
chouhoulis has joined #ruby-lang
alex-quiterio has quit [Quit: Leaving.]
bubodlack|away is now known as bubodlack
toastynerd has joined #ruby-lang
matp has joined #ruby-lang
bubodlac has joined #ruby-lang
bubodlack has quit [Ping timeout: 276 seconds]
toastynerd has quit [Ping timeout: 252 seconds]
bubodlac is now known as bubodlack
stayarrr has quit [Quit: Leaving...]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dingus_khan has joined #ruby-lang
havenwood has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
dingus_khan has quit [Ping timeout: 258 seconds]
Silex has quit [Ping timeout: 240 seconds]
Silex has joined #ruby-lang
ascarter_ has joined #ruby-lang
ascarter_ has quit [Client Quit]
ascarter_ has joined #ruby-lang
ascarter_ has quit [Client Quit]
ascarter_ has joined #ruby-lang
ascarter_ has quit [Read error: Connection reset by peer]
sarkyniin has joined #ruby-lang
GBrawl has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.3]
joast has quit [Quit: Leaving.]
GBrawl has quit [Ping timeout: 276 seconds]
banister has joined #ruby-lang
omosoj has joined #ruby-lang
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yatish27 has joined #ruby-lang
relix has joined #ruby-lang
roelof_ has joined #ruby-lang
joast has joined #ruby-lang
shinnya has quit [Read error: No route to host]
banister has quit [Client Quit]
<roelof_> Can anyone help me with this annoying problem : https://railsforum.com/topic/1939-why-does-this-not-work/
<apeiros> roelof_: I'm pretty sure your method should return the sorted array. it doesn't do that.
<apeiros> roelof_: also note that mutating arguments you get is bad behavior
<roelof_> apeiros: nope. when I change puts into return I see a message that there is nothing printed to the console
<roelof_> apeiros: what do you mean with the last sentence ?
<apeiros> >> def s!(a); a.sort!; end; ar = [2,1,3]; s!(ar); ar # <-- bad, ar should not be modified
<eval-in__> apeiros => [1, 2, 3] (https://eval.in/156417)
<apeiros> >> def s!(a); a.sort; end; ar = [2,1,3]; s!(ar); ar # <-- good, ar is not modified
<eval-in__> apeiros => [2, 1, 3] (https://eval.in/156418)
yatish27 has quit [Remote host closed the connection]
shinnya has joined #ruby-lang
sarkyniin has quit [Ping timeout: 245 seconds]
<roelof_> apeiros: I understand but the assignment specificy says this : http://pastebin.com/KL9gNRWc
yatish27 has joined #ruby-lang
centrx has joined #ruby-lang
<apeiros> so sad
<roelof_> apeiros: then there must be someone who sends a remark to CodeAcedemy that they schould change the course
<roelof_> but the wierdest thing is that if you run it . my programm gives the right output
<roelof_> So I have no idea why it get rejected
<apeiros> can't tell either
<roelof_> pity , then I hope someone from CodeAcademy can tell me that. I will send a message to them
<roelof_> apeiros: thanks for the help
chouhoulis has quit [Remote host closed the connection]
yatish27 has quit [Ping timeout: 245 seconds]
toastynerd has joined #ruby-lang
<roelof_> apeiros: or do you know a better free online course ?
oetjenj has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
<apeiros> nope
sheperson has joined #ruby-lang
toastynerd has quit [Ping timeout: 264 seconds]
snsei has joined #ruby-lang
enebo has joined #ruby-lang
<centrx> roelof_, Check out Ruby Koans or Ruby Monk. Though, they are not so much in the form of a "course", and CodeAcademy is good too.
<roelof_> centrx: oke, I do now CodeAcademy and im stuck at a exercise
<centrx> roelof_, Don't give up! :)
<roelof_> I will look at the other two
<centrx> If you're stuck, it means you have something to learn
<centrx> (unless it sounds like maybe there is a bug or something)
<roelof_> centrx: I m not giving up but I really do not understand what I do wrong
<roelof_> I does what it suppose to do and still I see a error message
stayarrr has joined #ruby-lang
pskosinski has joined #ruby-lang
enebo has quit [Quit: enebo]
dingus_khan has joined #ruby-lang
<roelof_> centrx: do you have a idea where I get wrong or do I have found a bug
omosoj has quit [Ping timeout: 252 seconds]
alex-quiterio has joined #ruby-lang
snsei has quit [Remote host closed the connection]
<ari-_-e> roelof_: do you have a link to the assignment?
sarkyniin has joined #ruby-lang
dingus_khan has quit [Ping timeout: 252 seconds]
mykoweb has joined #ruby-lang
<centrx> roelof_, "default to alphabetizing an array when it doesn't receive a second parameter."
<centrx> roelof_, but you have the second parameter as reverse/rev=false
stayarrr has quit [Quit: Leaving...]
<centrx> roelof_, which doesn't affect the sorting in the code?
alexju has joined #ruby-lang
<roelof_> centrx: when I try with a second arugument and without I see that things are sorted the right way
omosoj has joined #ruby-lang
GBrawl has joined #ruby-lang
yfeldblum has joined #ruby-lang
sheperson has quit [Ping timeout: 265 seconds]
sheperson_ has joined #ruby-lang
shinnya has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
<centrx> roelof_, It is definitely possible it is just a bug in CodeAcademy
<roelof_> centrx: There is something with the if then. If I delete it , the error message is also gone
<centrx> roelof_, Your code seems to follow the instructions
postmodern has joined #ruby-lang
<centrx> Maybe you are submitting it for an earlier question in the sequence accidentally, before the question about the if-statement with reverse?
<centrx> (or maybe it thinks you are)
<roelof_> Not that I aware of it
<roelof_> centrx: I will fill in a bug report on that and I hope that its get solved soon . Then I can work on and learn ruby
<roelof_> thanks for the help
<centrx> Great!
hellome has quit [Ping timeout: 240 seconds]
<centrx> roelof_, Is there no way to skip ahead in CodeAcademy, since it flags your answer for this question as "wrong"?
<roelof_> centrx: I found a way. just choose the next assignment . I can now begin at Hashes and symbols
funnel has quit [Ping timeout: 252 seconds]
<centrx> Excellent, those are very useful and interesting
dmitrykorotkov has quit [Ping timeout: 252 seconds]
<roelof_> centrx: they begin with things that are already discussed in earlier lessons
alex-quiterio has quit [Quit: Leaving.]
jsullivandigs has joined #ruby-lang
simono has joined #ruby-lang
<centrx> roelof_, A Hash is an implementation of a data structure called a "hash table". You might be interested in reading about that too, or maybe later (Wikipedia article on it looks okay).
diegoviola has joined #ruby-lang
toastynerd has joined #ruby-lang
freedrull has quit [Ping timeout: 252 seconds]
phansch has joined #ruby-lang
freedrull has joined #ruby-lang
toastynerd has quit [Ping timeout: 264 seconds]
saarinen has joined #ruby-lang
phansch has quit [Client Quit]
jsullivandigs has quit [Remote host closed the connection]
funnel has joined #ruby-lang
diegoviola has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby-lang
vjacob has quit [Ping timeout: 258 seconds]
GBrawl has quit [Quit: Computer has gone to sleep.]
GBrawl_ has joined #ruby-lang
chouhoulis has quit [Ping timeout: 258 seconds]
banister has joined #ruby-lang
achiu has joined #ruby-lang
snsei has joined #ruby-lang
BucOder has joined #ruby-lang
roelof_ has quit [Quit: Page closed]
x0f has quit [Ping timeout: 276 seconds]
dingus_khan has joined #ruby-lang
marcdel has joined #ruby-lang
sandbags has joined #ruby-lang
marcdel_ has joined #ruby-lang
x0f has joined #ruby-lang
marcdel has quit [Ping timeout: 265 seconds]
dingus_khan has quit [Ping timeout: 265 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby-lang
|jemc| has joined #ruby-lang
jsullivandigs has joined #ruby-lang
yfeldblum has quit [Ping timeout: 276 seconds]
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
sharpmachine has joined #ruby-lang
<sharpmachine> hi
<centrx> hi
lolmaus has quit [Ping timeout: 240 seconds]
<sharpmachine> I'm new to IRC
<sharpmachine> This is like old school chat...nice!
<sharpmachine> So if I have questions about Ruby, I just ask here?
sheperson_ has quit [Ping timeout: 276 seconds]
snsei has quit [Remote host closed the connection]
<jhass> yep
lolmaus has joined #ruby-lang
<sharpmachine> awesome!
<jhass> and stay around a while, sometimes it may take one or two hours until somebody who knows the answer has time and sees it
<sharpmachine> okay, cool. Thanks.
sheperson has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 240 seconds]
snsei has joined #ruby-lang
snsei has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
bubodlack has quit [Ping timeout: 260 seconds]
<centrx> sharpmachine, Also there is a second Ruby channel on Freenode, #ruby , which is sometimes more active than this one
<centrx> Welcome to IRC!
<sharpmachine> Ahh, perfect. Thanks for the heads up centrx, and thanks for the welcome
sheperson has quit [Ping timeout: 265 seconds]
toastynerd has joined #ruby-lang
enebo has joined #ruby-lang
danijoo_ has quit [Read error: Connection reset by peer]
DanishMan has joined #ruby-lang
danijoo has joined #ruby-lang
junkmechanic_ has quit [Ping timeout: 240 seconds]
toastynerd has quit [Ping timeout: 252 seconds]
BucOder has quit [Quit: Computer has gone to sleep.]
toastynerd has joined #ruby-lang
omosoj has quit [Ping timeout: 258 seconds]
snsei has joined #ruby-lang
amclain has joined #ruby-lang
dingus_khan has joined #ruby-lang
snsei has quit [Remote host closed the connection]
ghg has joined #ruby-lang
dingus_khan has quit [Ping timeout: 265 seconds]
ghg has quit [Ping timeout: 258 seconds]
dRbiG has left #ruby-lang ["Off"]
BucOder has joined #ruby-lang
snsei has joined #ruby-lang
Cakey has joined #ruby-lang
snsei has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
snsei has joined #ruby-lang
axv has joined #ruby-lang
BucOder has quit [Ping timeout: 258 seconds]
axv has left #ruby-lang [#ruby-lang]
marcdel_ has quit []
BucOder has joined #ruby-lang
sandbags has quit []
yfeldblum has quit [Ping timeout: 276 seconds]
enebo has quit [Quit: enebo]
snsei has quit [Ping timeout: 276 seconds]
ayonkhan has joined #ruby-lang
yatish27 has joined #ruby-lang
BucOder has quit [Ping timeout: 252 seconds]
banister has joined #ruby-lang
mistym has joined #ruby-lang
arooni-mobile has joined #ruby-lang
shinnya has joined #ruby-lang
thmzlt has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 245 seconds]
alex-quiterio has joined #ruby-lang
thmzlt has quit [Client Quit]
alex-quiterio has quit [Client Quit]
snsei has joined #ruby-lang
snsei has quit [Remote host closed the connection]
isale-eko has joined #ruby-lang
phansch has joined #ruby-lang
phansch has quit [Client Quit]
phansch has joined #ruby-lang
ayonkhan has quit [Quit: Lingo - http://lingoirc.com]
|jemc| has quit [Ping timeout: 240 seconds]
dingus_khan has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dmitrykorotkov has joined #ruby-lang
dmitrykorotkov has quit [Max SendQ exceeded]
dmitrykorotkov has joined #ruby-lang
dmitrykorotkov has quit [Max SendQ exceeded]
dingus_khan has quit [Ping timeout: 240 seconds]
yatish27 has quit []
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
alexju has quit [Remote host closed the connection]
snsei has joined #ruby-lang
omosoj has joined #ruby-lang
arooni-mobile has joined #ruby-lang
snsei has quit [Remote host closed the connection]
BucOder has joined #ruby-lang
amerine has quit [Quit: Textual IRC Client: www.textualapp.com]
ari-_-e has quit [Ping timeout: 265 seconds]
wallerdev has joined #ruby-lang
BucOder has quit [Ping timeout: 252 seconds]
tkuchiki has quit [Ping timeout: 258 seconds]
yfeldblum has joined #ruby-lang
jsullivandigs has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 265 seconds]
ari-_-e has joined #ruby-lang
lolmaus has quit [Read error: Connection reset by peer]
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
lolmaus has joined #ruby-lang
takemikazuchi545 has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 240 seconds]
phansch has quit [Quit: WeeChat 0.4.3]
RobertBirnie has joined #ruby-lang
phansch has joined #ruby-lang
ari-_-e has quit [Read error: Connection reset by peer]
bubodlack has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wallerdev has quit [Quit: wallerdev]
yfeldblum has quit [Ping timeout: 252 seconds]
phansch has quit [Quit: WeeChat 0.4.3]
nathanstitt has joined #ruby-lang
dingus_khan has joined #ruby-lang
ari-_-e has joined #ruby-lang
wallerdev has joined #ruby-lang
dingus_khan has quit [Ping timeout: 258 seconds]
snsei has joined #ruby-lang
snsei has quit [Ping timeout: 276 seconds]
isale-eko has quit [Quit: ChatZilla 0.9.90.1 [Firefox 29.0.1/20140506152807]]
isale-eko has joined #ruby-lang
isale-eko has quit [Client Quit]
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
yfeldblum has joined #ruby-lang
mykoweb has quit [Ping timeout: 240 seconds]
dingus_khan has joined #ruby-lang
sepp2k1 has joined #ruby-lang
toretore has quit [Ping timeout: 240 seconds]
sepp2k has quit [Ping timeout: 265 seconds]
toretore has joined #ruby-lang
ur5us has joined #ruby-lang
symm- has joined #ruby-lang
RobertBirnie has joined #ruby-lang
takemikazuchi545 has left #ruby-lang ["Leaving"]
franzip has quit [Quit: ...]
andrewhl has joined #ruby-lang
araujo has joined #ruby-lang
araujo has quit [Changing host]
araujo has joined #ruby-lang
bubodlack is now known as bubodlack|away
bubodlack|away is now known as bubodlack
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mr-foobar has quit []
frzng has quit [Quit: frzng]
snsei has joined #ruby-lang
fezziwig has joined #ruby-lang
_ht has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
nofxx_ has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robbyoconnor has quit [Ping timeout: 252 seconds]
bubodlack is now known as bubodlack|away
rckernel has joined #ruby-lang
herpless has joined #ruby-lang
bubodlack|away is now known as bubodlack
robbyoconnor has joined #ruby-lang
snsei has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
mistym has joined #ruby-lang
mistym has quit [Remote host closed the connection]
snsei has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
snsei has quit [Remote host closed the connection]
omosoj has quit [Ping timeout: 240 seconds]
GBrawl_ has quit [Quit: Computer has gone to sleep.]
snsei has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
Miphix has quit [Read error: Connection reset by peer]
Miphix has joined #ruby-lang
enebo has joined #ruby-lang
banister has joined #ruby-lang
toastynerd has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toastynerd has quit [Remote host closed the connection]
nopc0de is now known as zz_nopc0de
toastynerd has joined #ruby-lang
omosoj has joined #ruby-lang
marr has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
DanishMan has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
ghg has joined #ruby-lang
GBrawl has joined #ruby-lang
diegoviola has joined #ruby-lang
kyb3r_ has joined #ruby-lang
ghg has quit [Ping timeout: 252 seconds]
sarkyniin has quit [Ping timeout: 240 seconds]
omosoj has quit [Ping timeout: 245 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GBrawl has quit [Read error: Connection reset by peer]
GBrawl has joined #ruby-lang
mykoweb has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
mykoweb has quit [Remote host closed the connection]
Derander has quit [Quit: ZNC - http://znc.sourceforge.net]
mykoweb has joined #ruby-lang
Derander has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
mykoweb has quit [Ping timeout: 240 seconds]
andrewhl has quit [Quit: andrewhl]
andrewhl has joined #ruby-lang
sarkyniin has joined #ruby-lang
andrewhl has quit [Client Quit]
devgiant has joined #ruby-lang
CodeBunny has quit [Ping timeout: 252 seconds]
GBrawl has quit [Quit: Lingo - http://lingoirc.com]
fezziwig has quit [Remote host closed the connection]
dingus_khan has quit [Remote host closed the connection]
fezziwig has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
fezziwig has quit [Remote host closed the connection]
fezziwig has joined #ruby-lang
dingus_khan has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.3]
toastynerd has joined #ruby-lang
marcdel has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
lolmaus has quit [Ping timeout: 252 seconds]
toastynerd has joined #ruby-lang
fezziwig has quit [Remote host closed the connection]
marcdel has quit [Client Quit]
pskosinski has quit [Ping timeout: 272 seconds]
fezziwig has joined #ruby-lang
fezziwig has quit [Remote host closed the connection]
dingus_khan has quit [Remote host closed the connection]
lolmaus has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby-lang
mistym has joined #ruby-lang
mykoweb has joined #ruby-lang
Nexus_x1 has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
matp has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
sharpmachine has quit [Ping timeout: 264 seconds]
sharpmachine has joined #ruby-lang
dorei has joined #ruby-lang
mykoweb has quit [Read error: No route to host]
mykoweb has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
toretore has quit [Quit: This computer has gone to sleep]
yfeldblu_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
jhass is now known as jhass|off
jsullivandigs has quit [Remote host closed the connection]
Olipro has quit [Ping timeout: 246 seconds]
enebo has quit [Quit: enebo]
sharpmachine has quit [Remote host closed the connection]
Olipro has joined #ruby-lang
kyb3r_ has quit [Ping timeout: 276 seconds]
dingus_khan has joined #ruby-lang
Olipro has quit [Ping timeout: 246 seconds]
kyb3r_ has joined #ruby-lang
rckernel has quit [Quit: rckernel]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby-lang
noob101 has joined #ruby-lang
ur5us has quit [Read error: Connection reset by peer]
<noob101> Hello, I am new to this channel. This is my very first time being here.
<noob101> Is this a nice channel?
devgiant has quit [Quit: Leaving]
<centrx> hi
<centrx> Yes, this is a nice channel, I thought #ruby was nice too though
ur5us_ has joined #ruby-lang
<centrx> This channel is generally less active than the other one, but is also the official channel linked from the Ruby website, and has a somewhat different crowd
<noob101> WAAAAH!
<noob101> I know you! >:(
ur5us_ has quit [Read error: No route to host]
<centrx> I didn't know I made such an evil impression :)
ur5us has joined #ruby-lang
<noob101> LOL! I know you though. I was expecting a greeting from another person.
<noob101> Maybe I'll stay with ruby, no one said hi to me but you..
dingus_khan has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
Hytosys has joined #ruby-lang
symm- has quit [Quit: Leaving...]
mistym has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby-lang
Nexus_x1 has quit [Quit: Computer has gone to sleep.]
sarkyniin has quit [Quit: Quitte]
Nexus_x1 has joined #ruby-lang
shinnya has quit [Quit: ZNC - http://znc.in]
frobrob has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 252 seconds]
Nexus_x1 has quit [Ping timeout: 264 seconds]
toastynerd has quit [Remote host closed the connection]
Nexus_x1 has joined #ruby-lang
agrinb has joined #ruby-lang
<agrinb> would some kind soul please tell me if I can sort like this record.sort_by { |team, team_record| -team_record[:wins] team_record[:losses] }
<agrinb> I can't seem to figure out the syntax for sorting by two values in the internal hash
Nexus_x1 has quit [Client Quit]
<centrx> agrinb, How do you want it to be sorted?
heftig has quit [Quit: Quitting]
<agrinb> I want to sort by wins in descending order and losses in ascending order
frobrob has quit [Ping timeout: 252 seconds]