apeiros changed the topic of #ruby-lang to: Ruby 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste code on http://gist.github.com
<whitequark> RickHull: show me a 10 line webserver in C
<whitequark> anyway, there's http://www.gtsoftware.com/fujitsu_netcobol/ so you can probably whip it up quickly
<RickHull> sweet, no runtime fees!
<RickHull> (wtf)
<ericwood> I have a friend who used bash on balls for something in the real world
<ericwood> I worry about him sometimes
<ericwood> (bash on balls is a bash web framework...)
<RickHull> the future is distributed
<RickHull> just unevenly
<whitequark> RickHull: yay licensing
enebo has quit [Quit: enebo]
<whitequark> you *used* to pay for, I think, a parallel instance of the interpreter or something
<whitequark> back when mainframes were new hotness
charliesome has quit [Quit: zzz]
pikos has quit [Remote host closed the connection]
<RickHull> yeah, cloud/AWS is the new mainframe. just charging for the machine and not the app
michaeldeol has joined #ruby-lang
arBmind has quit [Ping timeout: 250 seconds]
arBmind1 has joined #ruby-lang
havenwood has joined #ruby-lang
<RickHull> wallerdev: FYI, your paste: zenspider.rb:51:in `block in <main>': undefined method `bench_range' for #<Class:0x00000001afba58> (NoMethodError)
cmhobbs has joined #ruby-lang
cmhobbs has joined #ruby-lang
<wallerdev> haha oh well
<wallerdev> i just searched pastebin for a usage
<RickHull> you got this one straight from source. in 2010
<RickHull> anywho, i'm still leaning towards a bug. drbrain or banisterfiend, do you mind confirming?
<RickHull> (calling in some karma points hopefully)
<RickHull> that test case works as expected in minitest 4.x but not 5.x
<RickHull> NoMethodError for bench_range
<RickHull> maybe i hsould just file an issue on github or wherever
<banisterfiend> RickHull looking suave in your tux
<RickHull> drbrain: yeah, i think it works in the subclass Test::Unit form
<RickHull> just not the spec form
<RickHull> (in 5.x)
<RickHull> maybe a change to metaclass (?) behavior in ruby 2+ ?
GBrawl has quit [Quit: (null)]
ddd has joined #ruby-lang
_fritchie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fuhgeddaboudit has joined #ruby-lang
charliesome has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
wallerdev has quit [Ping timeout: 244 seconds]
migbar_ has joined #ruby-lang
wallerdev has joined #ruby-lang
yusuf1 has joined #ruby-lang
yusuf1 has quit [Max SendQ exceeded]
yusuf1 has joined #ruby-lang
wallerdev has quit [Client Quit]
_fritchie has joined #ruby-lang
michaeldeol has quit [Read error: Connection reset by peer]
spastorino has quit [Quit: Connection closed for inactivity]
enebo has joined #ruby-lang
michaeldeol has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 245 seconds]
Musashi007 has quit [Read error: Connection reset by peer]
havenn has joined #ruby-lang
havenwood has quit [Ping timeout: 250 seconds]
Musashi007 has joined #ruby-lang
usershell has joined #ruby-lang
usershel_ has quit [Ping timeout: 244 seconds]
michaeldeol has quit [Read error: Connection reset by peer]
setanta has quit [Quit: Leaving]
michaeldeol has joined #ruby-lang
michaeldeol has quit [Client Quit]
michaeldeol has joined #ruby-lang
jkad1 has quit [Quit: WeeChat 1.0.1]
fuhgeddaboudit has joined #ruby-lang
midhir has quit [Remote host closed the connection]
usershell has quit [Remote host closed the connection]
michaeldeol has quit [Read error: Connection reset by peer]
marr has quit [Ping timeout: 264 seconds]
Musashi007 has quit [Quit: Musashi007]
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
kurko__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jimbach has quit [Remote host closed the connection]
iamninja has quit [Remote host closed the connection]
arooni-mobile has joined #ruby-lang
dwknoxy has quit [Quit: Textual IRC Client: www.textualapp.com]
michaeldeol has joined #ruby-lang
usershell has joined #ruby-lang
mistym has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
cmhobbs has quit [Remote host closed the connection]
jmrepetti has joined #ruby-lang
ddd has quit [Quit: leaving]
havenn has quit [Ping timeout: 250 seconds]
michaeldeol has quit [Read error: Connection reset by peer]
caseydriscoll has joined #ruby-lang
NoNMaDDeN has quit [Remote host closed the connection]
kurko__ has joined #ruby-lang
wallerdev has joined #ruby-lang
michaeldeol has joined #ruby-lang
kurko__ has quit [Client Quit]
RickHull has quit [Ping timeout: 246 seconds]
mistym has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 244 seconds]
red_menace has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
Bwild has quit [Remote host closed the connection]
RickHull has joined #ruby-lang
Mothore has joined #ruby-lang
hahuang65 has quit [Ping timeout: 252 seconds]
midhir_ has quit [Remote host closed the connection]
matp_ has joined #ruby-lang
enebo has quit [Quit: enebo]
matp has quit [Ping timeout: 258 seconds]
jimbach has joined #ruby-lang
michaeldeol has quit [Read error: Connection reset by peer]
michaeldeol has joined #ruby-lang
drewxiu has quit [Ping timeout: 256 seconds]
matp has joined #ruby-lang
usershell has quit [Remote host closed the connection]
matp_ has quit [Ping timeout: 252 seconds]
drewxiu has joined #ruby-lang
michaeldeol has quit [Read error: Connection reset by peer]
houhoulis has joined #ruby-lang
michaeldeol has joined #ruby-lang
michaeldeol has quit [Client Quit]
NoNMaDDeN has joined #ruby-lang
micechal_ has joined #ruby-lang
gix has quit [Ping timeout: 264 seconds]
micechal has quit [Ping timeout: 258 seconds]
gix has joined #ruby-lang
pikos has joined #ruby-lang
caseydriscoll has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
jmrepetti has quit [Remote host closed the connection]
midhir has joined #ruby-lang
usershell has joined #ruby-lang
dude has joined #ruby-lang
dude is now known as Guest37947
Guest37947 is now known as donduderinoSB
Musashi007 has joined #ruby-lang
migbar_ has quit [Remote host closed the connection]
migbar_ has joined #ruby-lang
epitron is now known as Epitron
weaksauce has quit [Ping timeout: 245 seconds]
djbkd has quit [Quit: My people need me...]
migbar_ has quit [Ping timeout: 264 seconds]
Epitron is now known as epitron
senor_jalapeno has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 245 seconds]
kapil__ has joined #ruby-lang
arooni-mobile has joined #ruby-lang
usershell has quit [Remote host closed the connection]
usershell has joined #ruby-lang
donduderinoSB has quit []
usershell has quit [Ping timeout: 264 seconds]
centrx has quit [Ping timeout: 272 seconds]
seank__ has quit []
wallerdev has quit [Quit: wallerdev]
centrx has joined #ruby-lang
banister has joined #ruby-lang
seank_ has joined #ruby-lang
banister has quit [Max SendQ exceeded]
seank_ has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banisterfiend has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
seank_ has joined #ruby-lang
banister is now known as banisterfiend
jo__ has quit [Quit: Connection closed for inactivity]
hahuang65 has joined #ruby-lang
jimbach has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 264 seconds]
fuhgeddaboudit has joined #ruby-lang
diegoviola has quit [Remote host closed the connection]
ikrima has joined #ruby-lang
seank_ has quit [Ping timeout: 240 seconds]
datazombie has joined #ruby-lang
oak has joined #ruby-lang
snoopybbt has quit [Ping timeout: 250 seconds]
emmesswhy has quit [Ping timeout: 244 seconds]
emmesswhy has joined #ruby-lang
seank_ has joined #ruby-lang
midhir has quit [Remote host closed the connection]
ikrima has quit [Ping timeout: 250 seconds]
usershell has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
ikrima has joined #ruby-lang
qqshfox has joined #ruby-lang
jo__ has joined #ruby-lang
bb010g has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
gix has quit [Ping timeout: 244 seconds]
kyb3r_ has joined #ruby-lang
gix has joined #ruby-lang
yourabi has joined #ruby-lang
pikos has quit []
ur5us has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
mistym has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
ItSANgo has quit [Quit: Leaving...]
seank_ has quit [Remote host closed the connection]
seank_ has joined #ruby-lang
seank_ has quit [Remote host closed the connection]
seank_ has joined #ruby-lang
jxie has joined #ruby-lang
jxie_ has quit [Ping timeout: 245 seconds]
Bwild has joined #ruby-lang
Bwild has quit [Remote host closed the connection]
jimbach has quit [Remote host closed the connection]
jxie has quit [Read error: Connection reset by peer]
emmesswhy has quit [Quit: This computer has gone to sleep]
drewxiu has quit [Ping timeout: 264 seconds]
Lewix has joined #ruby-lang
Lewix has joined #ruby-lang
yourabi has quit [Quit: Textual IRC Client: www.textualapp.com]
emmesswhy has joined #ruby-lang
jxie has joined #ruby-lang
gianlucadv has quit [Ping timeout: 255 seconds]
Guest32 has joined #ruby-lang
Guest32 has quit [Client Quit]
usershell has quit [Remote host closed the connection]
usershell has joined #ruby-lang
Guest32 has joined #ruby-lang
badeball_ has joined #ruby-lang
NoNMaDDeN has quit [Read error: Connection reset by peer]
Guest32 has quit [Client Quit]
billy_ran_away_ has joined #ruby-lang
billy_ran_away has quit [Max SendQ exceeded]
badeball has quit [Ping timeout: 258 seconds]
musl has quit [Ping timeout: 258 seconds]
ikrima has quit [Ping timeout: 258 seconds]
qqshfox_ has joined #ruby-lang
NoNMaDDeN has joined #ruby-lang
ikrima has joined #ruby-lang
qqshfox has quit [Ping timeout: 246 seconds]
qqshfox_ has quit [Client Quit]
qqshfox has joined #ruby-lang
musl has joined #ruby-lang
jgpawletko has quit [Quit: jgpawletko]
ItSANgo has joined #ruby-lang
jxport has quit [Ping timeout: 258 seconds]
mistym has joined #ruby-lang
hahuang61 has joined #ruby-lang
hahuang62 has joined #ruby-lang
hramrach_ has quit [Remote host closed the connection]
kyb3r_ has quit [Ping timeout: 258 seconds]
tzero has quit [Ping timeout: 258 seconds]
ReinH has quit [Ping timeout: 258 seconds]
hahuang65 has quit [Quit: WeeChat 1.0.1]
araujo has quit [Ping timeout: 258 seconds]
kyb3r_ has joined #ruby-lang
araujo has joined #ruby-lang
hahuang62 has quit [Ping timeout: 272 seconds]
jxport has joined #ruby-lang
_fritchie has quit [Quit: Textual IRC Client: www.textualapp.com]
fedexo has joined #ruby-lang
hahuang61 has quit [Quit: WeeChat 1.0.1]
red_menace has quit [Quit: Quit]
weaksauce has joined #ruby-lang
tzero has joined #ruby-lang
ReinH has joined #ruby-lang
cornerma1 has joined #ruby-lang
cornerman has quit [Ping timeout: 245 seconds]
cornerma1 is now known as cornerman
ur5us has joined #ruby-lang
caseydriscoll has joined #ruby-lang
hramrach_ has joined #ruby-lang
ur5us has quit [Ping timeout: 252 seconds]
houhoulis has quit []
NoNMaDDeN has quit [Remote host closed the connection]
houhoulis has joined #ruby-lang
datazombie has quit [Quit: Textual IRC Client: www.textualapp.com]
Musashi007 has quit [Quit: Musashi007]
usershell has quit [Remote host closed the connection]
duderonomy has joined #ruby-lang
oleo has quit [Quit: Verlassend]
Lewix has quit [Remote host closed the connection]
hagabaka has quit [Ping timeout: 244 seconds]
kaiwren has joined #ruby-lang
hagabaka has joined #ruby-lang
RobertBirnie has joined #ruby-lang
usershell has joined #ruby-lang
robbyoconnor has joined #ruby-lang
Xzyx987X has quit [Ping timeout: 255 seconds]
kiyote23 has quit [Remote host closed the connection]
midhir has joined #ruby-lang
midhir has quit [Ping timeout: 252 seconds]
Mothore has quit [Quit: Be back later ...]
jo__ has quit [Quit: Connection closed for inactivity]
kiyote23 has joined #ruby-lang
Musashi007 has joined #ruby-lang
jxie has quit [Ping timeout: 245 seconds]
jxie has joined #ruby-lang
usershell has quit [Remote host closed the connection]
chancancode_ is now known as chancancode
emmesswhy has quit [Quit: This computer has gone to sleep]
Xzyx987X has joined #ruby-lang
drewxiu has joined #ruby-lang
centrx has quit [Quit: Did gyre and gymble in ye wabe]
ikrima has quit [Read error: Connection reset by peer]
ikrima has joined #ruby-lang
usershell has joined #ruby-lang
mattyohe has quit [Quit: Connection closed for inactivity]
futilegames has joined #ruby-lang
weaksauce has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RobertBirnie has quit [Ping timeout: 264 seconds]
fedexo has quit [Ping timeout: 250 seconds]
RobertBirnie has joined #ruby-lang
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
matsutomo has joined #ruby-lang
weaksauce has joined #ruby-lang
lapide_viridi has joined #ruby-lang
jeremie has quit [Quit: ChatZilla 0.9.91 [Firefox 33.1/20141106120505]]
JohnBat26 has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
hendranata has joined #ruby-lang
hendranata has quit [Client Quit]
hendranata has joined #ruby-lang
drewxiu has quit [Ping timeout: 244 seconds]
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
matsutomo has quit [Quit: matsutomo]
Bwild has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
matsutomo has joined #ruby-lang
solars has joined #ruby-lang
ledestin has quit [Ping timeout: 240 seconds]
t_ has quit [Ping timeout: 258 seconds]
q_leonetti has joined #ruby-lang
ledestin has joined #ruby-lang
allomov has joined #ruby-lang
charliesome has quit [Quit: zzz]
usershell has quit [Remote host closed the connection]
hahuang62 has joined #ruby-lang
usershell has joined #ruby-lang
fusillicode has joined #ruby-lang
badeball_ is now known as badeball
hahuang62 has quit [Ping timeout: 258 seconds]
|jemc| has joined #ruby-lang
AKASkip has joined #ruby-lang
mistym has quit [Remote host closed the connection]
q_leonetti_ has joined #ruby-lang
Iskarlar has joined #ruby-lang
hendranata has quit [Read error: Connection reset by peer]
q_leonetti has quit [Ping timeout: 240 seconds]
q_leonetti_ is now known as q_leonetti
usershell has quit [Ping timeout: 256 seconds]
AndChat|377264 has joined #ruby-lang
usershell has joined #ruby-lang
kwd has joined #ruby-lang
midhir has joined #ruby-lang
qba73 has joined #ruby-lang
usershel_ has joined #ruby-lang
midhir has quit [Ping timeout: 245 seconds]
usershell has quit [Ping timeout: 250 seconds]
arBmind1 has quit [Quit: Leaving.]
hhatch has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
AndChat-377264 has joined #ruby-lang
AndChat|377264 has quit [Read error: Connection reset by peer]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
Bwild has quit [Quit: leaving]
lapide_viridi has quit [Ping timeout: 244 seconds]
RickHull has quit [Ping timeout: 246 seconds]
lapide_viridi has joined #ruby-lang
RbLeif has joined #ruby-lang
spastorino has joined #ruby-lang
AndChat-377264 has quit [Ping timeout: 255 seconds]
Quackmatic is now known as Elite6809
ur5us has joined #ruby-lang
ruby-lang775 has joined #ruby-lang
ruby-lang775 is now known as clemens
clemens is now known as clemens2
matsutomo has quit [Quit: matsutomo]
<clemens2> Hello, I can't use gem install anymore, getting: Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)
<clemens2> any ideas? (thanks!!)
Forgetful_Lion has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
matp has quit [Remote host closed the connection]
faces has joined #ruby-lang
matp has joined #ruby-lang
face has quit [Ping timeout: 250 seconds]
<bnagy> clemens2: probably you don't have the CA cert bundle anywhere ruby can find it
<bnagy> google for your error along with your OS and possibly cacert.pem
caseydriscoll has quit [Read error: No route to host]
caseydriscoll has joined #ruby-lang
<yorickpeterse> morning
vieq has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby-lang
vieq has joined #ruby-lang
hahuang62 has joined #ruby-lang
marr has joined #ruby-lang
yfeldblum has quit [Ping timeout: 255 seconds]
usershel_ has quit [Remote host closed the connection]
<clemens2> bnagy: yes, seems a mac and ruby 2.1 thingy.. continue googling..
allomov has quit [Ping timeout: 244 seconds]
hahuang62 has quit [Ping timeout: 244 seconds]
gss has joined #ruby-lang
micechal has joined #ruby-lang
transiency has joined #ruby-lang
micechal_ has quit [Ping timeout: 250 seconds]
<clemens2> bnagy: worked around by using gem --source http instead of https.. ok, thanks!
futilegames has quit [Ping timeout: 264 seconds]
futilegames has joined #ruby-lang
charliesome has joined #ruby-lang
arBmind has joined #ruby-lang
futilegames has quit [Ping timeout: 250 seconds]
gss_ has joined #ruby-lang
benlovell has joined #ruby-lang
gss has quit [Ping timeout: 244 seconds]
nofxx_ has quit [Ping timeout: 256 seconds]
futilegames has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
q_leonetti_ has joined #ruby-lang
q_leonetti has quit [Ping timeout: 244 seconds]
q_leonetti_ is now known as q_leonetti
skade has joined #ruby-lang
yfeldblum has joined #ruby-lang
kyb3r_ has quit [Read error: Connection reset by peer]
futilegames has joined #ruby-lang
allomov has joined #ruby-lang
midhir has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
futilegames has quit [Ping timeout: 256 seconds]
micechal_ has joined #ruby-lang
chussenot has joined #ruby-lang
solars has quit [Quit: WeeChat 0.4.2]
solars has joined #ruby-lang
micechal has quit [Ping timeout: 272 seconds]
futilegames has joined #ruby-lang
[spoiler] has joined #ruby-lang
mkaesz has joined #ruby-lang
face has joined #ruby-lang
faces has quit [Ping timeout: 255 seconds]
workmad3 has joined #ruby-lang
futilegames has quit [Ping timeout: 244 seconds]
yusuf1 has left #ruby-lang [#ruby-lang]
chussenot has quit [Quit: chussenot]
futilegames has joined #ruby-lang
gss has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
gss_ has quit [Ping timeout: 264 seconds]
futilegames has joined #ruby-lang
hhatch has quit [Read error: Connection reset by peer]
hhatch has joined #ruby-lang
kiyote23 has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
futilegames has joined #ruby-lang
kiyote23 has quit [Ping timeout: 244 seconds]
ldnunes has joined #ruby-lang
lapide_viridi has quit [Ping timeout: 240 seconds]
houhoulis has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
futilegames has quit [Ping timeout: 244 seconds]
midhir has quit [Remote host closed the connection]
futilegames has joined #ruby-lang
yfeldblum has joined #ruby-lang
chussenot has joined #ruby-lang
midhir has joined #ruby-lang
midhir_ has joined #ruby-lang
q_leonetti has quit [Quit: q_leonetti]
yfeldblum has quit [Ping timeout: 256 seconds]
futilegames has quit [Ping timeout: 256 seconds]
chussenot has quit [Client Quit]
futilegames has joined #ruby-lang
chussenot has joined #ruby-lang
clemens2 has quit [Ping timeout: 246 seconds]
<bnagy> clemens2: you make me a sad panda 8:<
<bnagy> fix your damn certs!
<zenspider> haha
<zenspider> I thought about chastizing and just sighed
elia has joined #ruby-lang
<bnagy> omg I am grumpier than zenspider it's all over
<zenspider> doooooooom
<zenspider> doom and bed
<bnagy> /o\
kaiwren has quit [Ping timeout: 258 seconds]
futilegames has quit [Ping timeout: 256 seconds]
Cyllpher has joined #ruby-lang
futilegames has joined #ruby-lang
ledestin has quit [Ping timeout: 255 seconds]
ikrima has quit [Read error: Connection reset by peer]
ikrima has joined #ruby-lang
ledestin has joined #ruby-lang
tzero has quit [Ping timeout: 256 seconds]
q_leonetti has joined #ruby-lang
q_leonetti has quit [Client Quit]
futilegames has quit [Ping timeout: 252 seconds]
elia has quit [Quit: Computer has gone to sleep.]
chussenot has quit [Quit: chussenot]
arBmind1 has joined #ruby-lang
kaiwren has joined #ruby-lang
midhir has quit [Remote host closed the connection]
elia has joined #ruby-lang
futilegames has joined #ruby-lang
chussenot has joined #ruby-lang
arBmind has quit [Ping timeout: 256 seconds]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
caseydriscoll has joined #ruby-lang
faces has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
face has quit [Ping timeout: 255 seconds]
futilegames has quit [Ping timeout: 256 seconds]
mkaesz has quit [Ping timeout: 244 seconds]
tkuchiki has quit [Ping timeout: 264 seconds]
iamninja has joined #ruby-lang
chussenot has quit [Quit: chussenot]
futilegames has joined #ruby-lang
tzero has joined #ruby-lang
dangerousdave has joined #ruby-lang
francisfish has joined #ruby-lang
midhir has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
dangerousdave has quit [Ping timeout: 244 seconds]
fclausen has quit [Ping timeout: 272 seconds]
q_leonetti has joined #ruby-lang
futilegames has joined #ruby-lang
apeiros_ has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
futilegames has quit [Ping timeout: 245 seconds]
shazaum has joined #ruby-lang
yfeldblum has quit [Ping timeout: 256 seconds]
futilegames has joined #ruby-lang
yfeldblu_ has quit [Ping timeout: 256 seconds]
hahuang62 has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
hahuang62 has quit [Ping timeout: 272 seconds]
benlovell has quit [Ping timeout: 250 seconds]
futilegames has joined #ruby-lang
allomov has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
allomov has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
ikrima has quit [Ping timeout: 264 seconds]
futilegames has joined #ruby-lang
migbar has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
futilegames has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
GBrawl has joined #ruby-lang
futilegames has joined #ruby-lang
chussenot has joined #ruby-lang
ikrima has joined #ruby-lang
elimS has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
q_leonetti has quit [Quit: q_leonetti]
allomov has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
ConstantineXVI has joined #ruby-lang
chussenot has quit [Quit: chussenot]
mkaesz has joined #ruby-lang
allomov has joined #ruby-lang
futilegames has joined #ruby-lang
chussenot has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 250 seconds]
chussenot has quit [Client Quit]
jmrepetti has joined #ruby-lang
jmrepetti has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
chussenot has joined #ruby-lang
benlovell has quit [Ping timeout: 272 seconds]
chussenot has quit [Client Quit]
ddd has joined #ruby-lang
elimS has quit [Quit: Be back later ...]
klmlfl has joined #ruby-lang
chussenot has joined #ruby-lang
stamina has joined #ruby-lang
benlovell has joined #ruby-lang
midhir has quit [Remote host closed the connection]
elimS has joined #ruby-lang
midhir has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
hinbody has joined #ruby-lang
rcvalle has quit [Quit: rcvalle]
iamninja has quit [Ping timeout: 250 seconds]
juuio has joined #ruby-lang
futilegames has quit [Ping timeout: 244 seconds]
futilegames has joined #ruby-lang
jxie has quit [Quit: leaving]
yfeldblum has joined #ruby-lang
setanta has joined #ruby-lang
gss has quit [Ping timeout: 240 seconds]
juuio has quit [Ping timeout: 250 seconds]
Guest35729 has joined #ruby-lang
rcvalle has joined #ruby-lang
elimS has quit [Quit: Lingo: www.lingoirc.com]
yfeldblum has quit [Ping timeout: 240 seconds]
futilegames has quit [Ping timeout: 258 seconds]
sush24 has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
sush24 has quit [Client Quit]
sush24 has joined #ruby-lang
joast has quit [Quit: Leaving.]
futilegames has joined #ruby-lang
voxxit has quit [Remote host closed the connection]
mkaesz has quit [Remote host closed the connection]
futilegames has quit [Ping timeout: 256 seconds]
futilegames has joined #ruby-lang
voxxit has joined #ruby-lang
AKASkip has quit [Ping timeout: 264 seconds]
jmrepetti has joined #ruby-lang
ikrima has quit [Ping timeout: 244 seconds]
kaiwren has quit [Quit: kaiwren]
futilegames has quit [Ping timeout: 256 seconds]
miqui_ has joined #ruby-lang
jmrepetti has quit [Remote host closed the connection]
chussenot has quit [Quit: chussenot]
futilegames has joined #ruby-lang
joast has joined #ruby-lang
apeiros_ has quit [Ping timeout: 244 seconds]
seank_ has quit [Read error: Connection reset by peer]
seank__ has joined #ruby-lang
gss has joined #ruby-lang
chussenot has joined #ruby-lang
ddd has left #ruby-lang [#ruby-lang]
ddd has joined #ruby-lang
bin7me has joined #ruby-lang
futilegames has quit [Ping timeout: 258 seconds]
futilegames has joined #ruby-lang
scampbell has joined #ruby-lang
snoopybbt has joined #ruby-lang
scampbell has quit [Remote host closed the connection]
elia has joined #ruby-lang
drewxiu has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
apeiros_ has joined #ruby-lang
mattyohe has joined #ruby-lang
ducklobster has quit [Ping timeout: 272 seconds]
enebo has joined #ruby-lang
jmrepetti has joined #ruby-lang
futilegames has joined #ruby-lang
<andrewvos> god I hate RubyOnRails
<andrewvos> #
<andrewvos> the channel
<andrewvos> I have moved away from full hate for Rails
<tbuehlmann> wubwub
malconis has joined #ruby-lang
xaaabk has joined #ruby-lang
jmrepetti has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
<maloik> andrewvos: for questions remaining unanswered?
<andrewvos> yeah
jimbach has joined #ruby-lang
<maloik> I know... I hate it too
<ledestin> andrewvos: I dislike that channel too
<maloik> can someone ban Guest35729 ? pm spammer (@ ljarvis )
<andrewvos> ljarvis is an op now?
miqui_ has quit [Remote host closed the connection]
<maloik> I thought so
<maloik> andrewvos: seeing as you left the channel: Foo.group(:attr).order(:created_at) should do the trick
koderok has joined #ruby-lang
koderok has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 260 seconds]
<andrewvos> maloik: PG::GroupingError: ERROR: column "activities.id" must appear in the GROUP BY clause or be used in an aggregate function
<maloik> errr
futilegames has quit [Ping timeout: 256 seconds]
<andrewvos> Foo=Activity btw
<andrewvos> I did this: Activity.group(:product_id).order(:created_at)
<maloik> I figured ;) no idea, something pg specific perhaps?
Guest35729 was banned on #ruby-lang by ljarvis [*!*juuio@213.143.61.*]
Guest35729 was kicked from #ruby-lang by ljarvis [Guest35729]
<maloik> try it in the db console and work your way back from there I'd say... it's what I usually try
xaaabk has quit [Quit: Leaving]
<ljarvis> not sure how much it'll help but maybe freenode will see an increase
<ljarvis> sup andrewvos
<andrewvos> maloik: I've been trying this shit in psql and `rails console` all day. Keep hitting dead ends on the ORDER BY clause :(
<andrewvos> ljarvis: HEYA :)
<andrewvos> why are you not inkjet?
<ljarvis> that guy went away forever
<maloik> suppose you tried putting id in group as well?
futilegames has joined #ruby-lang
<yorickpeterse> ljarvis: took you long enough
<yorickpeterse> (the /b)
<maloik> *cracks whip*
<ljarvis> orly
midhir__ has joined #ruby-lang
chinmay_dd has joined #ruby-lang
midhir has quit [Read error: No route to host]
ddd has quit [Quit: leaving]
<yorickpeterse> Yes, that's some lousy police work right there
<andrewvos> ljarvis: Oh yeah I have a vague recollection
<andrewvos> I also have a vague recollection of asking before haha
<ledestin> andrewvos: can you show SQL it generates?
<andrewvos> ledestin: [7] pry(main)> Activity.group(:product_id).order(:created_at)
miqui_ has joined #ruby-lang
<andrewvos> : SELECT "activities".* FROM "activities" GROUP BY product_id ORDER BY "activities"."created_at" ASC
<andrewvos> sorry I'll gist that next time
<ljarvis> whatcha trying to do?
xaaabk has joined #ruby-lang
<andrewvos> ljarvis: I literally just want all Activity rows ordered by created_at (DESC) but distinct on product_id
ryez has joined #ruby-lang
<andrewvos> But I want the latest ones
<andrewvos> Latest activity, distinct products
francisfish has quit [Remote host closed the connection]
<andrewvos> Easy right? NOOOOO
<yorickpeterse> .order([:created_at, :desc])
<yorickpeterse> or .order('created_at DESC')
futilegames has quit [Ping timeout: 244 seconds]
francisfish has joined #ruby-lang
<ledestin> The GROUP BY statement is used in conjunction with the aggregate functions to group the result-set by one or more columns.
francisfish has quit [Client Quit]
<yorickpeterse> euh, seems your quoting is fucked up
<yorickpeterse> unless Pg supports double quotes for columns
<ljarvis> select distinct product_id, created_at from activities order by created_at desc limit 1; doesn't work?
<andrewvos> yorickpeterse: yeah double quotes are for columns
drewxiu has quit [Ping timeout: 245 seconds]
<yorickpeterse> oh TIL
<andrewvos> ljarvis: Yeah but I want the entire model though
<andrewvos> ljarvis: Oh limit 1 = no
<andrewvos> I'm displaying a list of activities
ddd has joined #ruby-lang
<tbuehlmann> andrewvos, have you read the actual error message?
<andrewvos> tbuehlmann: yeah?
<tbuehlmann> have you tried grouping with the id or aggregating it?
futilegames has joined #ruby-lang
<andrewvos> tbuehlmann: Does not return distinct product_id: Activity.group(:product_id, :id).order(created_at: :desc)
<andrewvos> And I wouldn't expect it to
<ljarvis> select distinct on (product_id) * from activities order by product_id, created_at desc;
<ljarvis> or something
kurko__ has joined #ruby-lang
emmesswhy has joined #ruby-lang
<andrewvos> hmmmm
<tbuehlmann> andrewvos, what exactly do you want the query to return?
kwd has quit [Quit: kwd]
<andrewvos> The latest Activit{y,ies} with distinct product_ids
<ljarvis> didn't my query work?
<andrewvos> ljarvis: Still testing it out in rails
<andrewvos> My tests are failing, so just double checking they're actually good tests
juuio has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
futilegames has quit [Ping timeout: 240 seconds]
jmrepetti has joined #ruby-lang
Guest35729 has quit [Ping timeout: 264 seconds]
<andrewvos> ljarvis: So your query will only really sort by created_at when product_id is the same though?
oleo has joined #ruby-lang
<ljarvis> right, it'll sort by product_id then created_at, you can switch those but iirc product_id needs to be in the query using distinct on expression, though i didn't test that
<andrewvos> it does need to be in there
<andrewvos> not sure if it needs to be first though...
<ljarvis> right
nathanstitt has joined #ruby-lang
<andrewvos> ah it must be first
<andrewvos> god damnit
futilegames has joined #ruby-lang
<ljarvis> andrewvos: I'd ask in #postgresql i can't really help without running queries which i cant do right now so it's guess work, smart people in there though
arooni-mobile has joined #ruby-lang
<andrewvos> Cool thanks for the help though dude
godd2 has quit [Ping timeout: 240 seconds]
futilegames has quit [Ping timeout: 244 seconds]
ConstantineXVI has quit [Max SendQ exceeded]
RbLeif has quit []
midhir__ has quit [Remote host closed the connection]
<andrewvos> ljarvis:
<andrewvos> activities = Activity
<andrewvos> .select("DISTINCT ON (product_id) product_id, activities.*")
<andrewvos> .order(product_id: :desc, created_at: :desc)
<andrewvos> I think that works
<ljarvis> cool, close enough
Lewix has joined #ruby-lang
futilegames has joined #ruby-lang
shambrarian has joined #ruby-lang
caseydriscoll has joined #ruby-lang
ConstantineXVI has joined #ruby-lang
Mothore has joined #ruby-lang
shinnya has joined #ruby-lang
jgpawletko has joined #ruby-lang
futilegames has quit [Ping timeout: 265 seconds]
loincloth has joined #ruby-lang
snoopybbt has quit [Ping timeout: 250 seconds]
shambrarian_ has joined #ruby-lang
midhir has joined #ruby-lang
yalue has joined #ruby-lang
dwknoxy has joined #ruby-lang
futilegames has joined #ruby-lang
shambrarian has quit [Ping timeout: 258 seconds]
kaiwren has joined #ruby-lang
snoopybbt has joined #ruby-lang
jmrepetti has quit [Remote host closed the connection]
xaaabk has quit [Quit: Leaving]
shambrarian_ is now known as shambrarian
yfeldblum has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
Lewix has quit []
kaiwren has quit [Ping timeout: 265 seconds]
kiyote23 has joined #ruby-lang
yfeldblum has quit [Ping timeout: 255 seconds]
futilegames has joined #ruby-lang
jmrepetti has joined #ruby-lang
havenwood has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 245 seconds]
allomov has quit [Remote host closed the connection]
nofxx_ has joined #ruby-lang
jmrepetti has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
midhir has quit [Remote host closed the connection]
futilegames has quit [Ping timeout: 256 seconds]
havenwood has joined #ruby-lang
allomov has joined #ruby-lang
futilegames has joined #ruby-lang
midhir has joined #ruby-lang
rippa has joined #ruby-lang
kaiwren has joined #ruby-lang
fusillicode has quit [Ping timeout: 252 seconds]
kaiwren has quit [Client Quit]
kiyote23 has quit [Remote host closed the connection]
futilegames has quit [Ping timeout: 252 seconds]
kapil__ has quit [Quit: Connection closed for inactivity]
workmad3 has quit [Ping timeout: 244 seconds]
futilegames has joined #ruby-lang
kiyote23 has joined #ruby-lang
charliesome has quit [Quit: zzz]
arooni-mobile has joined #ruby-lang
|jemc| has quit [Ping timeout: 240 seconds]
futilegames has quit [Ping timeout: 264 seconds]
jo__ has joined #ruby-lang
klmlfl has joined #ruby-lang
Cyllpher has quit [Quit: Leaving]
red_menace has joined #ruby-lang
futilegames has joined #ruby-lang
allomov has quit [Remote host closed the connection]
allomov has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
redgetan has joined #ruby-lang
futilegames has quit [Ping timeout: 252 seconds]
face has joined #ruby-lang
futilegames has joined #ruby-lang
Y_Ichiro_ has joined #ruby-lang
Y_Ichiro_ has joined #ruby-lang
drewdavis_ has joined #ruby-lang
kiyote23 has joined #ruby-lang
faces has quit [Ping timeout: 252 seconds]
miqui__ has joined #ruby-lang
kramsee_ has joined #ruby-lang
ironcame1 has joined #ruby-lang
gss has quit []
PaulePan1er has joined #ruby-lang
Eising_ has joined #ruby-lang
linc01n_ has joined #ruby-lang
dbussink_ has joined #ruby-lang
fusillicode has joined #ruby-lang
red_menace has quit [Read error: Network is unreachable]
Paradox has quit [Ping timeout: 265 seconds]
cschneid has quit [Ping timeout: 265 seconds]
ndrst has quit [Ping timeout: 265 seconds]
phrozen77 has quit [Ping timeout: 265 seconds]
dbussink has quit [Ping timeout: 265 seconds]
_dyrim has quit [Ping timeout: 265 seconds]
miqui_ has quit [Ping timeout: 265 seconds]
linc01n has quit [Ping timeout: 265 seconds]
kramsee has quit [Ping timeout: 265 seconds]
drewdavis has quit [Ping timeout: 265 seconds]
canton7 has quit [Ping timeout: 265 seconds]
Y_Ichiro has quit [Ping timeout: 265 seconds]
kalzz has quit [Ping timeout: 265 seconds]
andrewvos has quit [Ping timeout: 265 seconds]
lupine has quit [Ping timeout: 265 seconds]
stamina has quit [Ping timeout: 265 seconds]
coffeejunk has quit [Ping timeout: 265 seconds]
arooni-mobile has quit [Ping timeout: 265 seconds]
Eising has quit [Ping timeout: 265 seconds]
PaulePanter has quit [Ping timeout: 265 seconds]
shaman42 has quit [Ping timeout: 265 seconds]
ironcamel has quit [Ping timeout: 265 seconds]
ndrst has joined #ruby-lang
_dyrim has joined #ruby-lang
andrewvos has joined #ruby-lang
dbussink_ is now known as dbussink
lupine has joined #ruby-lang
stamina has joined #ruby-lang
coffeejunk has joined #ruby-lang
canton7 has joined #ruby-lang
phrozen77 has joined #ruby-lang
Paradox has joined #ruby-lang
arooni-mobile has joined #ruby-lang
futilegames has quit [Ping timeout: 255 seconds]
cschneid has joined #ruby-lang
yfeldblum has joined #ruby-lang
BubonicPestilenc has joined #ruby-lang
shaman42 has joined #ruby-lang
kalzz has joined #ruby-lang
BubonicPestile-1 has quit [Ping timeout: 256 seconds]
qba73 has quit []
futilegames has joined #ruby-lang
mistym has joined #ruby-lang
yfeldblum has quit [Ping timeout: 260 seconds]
midhir has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
marr has quit [Ping timeout: 256 seconds]
kurko__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jimbach has quit [Read error: Network is unreachable]
jimbach has joined #ruby-lang
shinnya has quit [Ping timeout: 252 seconds]
ConstantineXVI has quit [Ping timeout: 258 seconds]
futilegames has quit [Ping timeout: 255 seconds]
ianstarz_ has joined #ruby-lang
apeiros_ has quit [Ping timeout: 260 seconds]
Y_Ichiro_ has quit [Read error: Connection reset by peer]
Y_Ichiro has joined #ruby-lang
futilegames has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
gjaldon has joined #ruby-lang
workmad3 has joined #ruby-lang
futilegames has quit [Ping timeout: 264 seconds]
kiyote23 has quit [Remote host closed the connection]
jmrepetti has joined #ruby-lang
mistym has joined #ruby-lang
whippythellama has joined #ruby-lang
futilegames has joined #ruby-lang
oak has quit [Ping timeout: 258 seconds]
elia has quit [Quit: Computer has gone to sleep.]
jmrepetti has quit [Ping timeout: 256 seconds]
elia has joined #ruby-lang
futilegames has quit [Ping timeout: 258 seconds]
__butch__ has joined #ruby-lang
futilegames has joined #ruby-lang
seank_ has joined #ruby-lang
arBmind1 has quit [Ping timeout: 264 seconds]
seank__ has quit [Ping timeout: 244 seconds]
caseydriscoll has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kurko__ has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
marr has joined #ruby-lang
deol has joined #ruby-lang
futilegames has joined #ruby-lang
dagda1 has quit [Quit: Textual IRC Client: www.textualapp.com]
qqshfox has quit [Quit: Textual IRC Client: www.textualapp.com]
futilegames has quit [Ping timeout: 256 seconds]
Miphix has quit [Quit: Leaving]
yfeldblum has joined #ruby-lang
futilegames has joined #ruby-lang
red_menace has joined #ruby-lang
GBrawl has quit [Quit: (null)]
amigo99 has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 250 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
redgetan has quit [Ping timeout: 240 seconds]
kiyote23 has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
arBmind has quit [Quit: Leaving.]
skade has joined #ruby-lang
deol has quit [Read error: Connection reset by peer]
michaeldeol has joined #ruby-lang
kiyote23 has quit [Ping timeout: 252 seconds]
mistym has quit [Remote host closed the connection]
bb010g has quit [Quit: Connection closed for inactivity]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has quit [Quit: Computer has gone to sleep.]
fusillicode has quit [Ping timeout: 250 seconds]
shazaum_ has joined #ruby-lang
benlovell has quit [Ping timeout: 255 seconds]
elia has quit [Quit: Computer has gone to sleep.]
shazaum has quit [Ping timeout: 272 seconds]
hahuang62 has joined #ruby-lang
djbkd has joined #ruby-lang
senor_jalapeno has quit [Ping timeout: 272 seconds]
mistym has joined #ruby-lang
GBrawl has joined #ruby-lang
bmichelsen has joined #ruby-lang
hahuang62 has quit [Ping timeout: 272 seconds]
RobertBirnie has joined #ruby-lang
stamina has quit [Quit: WeeChat 1.0.1]
michaeldeol has quit [Read error: Connection reset by peer]
cornerma1 has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
klmlfl has joined #ruby-lang
senor_jalapeno has joined #ruby-lang
caseydriscoll has joined #ruby-lang
cornerman has quit [Ping timeout: 264 seconds]
cornerma1 is now known as cornerman
jeff_r has joined #ruby-lang
shazaum_ is now known as Shazaum
Shazaum has quit [Changing host]
Shazaum has joined #ruby-lang
michaeldeol has joined #ruby-lang
GBrawl has quit [Remote host closed the connection]
juuio has quit [K-Lined]
fusillicode has joined #ruby-lang
wallerdev has joined #ruby-lang
fusillicode has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby-lang
kurko__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
malconis has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
ddd has quit [Quit: leaving]
emmesswhy has joined #ruby-lang
ddd has joined #ruby-lang
Guest68349 has quit [Ping timeout: 250 seconds]
ddd has quit [Client Quit]
mkaesz has joined #ruby-lang
AKASkip has joined #ruby-lang
midhir has joined #ruby-lang
antoniusglock has joined #ruby-lang
mskaesz has joined #ruby-lang
mskaesz has quit [Remote host closed the connection]
mkaesz has quit [Read error: No route to host]
hahuang62 has joined #ruby-lang
ddd has joined #ruby-lang
nofxx__ has joined #ruby-lang
nofxx_ has quit [Ping timeout: 250 seconds]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
ddd has quit [Quit: forgot a couple perl mods]
futilegames has quit [Ping timeout: 245 seconds]
ddd has joined #ruby-lang
nofxx__ has quit [Ping timeout: 245 seconds]
jeff_r has quit [Ping timeout: 256 seconds]
allomov has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
futilegames has joined #ruby-lang
nofxx__ has joined #ruby-lang
dangerou_ has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
jimbach has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 256 seconds]
kurko__ has joined #ruby-lang
kyb3r_ has joined #ruby-lang
klmlfl has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
klmlfl has joined #ruby-lang
allomov has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
futilegames has quit [Ping timeout: 260 seconds]
chinmay_dd has quit [Quit: Leaving]
futilegames has joined #ruby-lang
nofxx__ has quit [Ping timeout: 255 seconds]
dangerou_ has quit [Ping timeout: 245 seconds]
skade has joined #ruby-lang
nofxx__ has joined #ruby-lang
gianlucadv has joined #ruby-lang
a[0] has joined #ruby-lang
<a[0]> anyone know where the "supplemental notes" on ruby-doc.org come from? they don't seem to be part of the regular stuff in the github repo
michaeldeol has quit [Read error: Connection reset by peer]
michaeldeol has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
allomov has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
futilegames has joined #ruby-lang
chussenot has quit [Ping timeout: 256 seconds]
bmichelsen has quit [Quit: ZZZzzz…]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
allomov has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 244 seconds]
futilegames has quit [Ping timeout: 256 seconds]
benlovell has joined #ruby-lang
yfeldblum has joined #ruby-lang
malconis has joined #ruby-lang
workmad3 has quit [Ping timeout: 265 seconds]
futilegames has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
kyb3r_ has quit [Quit: Leaving]
tdy has quit [Quit: WeeChat 1.0.1]
tdy has joined #ruby-lang
tdy has quit [Client Quit]
benlovell has quit [Ping timeout: 265 seconds]
tdy has joined #ruby-lang
btiefert has joined #ruby-lang
Iskarlar has joined #ruby-lang
futilegames has quit [Ping timeout: 245 seconds]
kiyote23 has joined #ruby-lang
futilegames has joined #ruby-lang
gjaldon has quit []
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
hahuang62 has quit [Quit: WeeChat 1.0.1]
hahuang65 has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chussenot has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
futilegames has joined #ruby-lang
skade has joined #ruby-lang
skade has quit [Client Quit]
ikrima has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
skade has joined #ruby-lang
skade has quit [Client Quit]
Shazaum has quit [Quit: This computer has gone to sleep]
futilegames has quit [Ping timeout: 256 seconds]
brixen has quit [Quit: ZNC - http://znc.in]
futilegames has joined #ruby-lang
Iskarlar has joined #ruby-lang
brixen has joined #ruby-lang
Iskarlar has quit [Client Quit]
cmhobbs has joined #ruby-lang
cmhobbs has joined #ruby-lang
Asher2 is now known as Asher
futilegames has quit [Ping timeout: 255 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
klmlfl has quit [Remote host closed the connection]
ta_ has joined #ruby-lang
klmlfl has joined #ruby-lang
sush24 has joined #ruby-lang
futilegames has joined #ruby-lang
sush24 has quit [Client Quit]
fijimunkii has joined #ruby-lang
michaeldeol has joined #ruby-lang
skade has joined #ruby-lang
djbkd has joined #ruby-lang
jeff_r has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
oleo__ has joined #ruby-lang
oleo is now known as Guest54174
jeff_r is now known as 77CAAVBHL
jeff_r has joined #ruby-lang
henrikhodne has quit [Ping timeout: 244 seconds]
skade has quit [Client Quit]
_dyrim has quit [Ping timeout: 244 seconds]
mistym has quit [Ping timeout: 244 seconds]
JoL1hAHN has quit [Ping timeout: 244 seconds]
Guest54174 has quit [Ping timeout: 250 seconds]
mistym has joined #ruby-lang
futilegames has joined #ruby-lang
_dyrim has joined #ruby-lang
henrikhodne has joined #ruby-lang
JoL1hAHN has joined #ruby-lang
straydogstudio has joined #ruby-lang
jimbach has joined #ruby-lang
fijimunkii has quit [Quit: leaving]
jimbach has quit [Read error: Connection reset by peer]
oleo__ has quit [Quit: Verlassend]
jimbach has joined #ruby-lang
imjacobclark has joined #ruby-lang
a[0] has quit [Quit: This computer has gone to sleep]
djbkd has quit [Remote host closed the connection]
skade has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
ruby-lang928 has joined #ruby-lang
ruby-lang928 has quit [Client Quit]
oop-learner has joined #ruby-lang
iamninja has joined #ruby-lang
jimbach has quit [Ping timeout: 258 seconds]
<oop-learner> Hi guys, has anyone got a moment to answer some basic OOP design questions?
oleo__ has joined #ruby-lang
mistym has quit [Remote host closed the connection]
oleo__ is now known as oleo
futilegames has joined #ruby-lang
a[0] has joined #ruby-lang
ta has quit [Quit: Leaving...]
<apeiros> oop-learner: don't ask to ask. just ask.
<oop-learner> Lets say I have a basic sales order application. I have an "orders" class. The instances need to be stored in an array to be later Marshal'd
<oop-learner> Do I have another class (a singleton) "orders_list" to store the orders objects? Or does the object list go in the orders class as a global???
<oop-learner> Sorry I mean Class variable
ur5us has joined #ruby-lang
<apeiros> you could have Order and Order.all_orders
<apeiros> or Order.all
<apeiros> and store it in a class instance variable
allomov has quit [Remote host closed the connection]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<oop-learner> It my programming is long running, I guess on dumping and restoring the orders the class instance holding all the objects would be reset somehow?
yfeldblum has joined #ruby-lang
futilegames has quit [Ping timeout: 252 seconds]
chussenot has quit [Quit: chussenot]
ikrima has quit [Ping timeout: 272 seconds]
<oop-learner> ok so now I have a @@all_orders class variable. In the initialize method I want to push the new instance object onto the @@all_orders array stack. How would I do this? (@@all_orders << self..?)
ldnunes has quit [Quit: Leaving]
Bwild has joined #ruby-lang
futilegames has joined #ruby-lang
postmodern has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
a[0] has quit [Quit: This computer has gone to sleep]
robbyoconnor has quit [Quit: Konversation terminated!]
wallerdev has quit [Quit: wallerdev]
godd2 has joined #ruby-lang
jimbach has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
nathanstitt has quit [Quit: Laters]
futilegames has joined #ruby-lang
a[0] has joined #ruby-lang
chouhoul_ has joined #ruby-lang
fusillicode has joined #ruby-lang
skade has joined #ruby-lang
skade has quit [Client Quit]
usershell has joined #ruby-lang
michaeldeol has joined #ruby-lang
Bwild has quit [Ping timeout: 244 seconds]
mistym has joined #ruby-lang
_fritchie has joined #ruby-lang
Bwild has joined #ruby-lang
chouhoulis has quit [Ping timeout: 264 seconds]
Bwild has quit [Client Quit]
djbkd has joined #ruby-lang
midhir has quit [Remote host closed the connection]
oop-learner has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
havenn has joined #ruby-lang
allomov has joined #ruby-lang
havenwood has quit [Ping timeout: 250 seconds]
djbkd has quit [Ping timeout: 244 seconds]
usershel_ has joined #ruby-lang
havenn is now known as havenwood
usershel_ has quit [Remote host closed the connection]
usershell has quit [Ping timeout: 264 seconds]
brownbathrobe has joined #ruby-lang
usershel_ has joined #ruby-lang
skade has joined #ruby-lang
arooni-mobile has joined #ruby-lang
mistym has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
nathanstitt has joined #ruby-lang
benlovell has quit [Ping timeout: 252 seconds]
amigo99 has quit [Quit: This computer has gone to sleep]
redgetan has joined #ruby-lang
1JTAA9G0W has joined #ruby-lang
fclausen has joined #ruby-lang
djbkd has joined #ruby-lang
arooni-mobile has quit [Quit: Leaving]
mistym_ has joined #ruby-lang
arooni-mobile has joined #ruby-lang
kurko__ has quit [Ping timeout: 245 seconds]
skade has quit [Quit: Computer has gone to sleep.]
chouhoul_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
skade has joined #ruby-lang
skade has quit [Client Quit]
redgetan has quit [Quit: This computer has gone to sleep]
kurko__ has joined #ruby-lang
geekygator has joined #ruby-lang
spetryk has joined #ruby-lang
<spetryk> test
gianlucadv has quit [Ping timeout: 245 seconds]
kiyote23 has quit [Read error: Connection reset by peer]
kiyote23 has joined #ruby-lang
ta_ has quit [Remote host closed the connection]
emmesswhy has quit [Quit: This computer has gone to sleep]
chouhoul_ has joined #ruby-lang
diegoviola has joined #ruby-lang
usershel_ has quit [Remote host closed the connection]
spetryk has left #ruby-lang [#ruby-lang]
spetryk has joined #ruby-lang
usershell has joined #ruby-lang
chouhoulis has quit [Ping timeout: 244 seconds]
geekygator has quit [Quit: leaving]
midhir has joined #ruby-lang
hramrach_ has quit [Remote host closed the connection]
ta has joined #ruby-lang
hramrach_ has joined #ruby-lang
spetryk has left #ruby-lang [#ruby-lang]
spetryk has joined #ruby-lang
chouhoul_ has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
chouhoulis has joined #ruby-lang
redgetan has joined #ruby-lang
<ljarvis> it works
emmesswhy has joined #ruby-lang
momomomomo has joined #ruby-lang
<spetryk> What works?
nofxx__ has quit [Ping timeout: 265 seconds]
<ljarvis> your test
voxxit has quit [Remote host closed the connection]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
michaeldeol has joined #ruby-lang
Musashi007 has joined #ruby-lang
voxxit has joined #ruby-lang
benlovell has joined #ruby-lang
GBrawl has joined #ruby-lang
djbkd has joined #ruby-lang
nofxx__ has joined #ruby-lang
a[0] has quit [Quit: Leaving]
jimbach has quit [Read error: Network is unreachable]
jimbach has joined #ruby-lang
spetryk is now known as stevenpetryk
benlovell has quit [Ping timeout: 245 seconds]
Mothore has quit [Quit: Be back later ...]
voxxit has quit [Remote host closed the connection]
allomov has quit [Remote host closed the connection]
setanta has quit [Quit: Leaving]
mustmodify has joined #ruby-lang
<mustmodify> I was just going to fix a bug in my 'attr_accessor on steroids' gem, Valuable. I left some code uncommitted there... an incomplete thought... I'm trying to figure out why I would have written this 'metaclass' method. Any thoughts would be appreciated. :P https://gist.github.com/mustmodify/4dd0136bdc7fe9532a3e
<zenspider> so you can make class methods dynamically?
allomov has joined #ruby-lang
hagabaka has quit [Ping timeout: 244 seconds]
GBrawl has quit [Quit: (null)]
<mustmodify> zenspider: couldn't I do that via self.class rather than metaclass?
natevick has joined #ruby-lang
geekygator has joined #ruby-lang
hagabaka has joined #ruby-lang
bin7me has quit [Read error: Connection reset by peer]
stevenpetryk has quit [Quit: Lost terminal]
redgetan has quit [Quit: This computer has gone to sleep]
mistym_ has quit [Remote host closed the connection]
geekygator has quit [Ping timeout: 264 seconds]
mistym has joined #ruby-lang
1JTAA9G0W has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
stevenpetryk has joined #ruby-lang
<zenspider> mustmodify: not quite the same thing. the metaclass thing is the anonymous class for the instance of the class (eigenclass, whatever). look at minitest/mock for more examples
<mustmodify> it's an anonymous stand-in for the instance of the class.
<mustmodify> hm...
<mustmodify> I guess I'm trying to figure out the differences in functionality. I'm writing some tests around it now and hopefully that'll help me figure it out.
stevenpetryk has quit [Quit: Lingo: www.lingoirc.com]
<zenspider> tests are good. :)
<mustmodify> zenspider: I'm fond of them. When I originally started this gem I was like, "I don't need no rspec, I'll use test-unit. That way no one will have to install dependencies!" I guess that was stupid but I feel like I'm writing in --- ok not C, but I feel like I've dropped down a few levels of abstraction to where really fast things happen.
<mustmodify> I'm sure it's no faster but it feels less comfy and therefor slightly edgier. :P
<zenspider> well, it's certainly faster than rspec
<zenspider> measurably so
voxxit has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit [Remote host closed the connection]
dagda1 has joined #ruby-lang
x-light has joined #ruby-lang
PaulePan1er is now known as PaulePanter
voxxit has quit [Remote host closed the connection]
voxxit has joined #ruby-lang
kurko__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
77CAAVBHL has quit [Read error: Connection reset by peer]
kurko__ has joined #ruby-lang
arBmind has joined #ruby-lang
fclausen has quit [Ping timeout: 272 seconds]
voxxit has quit [Remote host closed the connection]
ta has quit [Remote host closed the connection]
<mustmodify> so in short, if you use self.class you define the method on every class that inherits from your parent. Which can be problematic.
momomomomo has quit [Ping timeout: 245 seconds]
kurko__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kith has quit [Read error: Connection reset by peer]
kith has joined #ruby-lang
GBrawl has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 244 seconds]
skade has joined #ruby-lang
momomomomo has joined #ruby-lang
spetryk has joined #ruby-lang
miqui__ has quit [Ping timeout: 245 seconds]
futilegames has quit [Ping timeout: 256 seconds]
imjacobclark has quit [Remote host closed the connection]
GBrawl has quit [Ping timeout: 260 seconds]
imjacobclark has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
antoniusglock has quit [Quit: leaving]
antoniusglock has joined #ruby-lang
imjacobclark has quit [Ping timeout: 264 seconds]
futilegames has joined #ruby-lang
RickHull has joined #ruby-lang
hhatch has quit [Ping timeout: 244 seconds]
whippythellama has quit [Quit: whippythellama]
jeff_r has joined #ruby-lang
jeff_r has quit [Read error: Connection reset by peer]
AKASkip has quit [Ping timeout: 258 seconds]
jeff_r has joined #ruby-lang
kurko__ has joined #ruby-lang
jeff_r has quit [Read error: Connection reset by peer]
wallerdev has quit [Quit: wallerdev]
jeff_r has joined #ruby-lang
voxxit has joined #ruby-lang
futilegames has quit [Ping timeout: 264 seconds]
wallerdev has joined #ruby-lang
jeff_r has quit [Read error: Connection reset by peer]
jeff_r has joined #ruby-lang
brownbathrobe has quit [Remote host closed the connection]
jeff_r has quit [Read error: Connection reset by peer]
jeff_r has joined #ruby-lang
futilegames has joined #ruby-lang
Shazaum has joined #ruby-lang
jeff_r has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby-lang
apeiros_ has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
shambrarian has quit [Quit: bye!]
skade has quit [Read error: Connection reset by peer]
skade has joined #ruby-lang
cmhobbs has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 244 seconds]
futilegames has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
nathanstitt has quit [Ping timeout: 258 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
futilegames has joined #ruby-lang
jxie has joined #ruby-lang
spetryk has quit [Quit: Be back later ...]
usershell has quit [Remote host closed the connection]
emmesswhy has quit [Quit: This computer has gone to sleep]
allomov has quit [Remote host closed the connection]
futilegames has quit [Ping timeout: 244 seconds]
futilegames has joined #ruby-lang
benlovell has joined #ruby-lang
fclausen has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
__butch__ has quit [Quit: Leaving.]
kiyote23 has quit [Remote host closed the connection]
arBmind has quit [Quit: Leaving.]
emmesswhy has joined #ruby-lang
benlovell has quit [Ping timeout: 245 seconds]
futilegames has quit [Ping timeout: 256 seconds]
futilegames has joined #ruby-lang
skade has quit [Read error: Connection reset by peer]
michaeldeol has joined #ruby-lang