apeiros_ changed the topic of #ruby to: Ruby 1.9.3-p286: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com
srji has quit [Quit: leaving]
jenrzzz has joined #ruby
astsubay06 has joined #ruby
mahmoudimus has quit [Ping timeout: 252 seconds]
_veer has quit [Ping timeout: 246 seconds]
bradhe has joined #ruby
mahmoudimus has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
kirun has quit [Quit: Client exiting]
swarley has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 265 seconds]
bradhe has quit [Ping timeout: 255 seconds]
astsubay06 has quit []
tbrock has joined #ruby
vjt has joined #ruby
swarley has joined #ruby
BrianJ has joined #ruby
yuike has joined #ruby
malcolmva has quit [Remote host closed the connection]
kil0byte has quit [Read error: Operation timed out]
coyo has joined #ruby
emmanuel__ has joined #ruby
<coyo> hey rubyists.
<coyo> how fare ye?
Virunga has quit [Remote host closed the connection]
emmanuelux has quit [Ping timeout: 245 seconds]
tommyvyo has joined #ruby
statarb3 has quit [Quit: Leaving]
c0rn has quit []
jenrzzz has joined #ruby
Retistic has quit [Quit: Retistic]
Retistic has joined #ruby
daniel_- has joined #ruby
tbrock has quit [Quit: Computer has gone to sleep.]
jenrzzz has quit [Ping timeout: 260 seconds]
tomsthumb has quit [Quit: Leaving.]
seanstickle has quit [Quit: seanstickle]
jslowe has quit [Read error: Connection reset by peer]
k610 has quit [Ping timeout: 255 seconds]
tommyvyo has quit [Quit: Computer has gone to sleep.]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
daniel_- has quit [Ping timeout: 246 seconds]
zomgbie has joined #ruby
slainer68 has joined #ruby
cakehero has joined #ruby
freeayu has joined #ruby
rkd91 has quit [Quit: Leaving]
yshh has joined #ruby
fixl has joined #ruby
yuike has quit [Quit: Computer has gone to sleep.]
linoj has joined #ruby
ryanlecompte has joined #ruby
slainer68 has quit [Ping timeout: 246 seconds]
yshh_ has quit [Ping timeout: 244 seconds]
zomgbie has quit [Ping timeout: 252 seconds]
d2dchat has quit [Remote host closed the connection]
yuike has joined #ruby
yshh has quit [Remote host closed the connection]
aharris6 has quit [Remote host closed the connection]
workmad3 has joined #ruby
malcolmva has joined #ruby
mercwithamouth has joined #ruby
tommyvyo has joined #ruby
amacgregor_osx has quit [Ping timeout: 256 seconds]
Xeago has quit [Remote host closed the connection]
aharris6 has joined #ruby
didra has joined #ruby
aharris6 has quit [Remote host closed the connection]
atmosx has quit [Quit: And so the story goes…]
bradhe has joined #ruby
didra has quit [Ping timeout: 256 seconds]
bradhe has quit [Ping timeout: 252 seconds]
yuike has quit [Quit: Computer has gone to sleep.]
thone has joined #ruby
thone_ has quit [Read error: Operation timed out]
emergion has quit [Quit: Computer has gone to sleep.]
darthdeus has joined #ruby
Retistic has quit [Quit: Retistic]
emergion has joined #ruby
pcarrier has joined #ruby
yaro has quit [Quit: Leaving]
sdk has joined #ruby
emergion has quit [Client Quit]
fyolnish has joined #ruby
emergion has joined #ruby
emmanuel__ has quit [Quit: emmanuel__]
Chryson has joined #ruby
mercwithamouth has quit [Ping timeout: 248 seconds]
emergion has quit [Client Quit]
manizzle has quit [Ping timeout: 268 seconds]
F1skr has joined #ruby
jackdanger has quit [Quit: Leaving.]
aharris6 has joined #ruby
cj3kim has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
mercwithamouth has joined #ruby
emmanuelux has joined #ruby
aces23up has joined #ruby
didra has joined #ruby
aces1up has quit [Ping timeout: 252 seconds]
manizzle has joined #ruby
<swarley> hey guys, what is '...' used for?
<cirwin> suspense…
Jasko has quit [Read error: Connection reset by peer]
<Spaceghostc2c> swarley: Usually when you elide things or otherwise don't say...
Jasko has joined #ruby
<Spaceghostc2c> Everything
slainer68 has joined #ruby
jlwestsr has joined #ruby
<cirwin> swarley: the only use of it in ruby that I know of is https://github.com/ConradIrwin/yada_yada
<Spaceghostc2c> Ranges bro.
<cirwin> anyone who uses ... in ranges is doing it wrong :p
<Spaceghostc2c> Wrong.
<Spaceghostc2c> False.
<didra> 1..10 means 1 to 10, 1...10 means 1..9
<Spaceghostc2c> Incorrect.
<cirwin> the problem is that (1...10).last == 10, not 9
<cirwin> so it gets pretty confusing
<Spaceghostc2c> ... is inclusive.
workmad3 has quit [Ping timeout: 260 seconds]
<didra> yep
<Spaceghostc2c> Or was that backwards?
<cirwin> (1...2).include?(2)
<cirwin> => false
<cirwin> (1...2).last
<cirwin> => 2
noxoc has quit [Quit: noxoc]
<Spaceghostc2c> Anywho, saying that it's 'doing it wrong' is hilarious.
tommyvyo has joined #ruby
<apeiros_> Range#include? is slow
<apeiros_> you better invert and use obj.between?(a,b)
<apeiros_> and 1...10 is not 1..9 - (1...10).include?(9.9) # => true
u89 has quit [Remote host closed the connection]
<didra> ok but (1..10).each is 1 2 3 4 5 6 7 8 9
cirwin has quit [Ping timeout: 260 seconds]
<didra> oops ... make that three dots
elaptics is now known as elaptics`away
brianpWins has quit [Quit: brianpWins]
slainer68 has quit [Ping timeout: 264 seconds]
<apeiros_> yes, expanding the range will yield 1 through 9
linoj has quit [Quit: linoj]
Vert has quit [Remote host closed the connection]
maletor has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
bluehavana has joined #ruby
Cache_Money has quit [Read error: Connection reset by peer]
ryanf has joined #ruby
Cache_Money has joined #ruby
jackdanger has joined #ruby
Cache_Money has quit [Read error: Connection reset by peer]
Cache_Money has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
Hanmac1 has joined #ruby
Hanmac has quit [Ping timeout: 276 seconds]
ascarpino has quit [Ping timeout: 268 seconds]
jlwestsr has quit [Ping timeout: 246 seconds]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
Xeago has joined #ruby
sdk has quit []
fyolnish has quit [Remote host closed the connection]
aharris6 has quit [Remote host closed the connection]
tomsthumb has joined #ruby
mercwithamouth has quit [Ping timeout: 252 seconds]
swarley has quit [Ping timeout: 248 seconds]
iamjarvo has joined #ruby
cj3kim has quit [Quit: This computer has gone to sleep]
slainer68 has joined #ruby
cj3kim has joined #ruby
Lemtzas is now known as LEMTZAS
tjbiddle has joined #ruby
mercwithamouth has joined #ruby
jackdanger has quit [Quit: Leaving.]
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
cj3kim has quit [Quit: This computer has gone to sleep]
cakehero has quit [Quit: Computer has gone to sleep.]
emanu has quit [Quit: emanu]
aharris6 has joined #ruby
BadLarry has quit [Ping timeout: 240 seconds]
cirwin has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
LouisGB has quit [Ping timeout: 240 seconds]
BadLarry has joined #ruby
Experium has joined #ruby
<Experium> I trolled your scrotum for the variable declaration but the compiler said invalid semi-colon
<Experium> ^^ dirty c joke ;P
dmiller_ has joined #ruby
linoj has joined #ruby
pdtpatrick has joined #ruby
<pdtpatrick> .
dmiller has quit [Ping timeout: 246 seconds]
jrajav has joined #ruby
warb0 has quit [Read error: Operation timed out]
pdtpatrick has quit [Client Quit]
jackdanger has joined #ruby
pdtpatrick has joined #ruby
bradhe has joined #ruby
postmodern has joined #ruby
yuike has joined #ruby
BadLarry has quit [Ping timeout: 264 seconds]
robotmay_ has joined #ruby
fyolnish has joined #ruby
BadLarry has joined #ruby
freakazoid0223 has joined #ruby
jackdanger has quit [Quit: Leaving.]
bradhe has quit [Ping timeout: 252 seconds]
dakta has left #ruby [#ruby]
robotmay has quit [Ping timeout: 240 seconds]
manizzle has quit [Ping timeout: 252 seconds]
tomsthumb has quit [Quit: Leaving.]
swarley has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
tomsthumb has joined #ruby
g_bleezy has joined #ruby
jackdanger has joined #ruby
davidcelis has quit [Quit: K-Lined.]
fyolnish has quit [Ping timeout: 260 seconds]
g_bleezy has quit [Read error: Operation timed out]
Ruler_Of_Heaven_ has quit [Ping timeout: 246 seconds]
jackdanger has quit [Client Quit]
pipopopo has joined #ruby
joeycarmello has quit [Remote host closed the connection]
johnmilton has quit [Remote host closed the connection]
kil0byte has joined #ruby
kiyoura has quit [Read error: Connection reset by peer]
kiyoura has joined #ruby
manizzle has joined #ruby
pipopopo has quit [Ping timeout: 252 seconds]
Elico has quit [Quit: elico]
pipopopo has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
slainer68 has quit [Remote host closed the connection]
havenn has quit [Remote host closed the connection]
greenarrow has quit [Read error: Connection reset by peer]
greenarrow has joined #ruby
cj3kim has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Changing host]
Grieg has joined #ruby
Grieg has quit [Changing host]
Grieg has joined #ruby
BadLarry has quit [Ping timeout: 246 seconds]
Averna has joined #ruby
thinkdevcode has joined #ruby
BadLarry has joined #ruby
Roa is now known as Roa
BigO has joined #ruby
BigO has quit [Remote host closed the connection]
fyolnish has joined #ruby
Aiur has joined #ruby
mercwithamouth has quit [Ping timeout: 244 seconds]
Russell^^ has quit [Quit: Russell^^]
darthdeus has quit [Quit: Leaving...]
mercwithamouth has joined #ruby
CaptainJet has quit []
Retistic has joined #ruby
F1skr has quit [Quit: WeeChat 0.3.9.1]
J-_-L has joined #ruby
ninjanoise has quit [Remote host closed the connection]
cirwin has quit [Ping timeout: 246 seconds]
joeycarmello has joined #ruby
Experium has left #ruby ["Leaving"]
Xeago has quit [Remote host closed the connection]
BadLarry has quit [Ping timeout: 252 seconds]
peregrine81 has joined #ruby
peregrine81 has quit [Remote host closed the connection]
tomsthumb has quit [Quit: Leaving.]
BadLarry has joined #ruby
seich- is now known as Seich
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
jimeh has quit [Quit: Computer has gone to sleep.]
emergion has joined #ruby
`brendan has quit [Read error: Connection reset by peer]
havenn has joined #ruby
`brendan has joined #ruby
cj3kim has left #ruby ["Leaving"]
mercwithamouth has quit [Ping timeout: 276 seconds]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
`brendan has quit [Read error: Connection reset by peer]
jimeh has joined #ruby
bradhe has joined #ruby
bradhe_ has joined #ruby
`brendan has joined #ruby
bradhe has quit [Read error: Connection reset by peer]
Chryson has quit [Read error: Operation timed out]
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
havenn has quit [Ping timeout: 260 seconds]
`brendan has quit [Read error: Connection reset by peer]
tommyvyo has quit [Quit: Computer has gone to sleep.]
`brendan has joined #ruby
hsbt is now known as hsbt_away
linoj has quit [Quit: linoj]
hsbt_away is now known as hsbt
J-_-L has quit [Ping timeout: 255 seconds]
<wf2f> most competitive/popular board game that computers do not triumph in?
<apeiros_> go?
jarred_ has joined #ruby
jarred_ has quit [Client Quit]
`brendan has quit [Read error: Connection reset by peer]
ewag has joined #ruby
dorei has quit []
mikemac has joined #ruby
crazymykl has quit [Ping timeout: 244 seconds]
tomsthumb has joined #ruby
`brendan has joined #ruby
`brendan has quit [Read error: Connection reset by peer]
brianpWins has joined #ruby
Chryson has joined #ruby
`brendan has joined #ruby
ninjanoise has joined #ruby
ryanlecompte has quit [Remote host closed the connection]
brianpWins has quit [Remote host closed the connection]
ryanlecompte has joined #ruby
BadLarry has quit [Ping timeout: 260 seconds]
hsbt is now known as hsbt_away
`brendan has quit [Read error: Connection reset by peer]
BadLarry has joined #ruby
hsbt_away is now known as hsbt
`brendan has joined #ruby
slainer68 has joined #ruby
tommyvyo has joined #ruby
Chryson has quit [Ping timeout: 246 seconds]
`brendan has quit [Read error: Connection reset by peer]
quiliro has quit [Read error: Operation timed out]
slainer68 has quit [Ping timeout: 240 seconds]
adeponte has joined #ruby
`brendan has joined #ruby
tjbiddle has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
havenn has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
havenn has quit [Ping timeout: 268 seconds]
`brendan has quit [Read error: Connection reset by peer]
FifthWall has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
`brendan has joined #ruby
Chryson has joined #ruby
`brendan has quit [Read error: Connection reset by peer]
`brendan has joined #ruby
FifthWall has quit [Quit: Textual IRC Client: www.textualapp.com]
tjbiddle has joined #ruby
<Paradox> I am the Video Word made Flesh.
quiliro has joined #ruby
adeponte has quit [Remote host closed the connection]
Amirh has joined #ruby
mercwithamouth has joined #ruby
adeponte has joined #ruby
Mon_Ouie has quit [Ping timeout: 240 seconds]
emergion has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Mon_Ouie has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
BadLarry has quit [Ping timeout: 265 seconds]
headius has joined #ruby
shiin has quit [Quit: Computer has gone to sleep.]
emergion has joined #ruby
BadLarry has joined #ruby
iamjarvo has quit [Quit: Computer has gone to sleep.]
`brendan has quit [Ping timeout: 255 seconds]
`brendan has joined #ruby
joeycarmello has quit [Remote host closed the connection]
joeycarmello has joined #ruby
`brendan has quit [Read error: Connection reset by peer]
robotmay_ has quit [Remote host closed the connection]
d2dchat has joined #ruby
`brendan has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
tomsthumb has quit [Quit: Leaving.]
radic has joined #ruby
radic_ has quit [Read error: Operation timed out]
adrianmn has joined #ruby
<adrianmn> Hi guys. I recently started learning rails on a old mac mini with 2gb ram. I am buying a new mac next week and was thinking to get the new mac mini with i7 processors as I already have a dual display setup so not worth going imac. How much ram should I get(default is 4GB)? Also the stock one has normal hdd and I have to wait weeks for a SDD, am I ok with the standard 1TB one?
nari has joined #ruby
tk___ has joined #ruby
pac1 has quit [Quit: I got it one line of code at a time]
tomsthumb has joined #ruby
aces23up has quit [Read error: Connection reset by peer]
aces1up has joined #ruby
krislappy has quit [Quit: Reconnecting]
krisfremen has joined #ruby
d2dchat has quit [Remote host closed the connection]
c0rn has joined #ruby
davidcelis has joined #ruby
Chryson has quit [Ping timeout: 268 seconds]
krnlsndrs has joined #ruby
<krnlsndrs> +Ccnt
jimeh has quit [Quit: Computer has gone to sleep.]
joofsh has quit [Ping timeout: 246 seconds]
ianbrandt has quit [Quit: ianbrandt]
tommyvyo has joined #ruby
quiliro has quit [Read error: Operation timed out]
Noobsauce has joined #ruby
macmartine has joined #ruby
<swarley> Uhm,
<swarley> You're fine with a HDD. And you're fine with 4gb ram
<swarley> SSD is better, and 6gb is a good midrange imo
<swarley> @ adrianmn
emmanuelux has quit [Remote host closed the connection]
<adrianmn> thx
<Noobsauce> is anyone here familiar with shoes?
areil has joined #ruby
fantazo_ has quit [Ping timeout: 252 seconds]
noyb has joined #ruby
didra has left #ruby [#ruby]
tommyvyo has quit [Quit: Computer has gone to sleep.]
tomsthumb has quit [Quit: Leaving.]
tommyvyo has joined #ruby
havenn has joined #ruby
Chryson has joined #ruby
mercwithamouth has quit [Ping timeout: 244 seconds]
krnlsndrs has quit [Quit: leaving]
moshee has quit [Ping timeout: 260 seconds]
<swarley> Noobsauce; I've used it. But I don't particularly recommend it
moshee has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
havenn has quit [Ping timeout: 252 seconds]
chrishunt has joined #ruby
<Noobsauce> I'm stuck trying to get some really old code working, the app window appears and seems functional, but crashes inexplicably several seconds later
havenn has joined #ruby
<Noobsauce> I'm all ears if anyone has suggestions for debugging as I'm not terribly familiar with ruby
<swarley> yeah.. that's why i dont recommend shoes
manizzle has quit [Ping timeout: 252 seconds]
tommyvyo has quit [Quit: Computer has gone to sleep.]
<swarley> there are a lot of apps out there that even I someone who can fix most general problems that come from portage errors
<swarley> cannot fix at all
havenn has quit [Remote host closed the connection]
<swarley> shoes is very inconsistent, in my experience at least
<swarley> because its a whole interpreter if i remember correctly
<Spaceghostc2c> I don't think it is.
tommyvyo has joined #ruby
<Spaceghostc2c> It's a nice wrapper around stuff. Look at the repo.
<Spaceghostc2c> I may be wrong.
havenn has joined #ruby
<Noobsauce> Any idea how I might find the source of my crash? It doesnt seem to give any feedback at all :/
<swarley> oh no, it isnt. I thought i remembered reading that it was in beginning ruby
<swarley> but either way
yours_truly has joined #ruby
<swarley> I've never had any luck getting a shoes app to run
<swarley> But that's just me
<Noobsauce> thanks anyway, the #shoes room is completely dead :P
yours_truly has quit [Read error: Connection reset by peer]
<Noobsauce> I'll keep poking around for now :)
krnlsndr1 has joined #ruby
krnlsndr1 has quit [Client Quit]
tommyvyo has quit [Quit: Computer has gone to sleep.]
Paradox has quit [Ping timeout: 260 seconds]
tomsthumb has joined #ruby
tommyvyo has joined #ruby
havenn has quit [Remote host closed the connection]
havenn has joined #ruby
Paradox has joined #ruby
adeponte has quit [Remote host closed the connection]
ZubKonst_ has joined #ruby
Noobsauce has quit [Ping timeout: 265 seconds]
ryanf has quit [Quit: leaving]
Charlie_ has joined #ruby
Chryson has quit [Ping timeout: 260 seconds]
ZubKonst has quit [Ping timeout: 246 seconds]
tommyvyo has quit [Quit: Computer has gone to sleep.]
tommyvyo has joined #ruby
havenn has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
Ivo has quit [Quit: WeeChat 0.3.9.1]
andrewhl has quit [Remote host closed the connection]
r0bby has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
andrewhl has joined #ruby
Jasko has joined #ruby
robbyoconnor has quit [Disconnected by services]
mercwithamouth has joined #ruby
r0bby is now known as robbyoconnor
jrajav has quit [Quit: I tend to be neutral about apples]
bradhe_ has quit [Remote host closed the connection]
andrewhl has quit [Ping timeout: 252 seconds]
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
aharris6 has quit [Remote host closed the connection]
Chryson has joined #ruby
arya has joined #ruby
headius has quit [Quit: headius]
Chryson has quit [Ping timeout: 260 seconds]
sepp2k has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
ryanf has joined #ruby
arya has quit [Ping timeout: 244 seconds]
arya has joined #ruby
hsbt is now known as hsbt_away
tommyvyo has joined #ruby
sn0wb1rd has joined #ruby
Chryson has joined #ruby
yuike has quit [Quit: Computer has gone to sleep.]
yuike has joined #ruby
pavilionXP has quit [Read error: Connection reset by peer]
pavilionXP has joined #ruby
tjbiddle has joined #ruby
arya_ has joined #ruby
tjbiddle has quit [Client Quit]
sn0wb1rd has quit [Quit: sn0wb1rd]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
arya has quit [Ping timeout: 244 seconds]
sn0wb1rd has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
fantazo_ has joined #ruby
answer_42 has joined #ruby
cirwin has joined #ruby
k610 has joined #ruby
cirwin has quit [Read error: Connection reset by peer]
jackdanger has joined #ruby
emanu has joined #ruby
k610 has quit [Ping timeout: 255 seconds]
emanu has quit [Client Quit]
ryanf has quit [Quit: leaving]
arya_ has quit [Ping timeout: 244 seconds]
jarred_ has joined #ruby
J-_-L has joined #ruby
ryanf has joined #ruby
arya has joined #ruby
nari has quit [Ping timeout: 246 seconds]
adeponte has joined #ruby
Cache_Money has quit [Quit: Leaving]
yuike has quit [Quit: Computer has gone to sleep.]
classix has quit [Ping timeout: 252 seconds]
classix has joined #ruby
swarley has quit [Ping timeout: 264 seconds]
elkclone has joined #ruby
Paradox has quit [Remote host closed the connection]
g_bleezy has joined #ruby
joeycarmello has quit [Remote host closed the connection]
databyte has joined #ruby
databyte has quit [Remote host closed the connection]
databyte has joined #ruby
d2dchat has joined #ruby
derpops has joined #ruby
d2dchat has quit [Remote host closed the connection]
Nanuq has quit [Ping timeout: 246 seconds]
starship has quit [Quit: WeeChat 0.3.9.1]
g_bleezy has quit [Ping timeout: 240 seconds]
databyte has quit [Remote host closed the connection]
databyte has joined #ruby
Paradox has joined #ruby
pavilionXP has quit [Ping timeout: 255 seconds]
mercwithamouth has quit [Ping timeout: 268 seconds]
hsbt_away is now known as hsbt
BoomCow has joined #ruby
voodoofish has quit [Quit: Leaving]
charliesome has joined #ruby
EyesIsMine has joined #ruby
slainer68 has joined #ruby
arya has quit [Ping timeout: 244 seconds]
alexshenoy has quit [Quit: alexshenoy]
slainer68 has quit [Ping timeout: 240 seconds]
nemesit has joined #ruby
kiyoura has quit [Quit: Leaving]
vectorshelve has joined #ruby
<vectorshelve> here I need to check one more condition. if user role is admin then check against self.company.id or else self.profile.id as above https://gist.github.com/4103966
pyx has joined #ruby
arya has joined #ruby
Hanmac1 is now known as Hanmac
<vectorshelve> here I need to check one more condition. if user role is admin then check against self.company.id or else self.profile.id as above https://gist.github.com/4103966
arya has quit [Ping timeout: 244 seconds]
bradhe has joined #ruby
bigmac has quit [Ping timeout: 255 seconds]
bigmac has joined #ruby
arya has joined #ruby
hamed_r has joined #ruby
bradhe has quit [Ping timeout: 265 seconds]
joeycarmello has joined #ruby
arya has quit [Ping timeout: 244 seconds]
mikepack has joined #ruby
ryanlecompte has quit [Remote host closed the connection]
xsbeats has quit [Ping timeout: 246 seconds]
ryanlecompte has joined #ruby
arya has joined #ruby
Seich is now known as seich
Mon_Ouie has quit [Quit: WeeChat 0.3.9]
samphippen has joined #ruby
eldariof has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
Bosma has quit [Ping timeout: 252 seconds]
arya_ has joined #ruby
arya has quit [Ping timeout: 244 seconds]
arya_ has quit [Ping timeout: 244 seconds]
coyo has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
mikepack has joined #ruby
arya has joined #ruby
Erfankam has joined #ruby
mikepack has quit [Ping timeout: 265 seconds]
ScottSilvi has joined #ruby
love_color_text has quit [Remote host closed the connection]
<ScottSilvi> I hate being this guy - trying to install a demo for a Startup Weekend pitch. I'm not a ruby guy. Having a problem with bundle exec rake ... is this the right place to ask for help? or am I more likely to get a "gfy" and can save us all time and do just that?
x82_nicole has quit [Quit: Computer has gone to sleep.]
bradhe has joined #ruby
pavilionXP has joined #ruby
tommyvyo has joined #ruby
ScottSilvi has left #ruby [#ruby]
J-_-L has quit [Ping timeout: 244 seconds]
nemesit has quit [Quit: Leaving...]
agu10^_ has joined #ruby
lupine_85 has quit [Excess Flood]
<agu10^_> why use ruby over php??
cirwin has joined #ruby
lupine_85 has joined #ruby
Nisstyre-laptop has quit [Quit: Leaving]
tommyvyo has quit [Quit: Computer has gone to sleep.]
rodasc has quit [Ping timeout: 246 seconds]
noyb has quit [Ping timeout: 260 seconds]
slainer68 has joined #ruby
<Mon_Ouie> agu10^_: PHP is a very inconsistent language… and that's a euphemism
<ryanf> haha
<ryanf> poor ScottSilvi
<ryanf> I was going to respond but he left already
<agu10^_> yes i know. but it's so popular!
<agu10^_> i can hire anyone to code php
<Mon_Ouie> I wouldn't trust someone who only knows one language, especially if that language is PHP :p
<agu10^_> hahah. well they may be REALLY cheap at it
pavilionXP has quit [Ping timeout: 268 seconds]
slainer68 has quit [Ping timeout: 276 seconds]
<Mon_Ouie> Also, if you're hiring programmers, unless you're a programmer too, why choose a language for them?
wallerdev has quit [Quit: wallerdev]
<Mon_Ouie> Supposedly they can decide better
<cirwin> PHP, I choose you!
<agu10^_> Mon_Ouie, i'm a coder too
<Mon_Ouie> PHP is the magicarp of programming languages
<shevy> ScottSilvi: the problem is not that you are a newbie or not, but in the software that is being used. bundler in particular. there are only few people who like it and know it enough to help, they usually gather on #bundler
<shevy> oh
<shevy> damn webclient
<cirwin> hey Sh
<cirwin> Evy
<shevy> I want my xchat back... but it's dead :(
<agu10^_> get ychat
Jasko has quit [Read error: Connection reset by peer]
<shevy> ychat?
<cirwin> shevy: I meant to ask, are you still seeing: https://github.com/pry/pry/issues/553 ?
Jasko has joined #ruby
J-_-L has joined #ruby
<shevy> cirwin: hmm have not tried in a long time
<agu10^_> shevy, yes
<shevy> agu10^_: I only get the silverex build of xchat (for windows) when googling for ychat
<shevy> oh
<shevy> y-cht
<shevy> weird name
<agu10^_> yes exactly. the silverex build
<shevy> hehe there is also a "yahoo chat" called ychat
<shevy> yahoo is still not dead? :P
<agu10^_> yes
<agu10^_> im not sure :S
<agu10^_> yahoo = microsoft = skype = facebook
rippa has joined #ruby
<agu10^_> against, google.
crodas has joined #ruby
<shevy> hehe
<shevy> wikipedia shows two buildings, one in california, the other one in india Bangalore... the one in India looks much better :\
Amirh has quit [Ping timeout: 255 seconds]
tjbiddle has joined #ruby
adeponte has quit [Remote host closed the connection]
tjbiddle has quit [Client Quit]
codespectator has quit [Quit: Computer has gone to sleep.]
dross has quit [Quit: Changing server]
connor_goodwolf has joined #ruby
jgrevich has quit [Quit: jgrevich]
connor_goodwolf has quit [Client Quit]
qwerxy has joined #ruby
osvico has quit [Ping timeout: 252 seconds]
skaragianis has joined #ruby
Axsuul has joined #ruby
dross has joined #ruby
xorigin has joined #ruby
bradhe has quit [Remote host closed the connection]
arietis has joined #ruby
dross has quit [Client Quit]
heftig has quit [Quit: leaving]
J-_-L has quit [Ping timeout: 264 seconds]
skaragianis has quit [Remote host closed the connection]
skaragianis has joined #ruby
dross has joined #ruby
rakl has joined #ruby
blacktulip has joined #ruby
jackdanger has quit [Quit: Leaving.]
dross has quit [Client Quit]
dross has joined #ruby
skaragianis has quit [Remote host closed the connection]
skaragianis has joined #ruby
Jamone has joined #ruby
Amirh has joined #ruby
blazes816 has quit [Quit: blazes816]
<shevy> when the buildings in former third-world countries are more expensive than those in the first-world countries, something very strange is going on
Monie has quit [Ping timeout: 244 seconds]
snorkdude has joined #ruby
<snorkdude> Looking for help in solving a nil class error in my Sinatra app. Can anyone help?
<cirwin> snorkdude: maybe, we'd need to see the full error message; and maybe some of the code
pyx has quit [Quit: WeeChat 0.3.9.1]
xsbeats has joined #ruby
<snorkdude> never mind, just realized that I needed to up case my input string...fml
fantazo_ has quit [Remote host closed the connection]
Jasko has quit [Read error: Connection reset by peer]
<cirwin> :)
<cirwin> no worries
Jasko has joined #ruby
thinkdevcode has quit [Remote host closed the connection]
monkegjinni has joined #ruby
skaragianis has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
arya has quit [Ping timeout: 244 seconds]
snorkdude has quit [Quit: snorkdude]
monkegjinni has quit [Ping timeout: 246 seconds]
ij has quit [Read error: Connection reset by peer]
skaragianis has joined #ruby
arya has joined #ruby
skaragianis has quit [Remote host closed the connection]
ij has joined #ruby
bigmac has quit [Quit: Leaving]
skaragianis has joined #ruby
SPYGAME has joined #ruby
BoomCow has quit [Read error: Operation timed out]
skaragianis has quit [Client Quit]
skaragianis has joined #ruby
swex_ has joined #ruby
swex has quit [Read error: Operation timed out]
love_color_text has joined #ruby
arya has quit [Ping timeout: 244 seconds]
<michele> ok, i'm just thinking
jarred_ has quit [Quit: jarred_]
<michele> using the ftp package. i have to implement some sort of timeout ( like http://stackoverflow.com/questions/1230172/ruby-netftp-timeout-threads )
<michele> so i was thinking about a method that execute the ftp.get() inside a timeout block (like the example). how could I retry the download iff the timeout exceeds (and thus I go into TimeoutException)?
arya has joined #ruby
skaragianis has left #ruby [#ruby]
<cirwin> sounds good
Jasko has quit [Read error: Connection reset by peer]
derpops has quit []
Jasko has joined #ruby
kn330 has joined #ruby
Neomex has joined #ruby
Neomex has quit [Client Quit]
Floydzy has joined #ruby
vlad_starkov has joined #ruby
onibox has joined #ruby
Tuxist has joined #ruby
hotovson has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
robustus has joined #ruby
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
hamed_r has quit [Ping timeout: 246 seconds]
bradhe has joined #ruby
ascarpino has joined #ruby
ascarpino has quit [Changing host]
ascarpino has joined #ruby
foofoobar has joined #ruby
chimkan has joined #ruby
michele has left #ruby [#ruby]
Virunga has joined #ruby
vlad_starkov has quit [Ping timeout: 246 seconds]
bradhe has quit [Ping timeout: 256 seconds]
zomgbie has joined #ruby
vlad_starkov has joined #ruby
blacktulip has quit [Remote host closed the connection]
kn330 has quit [Ping timeout: 265 seconds]
kn330 has joined #ruby
blacktulip has joined #ruby
hamed_r has joined #ruby
hsbt is now known as hsbt_away
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
shiin has joined #ruby
nemesit has joined #ruby
fyolnish has quit [Remote host closed the connection]
chimkan has quit [Quit: chimkan]
vlad_starkov has quit [Remote host closed the connection]
Guest92676 has joined #ruby
Seventoes has joined #ruby
<Seventoes> who's online
<Seventoes> oops wrong chan lol
Xeago has joined #ruby
love_color_text_ has joined #ruby
love_color_text_ has quit [Changing host]
love_color_text_ has joined #ruby
love_color_text_ has quit [Ping timeout: 252 seconds]
<adrianmn> guys what do you think is better for development 2x27 inch or 3 x 21.5 inch? I use 2x21'5 inch for years now and is time for more screen real estate
DDAZZA has joined #ruby
Sibersonic has joined #ruby
arya has quit [Ping timeout: 244 seconds]
ltsstar has joined #ruby
lkba has quit [Ping timeout: 244 seconds]
<vectorshelve> if !params[:email_domain_setting][:new_email_domain].blank? and !params[:commit].blank?
<vectorshelve> is there a better way to write this ?
Averna has left #ruby [#ruby]
<Hanmac> unless params[:email_domain_setting][:new_email_domain].blank? || params[:commit].blank?
workmad3 has joined #ruby
sdk has joined #ruby
Paradox has quit [Ping timeout: 268 seconds]
arya has joined #ruby
<vectorshelve> Hanmac: || or and ?
<Hanmac> || is similar to or
<Hanmac> && is similar to and
<vectorshelve> Hanmac: if params[:email_domain_setting][:new_email_domain] and params[:commit]
<vectorshelve> Hanmac: ^^ is similar I guess to what I asked initially.. so ! for blank? isnt required just if will check it :)
Sibersonic has left #ruby [#ruby]
<Hanmac> i think you dont understand "blank?"
<Hanmac> its an stupid rails method ... and it fools you
<vectorshelve> Hanmac: i meant
<vectorshelve> Hanmac: if something
<vectorshelve> Hanmac: will itself check if it is nil or not
<Hanmac> but blank? is also true for ""
mityaz has joined #ruby
<Hanmac> so what happends when both params[:email_domain_setting][:new_email_domain] and params[:commit] are both "" ? what will happen wth your code?
k610 has joined #ruby
<vectorshelve> Hanmac: correct
<vectorshelve> Hanmac: but I am not using blank
<vectorshelve> Hanmac: thats what I told u ryt
<vectorshelve> Hanmac: I am using
<vectorshelve> if params[:email_domain_setting][:new_email_domain] and params[:commit]
<vectorshelve> Hanmac: isnt this ok ?
Neomex has joined #ruby
<Hanmac> vectorshelve i say it again, what will happen when params[:email_domain_setting][:new_email_domain] is an empty string ( "" )?
Virunga has quit [Remote host closed the connection]
<vectorshelve> Hanmac: so what do you suggest ?
<vectorshelve> Hanmac: present ?
<vectorshelve> Hanmac: unless params[:email_domain_setting][:new_email_domain].blank? || params[:commit].blank?
<Hanmac> it depends on if the params can be empty strings or not
<vectorshelve> rather
<vectorshelve> Hanmac: unless params[:email_domain_setting][:new_email_domain].present? || params[:commit].present?
Jasko has quit [Read error: Connection reset by peer]
love_color_text_ has joined #ruby
Jasko has joined #ruby
fyolnish has joined #ruby
<Hanmac> vectorshelve: first YOU need to investigate if the params could be "" or nil
<Hanmac> vectorshelve: and YOU know that you are asking rails questions in an non-rails channel
<vectorshelve> Hanmac: ok
<Hanmac> shevy: as you could see, rails corrupt their minds
znake has joined #ruby
znake has quit [Remote host closed the connection]
Paradox has joined #ruby
love_color_text has quit [Remote host closed the connection]
kn330 has quit [Ping timeout: 246 seconds]
kn330 has joined #ruby
Guest36705 has quit [Quit: Computer has gone to sleep.]
fyolnish has quit [Ping timeout: 252 seconds]
Tuxist_ has joined #ruby
<vectorshelve> Hanmac: i too dont like rails.. but ruby..
<vectorshelve> Hanmac: but bread and butter comes form rails :(
arturaz has joined #ruby
Tuxist has quit [Ping timeout: 276 seconds]
haxrbyte_ has quit [Read error: Connection reset by peer]
bradhe has joined #ruby
xorigin has quit [Quit: leaving]
<vectorshelve> Hanmac: dude I am confused.. why did it return undefined method present on array when I used present and it worked when I used blank ? aaah my brain has stopped working
<vectorshelve> i mean after all present is just opposite of blank
<Hanmac> as i thought, when you use rails methods you are doomed
clj_newb has quit [Ping timeout: 264 seconds]
<vectorshelve> Hanmac: :(
DDAZZA has quit [Quit: Leaving]
niklasb has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
chussenot has joined #ruby
hsbt_away is now known as hsbt
Virunga has joined #ruby
qwerxy has quit [Quit: offski]
arturaz has quit [Ping timeout: 260 seconds]
arturaz has joined #ruby
noxoc has joined #ruby
Neomex has quit [Quit: Neomex]
jimeh has joined #ruby
Amirh has quit [Quit: Leaving.]
hakunin has quit [Remote host closed the connection]
g_bleezy has joined #ruby
Erfankam has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 276 seconds]
g_bleezy has quit [Ping timeout: 252 seconds]
mengu has joined #ruby
hsbt is now known as hsbt_away
FredLe has joined #ruby
Virunga has quit [Remote host closed the connection]
atmosx has joined #ruby
vlad_starkov has joined #ruby
lkba has joined #ruby
daniel_- has joined #ruby
jsaak has quit [Ping timeout: 248 seconds]
samphippen has quit [Quit: Computer has gone to sleep.]
samphippen has joined #ruby
daniel_- has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
nari has joined #ruby
workmad3 has quit [Read error: Operation timed out]
icooba has quit [Quit: Computer has gone to sleep.]
havenn has joined #ruby
Virunga has joined #ruby
k610 has quit [Ping timeout: 260 seconds]
<joni> how to use ! (exlamation mark) in regexp as a match target? i want to test id exlamation mark is in my string
hamed_r has quit [Ping timeout: 246 seconds]
ryanf has quit [Quit: leaving]
<apeiros_> "foo!" =~ /!/
<apeiros_> joni: nothing special about ! in a regex
<joni> apeiros_: but inside char class, "foo!".match(/[+-!]/) => error
pha3z has joined #ruby
<pha3z> I looked at Standalone Ruby compilers, but development status is spotty. Does anyone know if there is one being actively maintained?
nari has quit [Ping timeout: 246 seconds]
onibox has quit [Quit: leaving]
bradhe has joined #ruby
<answer_42> joni: match(/[+\-!]/)
<Hanmac> pha3z ruby does not have "compilers" per default
<joni> answer_42: very cool, ty
noxoc has quit [Quit: noxoc]
atmosx has quit [Quit: And so the story goes…]
prezioso has joined #ruby
niklasb has quit [Ping timeout: 252 seconds]
love_color_text has joined #ruby
<apeiros_> joni: that's because of the -
<apeiros_> you are creating a range with -
<apeiros_> which is why you have to do what answer_42 said and escape the -
<apeiros_> remember: [a-z]
<apeiros_> pha3z: rubymotion
<apeiros_> pha3z: and to some degree macruby
u89 has joined #ruby
<apeiros_> but I doubt that's what you wanted to hear :)
arya has quit [Ping timeout: 244 seconds]
c0rn has quit []
clj_newb has joined #ruby
Amirh has joined #ruby
Virunga has quit [Remote host closed the connection]
bier has quit [Ping timeout: 260 seconds]
arya has joined #ruby
hamed_r has joined #ruby
k610 has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
AndChat| has joined #ruby
jds_ has joined #ruby
Banistergalaxy has quit [Ping timeout: 260 seconds]
__lrk__ has joined #ruby
bier has joined #ruby
jds_ has quit [Read error: Connection reset by peer]
jds__ has joined #ruby
arya has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
arya has joined #ruby
darthdeus has joined #ruby
niklasb has joined #ruby
hamed_r has quit [Ping timeout: 246 seconds]
cirwin has quit [Ping timeout: 260 seconds]
Retistic has quit [Quit: Retistic]
Aiur has quit [Ping timeout: 276 seconds]
Slivka has joined #ruby
niklasb has quit [Ping timeout: 240 seconds]
Zolrath has joined #ruby
bradhe has joined #ruby
yshh has joined #ruby
fbrn has joined #ruby
slainer68 has joined #ruby
timonv has quit [Remote host closed the connection]
u89 has quit [Remote host closed the connection]
hamed_r has joined #ruby
Neomex has joined #ruby
slainer68 has quit [Ping timeout: 268 seconds]
dr_bob has joined #ruby
u89 has joined #ruby
timonv has joined #ruby
u89 has quit [Remote host closed the connection]
prezioso has quit [Quit: Lost terminal]
Nykolla has quit [Ping timeout: 256 seconds]
TheFuzzball has quit [Read error: Connection reset by peer]
prezioso has joined #ruby
jeff_sebring has quit [Quit: Leaving]
bradhe has quit [Ping timeout: 252 seconds]
TheFuzzball has joined #ruby
prezioso has quit [Quit: Lost terminal]
jackiechan0 has joined #ruby
jackiechan0 has quit [Remote host closed the connection]
love_color_text has quit [Ping timeout: 252 seconds]
Luceo has quit [Remote host closed the connection]
fyolnish has joined #ruby
u89 has joined #ruby
rakl has quit [Quit: sleeping]
male_italian28 has joined #ruby
male_italian28 has quit [Remote host closed the connection]
Russell^^ has joined #ruby
joni is now known as originale
prezioso has joined #ruby
Neomex has quit [Quit: Neomex]
niklasb has joined #ruby
Luceo has joined #ruby
thecomplib has joined #ruby
Axsuul has quit [Ping timeout: 276 seconds]
jslowe has joined #ruby
clj_newb has quit [Ping timeout: 246 seconds]
lkba has quit [Ping timeout: 246 seconds]
<pha3z> !who
hotovson has quit [Remote host closed the connection]
u89 has quit [Remote host closed the connection]
beiter_ has joined #ruby
bradhe has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
beiter has quit [Ping timeout: 246 seconds]
beiter_ is now known as beiter
dr_bob has left #ruby [#ruby]
dr_bob has joined #ruby
niklasb has quit [Ping timeout: 246 seconds]
tbrock has joined #ruby
Mkman has joined #ruby
arya has quit [Ping timeout: 244 seconds]
love_color_text has joined #ruby
fantazo has joined #ruby
thecomplib has quit [Quit: Leaving]
nemesit has quit [Quit: Leaving...]
arya has joined #ruby
rakl has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
__lrk__ has quit [Quit: __lrk__]
<shevy> yeah Hanmac
br4ndon has joined #ruby
TheFuzzball has quit [Read error: Connection reset by peer]
love_color_text has quit [Ping timeout: 252 seconds]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
slainer68 has joined #ruby
x0F_ is now known as x0F
LouisGB has joined #ruby
dr_bob has left #ruby [#ruby]
rippa has quit [Ping timeout: 256 seconds]
ddd has quit [Quit: Leaving.]
__lrk__ has joined #ruby
TheFuzzball has joined #ruby
banisterfiend has joined #ruby
slainer68 has quit [Ping timeout: 260 seconds]
heftig has joined #ruby
ascarpino has quit [Quit: Konversation terminated!]
ascarpino has joined #ruby
tbrock has quit [Quit: Computer has gone to sleep.]
Amirh1 has joined #ruby
kn330 has quit [Ping timeout: 246 seconds]
LouisGB has quit [Ping timeout: 252 seconds]
Amirh has quit [Ping timeout: 252 seconds]
Jasko has quit [Read error: Connection reset by peer]
prezioso has quit [Ping timeout: 256 seconds]
monkegjinni has joined #ruby
banisterfiend has quit [Remote host closed the connection]
Jasko has joined #ruby
love_color_text has joined #ruby
kn330 has joined #ruby
chussenot has quit [Quit: chussenot]
chussenot has joined #ruby
br4ndon has quit [Quit: Lorem ipsum dolor sit amet]
__lrk__ has quit [Quit: __lrk__]
workmad3 has joined #ruby
osvico has joined #ruby
darthdeus has quit [Quit: Leaving...]
bradhe has joined #ruby
clj_newb has joined #ruby
qwerxy has joined #ruby
qwerxy has quit [Client Quit]
joschi has quit [Quit: ZNC - http://znc.in]
qwerxy has joined #ruby
joschi has joined #ruby
arya has quit [Ping timeout: 244 seconds]
arya has joined #ruby
qwerxy has quit [Client Quit]
wallerdev has joined #ruby
bradhe has quit [Ping timeout: 255 seconds]
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
ewag has quit [Ping timeout: 260 seconds]
__lrk__ has joined #ruby
ephemerian has joined #ruby
__lrk__ has quit [Client Quit]
kirun has joined #ruby
jxf has joined #ruby
apfm has quit [Read error: Connection reset by peer]
dimka has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
__lrk__ has joined #ruby
kn330 has quit [Ping timeout: 246 seconds]
lkba has joined #ruby
jds__ has quit [Remote host closed the connection]
jimeh has joined #ruby
emmanuelux has joined #ruby
kn330 has joined #ruby
sheerun has joined #ruby
bluOxigen has joined #ruby
cezar-b has joined #ruby
slainer68 has joined #ruby
nemesit has joined #ruby
__lrk__ has quit [Quit: __lrk__]
rippa has joined #ruby
chussenot has quit [Quit: chussenot]
areil has quit [Remote host closed the connection]
slainer68 has quit [Ping timeout: 240 seconds]
cezar-b has left #ruby ["Leaving"]
Slivka has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
chussenot has joined #ruby
bradhe has joined #ruby
databyte has quit [Ping timeout: 252 seconds]
qwerxy has joined #ruby
joschi has quit [Ping timeout: 252 seconds]
LouisGB has joined #ruby
darthdeus has joined #ruby
despeinada has joined #ruby
<despeinada> hola
adambeynon has joined #ruby
<apeiros_> salü
despeinada has left #ruby [#ruby]
joschi has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
rakl has quit [Quit: sleeping]
kn330 has quit [Ping timeout: 246 seconds]
hoelzro|away is now known as hoelzro
tk___ has quit [Quit: ばいばい]
vlad_starkov has quit [Remote host closed the connection]
rippa has quit [Ping timeout: 260 seconds]
cezar has joined #ruby
chussenot has quit [Quit: chussenot]
shtirlic has joined #ruby
arturaz has quit [Remote host closed the connection]
daniel_- has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
hotovson has joined #ruby
CodeVision has quit [Ping timeout: 256 seconds]
Virunga has joined #ruby
Elico has joined #ruby
ltsstar has quit [Quit: ltsstar]
jackiechan0 has joined #ruby
jackiechan0 has quit [Read error: Connection reset by peer]
linoj has joined #ruby
kirun_ has joined #ruby
kirun_ has quit [Client Quit]
banisterfiend has joined #ruby
jds_ has joined #ruby
nemesit has quit [Quit: Leaving...]
JohnBat26 has joined #ruby
SolarisBoy has quit [Quit: leaving]
Mon_Ouie has quit [Ping timeout: 264 seconds]
g_bleezy has joined #ruby
jds_ has quit [Ping timeout: 252 seconds]
pyr0commie has joined #ruby
Vert has joined #ruby
Nanuq has joined #ruby
Neomex has joined #ruby
g_bleezy has quit [Ping timeout: 252 seconds]
joshman_ has joined #ruby
bradhe has joined #ruby
databyte has joined #ruby
jsaak has joined #ruby
alexshenoy has joined #ruby
freeayu has quit [Remote host closed the connection]
cousine has joined #ruby
bluesm has joined #ruby
Jdubs_ has joined #ruby
daniel_- has quit [Ping timeout: 248 seconds]
joofsh has joined #ruby
h8R has quit [Ping timeout: 264 seconds]
ddd has joined #ruby
Nanuq has quit [Ping timeout: 246 seconds]
slainer68 has joined #ruby
hyperboreean has joined #ruby
Nanuq has joined #ruby
andrewhl has joined #ruby
Xeago has quit [Remote host closed the connection]
joshman_ has quit [Quit: Computer has gone to sleep.]
g_bleezy has joined #ruby
<hyperboreean> hey guys, I have a problem with minitest's capture_io - after I call it, out, err = capture_io { MyObject.new([]) } nothing else is displayed even if I change the code to fail on purpose
slainer68 has quit [Ping timeout: 240 seconds]
kuzushi has joined #ruby
foofoobar has quit [Quit: Computer has gone to sleep.]
bradhe has quit [Ping timeout: 252 seconds]
linoj has quit [Quit: linoj]
foofoobar has joined #ruby
Vert has quit [Read error: Connection reset by peer]
moshee has quit [Ping timeout: 260 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
Nanuq has quit [Ping timeout: 246 seconds]
Nanuq has joined #ruby
x82_nicole has joined #ruby
postmodern has quit [Quit: Leaving]
__lrk__ has joined #ruby
Nanuq has quit [Ping timeout: 246 seconds]
schaerli has joined #ruby
__lrk__ has quit [Quit: __lrk__]
XDZVGZAVGAS has joined #ruby
XDZVGZAVGAS has quit [Excess Flood]
gmci has joined #ruby
gmci has quit [Client Quit]
Floydzy has quit [Quit: Floydzy]
Virunga has quit [Remote host closed the connection]
nemesit has joined #ruby
mercwithamouth has joined #ruby
joofsh has quit [Ping timeout: 246 seconds]
daniel_- has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
wendallsan has joined #ruby
aces23up has joined #ruby
shtirlic has quit [Remote host closed the connection]
aces1up has quit [Ping timeout: 256 seconds]
aces1up has joined #ruby
Neomex has quit [Quit: Neomex]
slainer68 has joined #ruby
aces23up has quit [Ping timeout: 248 seconds]
bluesm has quit [Remote host closed the connection]
timonv has quit [Read error: Connection reset by peer]
timonv has joined #ruby
bradhe has joined #ruby
arturaz has joined #ruby
jds_ has joined #ruby
Slivka has joined #ruby
Xeago has joined #ruby
Virunga has joined #ruby
mercwithamouth has quit [Ping timeout: 255 seconds]
xAndy is now known as xandy
jds_ has quit [Read error: Connection reset by peer]
jds_ has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
jimeh has joined #ruby
Mkman has quit [Quit: Lost terminal]
jimeh has quit [Client Quit]
Nanuq has joined #ruby
jimeh has joined #ruby
banisterfiend has quit [Ping timeout: 245 seconds]
elaptics`away is now known as elaptics
darthdeus has quit [Quit: Leaving...]
mercwithamouth has joined #ruby
Jdubs_ has quit [Remote host closed the connection]
kennyvb has joined #ruby
Morkel has joined #ruby
_alejandro has quit [Remote host closed the connection]
KostyaSha has joined #ruby
claymore has joined #ruby
prezioso has joined #ruby
<claymore> why does http://ruby-doc.org/core-1.9.3/Array.html#method-i-include-3F use equal for comparison, rather than ==?
bradhe has quit [Ping timeout: 260 seconds]
<claymore> equal being <= and >=, where reference equality seems to make more sense
Ivo has joined #ruby
mpereira has quit [Ping timeout: 276 seconds]
<Hanmac> claymore you usesd it wrong ... it does use ==, i think you dont understand ==
<claymore> I thought == was reference equality
chimkan has joined #ruby
KostyaSha has left #ruby [#ruby]
<Hanmac> per default yes, but not for classes like Numeric
prezioso has quit [Ping timeout: 268 seconds]
schaerli has quit [Remote host closed the connection]
<claymore> oh yeah, I think I remember having this discussion before
<claymore> ok, thanks
binarypl1 has joined #ruby
__lrk__ has joined #ruby
hotovson has quit [Ping timeout: 246 seconds]
samphippen has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
tommyvyo has joined #ruby
nicoulaj has joined #ruby
hotovson has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
samphippen has joined #ruby
<apeiros_> claymore: == is comparative equality
<apeiros_> i.e., if a <=> b returns 0, a == b should return true
<apeiros_> if <=> is not defined, == should be implemented in terms of eql?
hamed_r has quit [Quit: Leaving]
__lrk__ has quit [Read error: Connection reset by peer]
<apeiros_> claymore: compare, 1.0 <=> 1 # => 0 ---> 1.0 == 1 # => true
__lrk__ has joined #ruby
__lrk__ has left #ruby [#ruby]
<claymore> apeiros_: why should == need to be implemented if <=> is not defined? I thought it was referential equality in this case?
<heftig> Object defines == as referential equality
<heftig> if you don't want that, you need to implement it
<apeiros_> claymore: eql?, equal? and == by default are the same
<apeiros_> and no, == is not referential equality
<apeiros_> == is "equal objects", whereas equal? is "same object"
<apeiros_> equal? # -> test for same object
<apeiros_> eql? # -> test for same hash key
<heftig> right, sementically
<apeiros_> == # -> test for comparative equality (in terms of <=>), if no <=>, should default to eql?
<heftig> i just meant Object's implementation
josh__ has joined #ruby
joeycarmello has quit [Remote host closed the connection]
joeycarmello has joined #ruby
<apeiros_> heftig: yes, sorry, I adressed claymore with the "no it isn't"
<claymore> ok, now I'm very confused... I've never heard all this before. But by "same object" you mean same reference?
<apeiros_> same as the english word means
<apeiros_> in ruby, same object means same object id
<apeiros_> a = "hi"; b = a # a and b reference the same object
atmosx has joined #ruby
king313 has joined #ruby
<apeiros_> a.object_id == b.object_id
<apeiros_> therefore, a.equal?(b)
schaerli has joined #ruby
<claymore> I see
<apeiros_> sadly, `equal?` is a misnomer
<apeiros_> should really be `same?`
x82_nicole has quit [Quit: Computer has gone to sleep.]
emergion has quit [Quit: Computer has gone to sleep.]
bapa has quit [Read error: Connection reset by peer]
zomgbie has quit [Read error: Operation timed out]
<claymore> == tests for equal objects, what do you mean "equal" here? Same attributes, other than ID?
<claymore> *mean by "equal"
<apeiros_> for example, yes
<apeiros_> depends on the class
gogiel has joined #ruby
aces1up has quit []
<claymore> apeiros_: ok, thank you
Mon_Ouie has joined #ruby
LBRapid has joined #ruby
CodeVision has joined #ruby
bapa has joined #ruby
thinkdevcode has joined #ruby
<apeiros_> btw., if you define #eql?, you must also define #hash
elux has joined #ruby
shevy has quit [Ping timeout: 245 seconds]
bradhe has joined #ruby
rippa has joined #ruby
<heftig> #eql? implies equal #hash. the reverse isn't necessarily true
<claymore> ok, I understand
k610 has quit [Ping timeout: 264 seconds]
x82_nicole has joined #ruby
hotovson has quit [Remote host closed the connection]
iamjarvo has joined #ruby
arturaz has quit [Ping timeout: 276 seconds]
noobsauce421 has joined #ruby
k610 has joined #ruby
hotovson has joined #ruby
mengu has quit [Quit: Konversation terminated!]
chimkan has quit [Quit: chimkan]
hotovson has quit [Read error: Operation timed out]
CaptainJet has joined #ruby
arturaz has joined #ruby
mpereira has joined #ruby
schaerli has quit [Remote host closed the connection]
Jasko has quit [Read error: Connection reset by peer]
schaerli has joined #ruby
Jasko has joined #ruby
bradhe has quit [Ping timeout: 246 seconds]
Slivka has quit [Read error: Connection reset by peer]
adeponte has joined #ruby
d2dchat has joined #ruby
arturaz has quit [Ping timeout: 260 seconds]
arturaz has joined #ruby
josh__ has quit [Remote host closed the connection]
Mon_Ouie has quit [Quit: WeeChat 0.3.9.1]
dnyy has joined #ruby
freakazoid0223 has quit [Quit: Leaving]
Morkel has quit [Quit: Morkel]
zomgbie has joined #ruby
statarb3 has joined #ruby
snearch has joined #ruby
snearch has quit [Max SendQ exceeded]
emanu has joined #ruby
yxhuvud has quit [Read error: Connection reset by peer]
snearch has joined #ruby
arikrak has joined #ruby
yxhuvud has joined #ruby
jackdanger has joined #ruby
snearch has quit [Max SendQ exceeded]
arikrak has quit [Client Quit]
snearch has joined #ruby
medik has quit [Ping timeout: 240 seconds]
snearch has quit [Max SendQ exceeded]
adeponte has quit [Remote host closed the connection]
snearch has joined #ruby
onibox has joined #ruby
zomgbie has quit [Ping timeout: 255 seconds]
snearch has quit [Max SendQ exceeded]
BoomCow has joined #ruby
snearch has joined #ruby
jrajav has joined #ruby
altivec has joined #ruby
mercwithamouth has quit [Ping timeout: 268 seconds]
snearch has quit [Max SendQ exceeded]
zomgbie has joined #ruby
SPYGAME has quit [Ping timeout: 260 seconds]
jgrevich has joined #ruby
schaerli_ has joined #ruby
schaerli_ has quit [Remote host closed the connection]
schaerli_ has joined #ruby
schaerli has quit [Read error: Connection reset by peer]
mercwithamouth has joined #ruby
bradhe has joined #ruby
<Muz>
arya has quit [Ping timeout: 244 seconds]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
thinkdevcode has quit [Remote host closed the connection]
ryanlecompte has quit [Remote host closed the connection]
ryanlecompte has joined #ruby
Virunga has quit [Remote host closed the connection]
arya has joined #ruby
Virunga has joined #ruby
Virunga has quit [Remote host closed the connection]
kephra has joined #ruby
mercwithamouth has quit [Ping timeout: 256 seconds]
samphippen has quit [Quit: Computer has gone to sleep.]
emanu has quit [Quit: emanu]
phantasm66 has quit [Quit: *poof*]
phantasm66 has joined #ruby
kephra has left #ruby ["Leaving"]
g_bleezy has quit [Remote host closed the connection]
jlwestsr has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
bradhe has quit [Ping timeout: 255 seconds]
ryanlecompte has quit [Remote host closed the connection]
thinkdevcode has joined #ruby
ewag has joined #ruby
Xeago has quit [Remote host closed the connection]
cakehero has joined #ruby
g_bleezy has joined #ruby
monkegjinni has joined #ruby
daniel_-_ has joined #ruby
daniel_-_ has quit [Client Quit]
atmosx has quit [Quit: Computer has gone to sleep.]
Criztian has joined #ruby
daniel_- has quit [Ping timeout: 264 seconds]
fbrn has quit [Quit: Leaving.]
darthdeus has joined #ruby
darthdeus has quit [Read error: Connection reset by peer]
darthdeus has joined #ruby
pyr0commie has quit [Quit: Leaving]
Amirh1 has quit [Ping timeout: 246 seconds]
darthdeus has quit [Read error: Connection reset by peer]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<hyperboreean> is there any way I can Signal.trap exit(-1) ?
Jasko has quit [Read error: Connection reset by peer]
wargasm has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
sepp2k1 has joined #ruby
sepp2k has quit [Ping timeout: 246 seconds]
statarb3 has quit [Ping timeout: 246 seconds]
Chryson has quit [Ping timeout: 255 seconds]
tommyvyo has quit [Quit: Computer has gone to sleep.]
icooba has joined #ruby
emanu has joined #ruby
jackdanger has quit [Quit: Leaving.]
BoomCow has quit [Read error: Operation timed out]
ewag has quit [Ping timeout: 246 seconds]
ninegrid has quit [Read error: Connection reset by peer]
_veer has joined #ruby
_veer has joined #ruby
_veer has quit [Changing host]
schaerli has joined #ruby
bradhe has joined #ruby
thinkdev_ has joined #ruby
k610 has quit [Ping timeout: 265 seconds]
schaerli_ has quit [Ping timeout: 265 seconds]
thinkdevcode has quit [Ping timeout: 246 seconds]
hakunin has joined #ruby
mercwithamouth has joined #ruby
qwerxy has quit [Quit: offski]
cousine has quit [Remote host closed the connection]
jackiechan0 has joined #ruby
jackiechan0 has quit [Read error: Connection reset by peer]
F1skr has joined #ruby
sdk is now known as marius
daniel_- has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
tjbiddle has joined #ruby
qwerxy has joined #ruby
seanyo has joined #ruby
schaerli has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 260 seconds]
mercwithamouth has quit [Ping timeout: 252 seconds]
Jasko has quit [Read error: Connection reset by peer]
ninegrid has joined #ruby
Jasko has joined #ruby
celthunder has quit [Ping timeout: 276 seconds]
josh__ has joined #ruby
josh__ is now known as Jdubs_
blazes816 has joined #ruby
banisterfiend has joined #ruby
xsbeats has quit [Ping timeout: 260 seconds]
ninegrid_ has joined #ruby
ninegrid has quit [Ping timeout: 268 seconds]
emanu has quit [Quit: emanu]
vlad_starkov has joined #ruby
Tuxist_ has quit [Read error: Connection reset by peer]
jlwestsr has quit [Ping timeout: 246 seconds]
tommyvyo has joined #ruby
clj_newb has quit [Ping timeout: 265 seconds]
celthunder has joined #ruby
bradhe has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
jekotia has joined #ruby
derpops has joined #ruby
Goles has quit [Ping timeout: 252 seconds]
jgrevich has quit [Quit: jgrevich]
jimeh has quit [Quit: Computer has gone to sleep.]
arturaz has quit [Remote host closed the connection]
cakehero has quit [Quit: Computer has gone to sleep.]
kil0byte has quit [Ping timeout: 264 seconds]
kiyoura has joined #ruby
swarley has joined #ruby
ner0x has joined #ruby
AllStruck_ is now known as AllStruck
codespectator has joined #ruby
qwerxy has quit [Quit: offski]
claymore is now known as awaymore
fantazo_ has joined #ruby
vitor-br has joined #ruby
jackdanger has joined #ruby
fantazo has quit [Ping timeout: 260 seconds]
h4mz1d has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
niklasb has joined #ruby
bigmac has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
Neomex has joined #ruby
mercwithamouth has joined #ruby
Neomex has quit [Client Quit]
dizzdiamonds has joined #ruby
h4mz1d has quit [Ping timeout: 260 seconds]
ninegrid_ has quit [Ping timeout: 245 seconds]
qubit has quit [Ping timeout: 252 seconds]
ninegrid has joined #ruby
schaerli has joined #ruby
statarb3 has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
qubit has joined #ruby
dimka is now known as booski
derpops has quit []
atmosx has joined #ruby
<atmosx> hello
<atmosx> a question about drb, what does the 2nd argument mean in client.rb: DRbObject.new nil, ARGV.shift
<atmosx> ARGV.shift ? why do I need an argv here?
swarley has quit [Remote host closed the connection]
wendallsan has quit [Remote host closed the connection]
rakl has joined #ruby
jds_ has quit [Remote host closed the connection]
jackiechan0 has joined #ruby
jackiechan0 has quit [Client Quit]
<atmosx> hm nah my bad I don't it. Just sits on my sample code
qwerxy has joined #ruby
twopoint718 has joined #ruby
twopoint718 has quit [Changing host]
twopoint718 has joined #ruby
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby
arya has quit [Ping timeout: 244 seconds]
arya has joined #ruby
<vectorshelve> can anyone help me with this... why on earth am I getting this wierd error https://gist.github.com/4106937
<vectorshelve> in the form i keep an = hidden_field_tag :item_type, item.class.to_s which is "Share" and not "Idea"
<vectorshelve> still the error I get is Could not find Idea with ID : 5
gcds has joined #ruby
<gcds> Hello
<apeiros_> vectorshelve: wrong channel
<vectorshelve> apeiros_: sorry
<apeiros_> hi gcds
twinturbo has joined #ruby
<gcds> maybe someone could tell me why instance variable set with instance_variable_set("@name", "Hello") ist visible for getter ?
Mkman has joined #ruby
vectorshelve has left #ruby [#ruby]
codespectator has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<apeiros_> gcds: do you mean, "is not visible"?
<gcds> apeiros_: yeah I got nil then I try to read it
<apeiros_> you're setting instance variables on the class, not instances of the class
<gcds> apeiros_: what do you mean?
<apeiros_> class Foo; end; Foo.instance_variable_set(:@bar, 1)
<apeiros_> this sets the ivar on Foo itself, not on instances of Foo
vlad_starkov has joined #ruby
<gcds> apeiros_: so how to make it? I am trying to make setter getter with default value
<apeiros_> also, you could just call attr_accessor instead of doing your own class_eval in line 14-22
yuike has joined #ruby
yuike has quit [Max SendQ exceeded]
<gcds> apeiros_: I know it will get a little bit more code
<apeiros_> gcds: well, you have to call instance_variable_set on the instance. but the instance you have only after Foo.new was called.
F1skr has quit [Ping timeout: 246 seconds]
<apeiros_> I'd store the default value in the class and use it either on object creation or in the getter.
yuike has joined #ruby
<apeiros_> problem with in initialization is that whoever uses it must call super
stillEPIK has joined #ruby
stillEPIK has quit [Remote host closed the connection]
jackdanger has quit [Quit: Leaving.]
<gcds> apeiros_: isnt possible to set value before initialization?
<apeiros_> gcds: how do you set a value on an object which doesn't exist?
EPIK has quit [Ping timeout: 252 seconds]
schaerli has quit [Remote host closed the connection]
<gcds> iam trying to make something like this: class A; attribute :name, :default => "Tom"; end
<apeiros_> yes, I got that
<apeiros_> you can take a look at how fattr from ara t howard does it
<gcds> apeiros_: I saw many examples like doodle
<gcds> apeiros_: it can set default values inside class
<noobsauce421> Getting SQLite3::CantOpenException when trying to do Sequel::Migrator.apply. Any idea what could cause this?
<apeiros_> *eyeroll*
<apeiros_> gcds: believe that then.
<gcds> apeiros_: I dont want to use any external libs because of weight and performance
samuru has joined #ruby
samuru has left #ruby [#ruby]
<noobsauce421> my code is here :( http://pastie.org/5397731
Tuxist has joined #ruby
<gcds> apeiros_: I got this mess and would like somehow optimize it and first thought was define custom getter setter which would define default value
<apeiros_> gcds: I told you what you need to know. you decided to not believe it (and that in programming… nothing to do with belief… but whatever) - I have better things to do than convince you of facts
<gcds> apeiros_: I believe that you say because I am newbie in metaprogramming
_alejandro has joined #ruby
qwerxy has quit [Quit: offski]
ryanf has joined #ruby
awaymore is now known as claymore
caleb_io has joined #ruby
Virunga has joined #ruby
gozes has joined #ruby
thinkdev_ has quit [Remote host closed the connection]
DaZ is now known as ania12lat
gcds has quit [Read error: Connection reset by peer]
jblack_ has joined #ruby
gcds has joined #ruby
<noobsauce421> I can't seem to use any Sequel::Migrator methods without SQLite3::CantOpenException: unable to open database file
<leifmadsen> afternoon all. Have a little bug I've found in minitest-chef-handler code which mixes a class into another class, and causes an issues with a module that gets called in the child class. The issue is at https://github.com/calavera/minitest-chef-handler/issues/34 for anyone interested in helping to point out how to factor this small block of code
arya has quit [Ping timeout: 244 seconds]
iamjarvo has quit [Quit: Computer has gone to sleep.]
<gcds> apeiros_: What about set default value inside getter with @name ||= "Tom" ?
dmiller_ has quit [Remote host closed the connection]
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
tjbiddle has joined #ruby
J-_-L has joined #ruby
Floydzy has joined #ruby
alejandro_ has joined #ruby
arya has joined #ruby
<Mon_Ouie> That's most certainly possible to do
cakehero has joined #ruby
workmad3 has joined #ruby
<Mon_Ouie> Just use instance_variable_(defined?|set) (or get instead of defined?, depending on your goal)
_alejandro has quit [Ping timeout: 268 seconds]
king313 has quit [Quit: Saliendo]
gcds has quit [Read error: Connection reset by peer]
tjbiddle has quit [Quit: tjbiddle]
gcds has joined #ruby
dmiller has joined #ruby
daniel_- has quit [Ping timeout: 255 seconds]
jblack_ has quit [Quit: Lost terminal]
xandy is now known as xAndy
seanyo has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Remote host closed the connection]
mele- has joined #ruby
Proshot has joined #ruby
gcds has quit [Read error: Connection reset by peer]
vjt has quit [Ping timeout: 272 seconds]
mele- has quit [Client Quit]
statarb3 has quit [Ping timeout: 252 seconds]
gcds has joined #ruby
thinkdevcode has joined #ruby
jimeh has joined #ruby
gcds has quit [Read error: Connection reset by peer]
Mon_Ouie has quit [Ping timeout: 240 seconds]
jimeh has quit [Client Quit]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
gcds has joined #ruby
burgestrand1 has joined #ruby
gcds has quit [Read error: Connection reset by peer]
thinkdevcode has quit [Ping timeout: 246 seconds]
gcds has joined #ruby
burgestrand has quit [Ping timeout: 252 seconds]
Goles has joined #ruby
_alejandro has joined #ruby
Proshot has quit [Quit: Leaving]
arya has quit [Ping timeout: 244 seconds]
cirwin has joined #ruby
<blazes816> are there any good solutions for evented io in ruby that are currently maintained? (i.e. not EM)
alejandro_ has quit [Ping timeout: 246 seconds]
atmosx has quit [Quit: And so the story goes…]
samphippen has joined #ruby
arya has joined #ruby
BoomCow has joined #ruby
Chryson has joined #ruby
thinkdevcode has joined #ruby
mercwithamouth has quit [Ping timeout: 244 seconds]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
tenmilestereo has joined #ruby
gcds has quit [Read error: Connection reset by peer]
dedis14 has joined #ruby
statarb3 has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
gcds has joined #ruby
Beoran__ has joined #ruby
eldariof has quit []
tenmilestereo has quit [Client Quit]
burgestrand1 is now known as burgestrand
ionte has quit [Read error: Connection reset by peer]
gcds has quit [Read error: Connection reset by peer]
Beoran_ has quit [Ping timeout: 260 seconds]
ionte has joined #ruby
shtirlic has joined #ruby
gcds has joined #ruby
dedis14 has quit [Remote host closed the connection]
dedis14 has joined #ruby
alejandro_ has joined #ruby
bier_ has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
gcds has quit [Read error: Connection reset by peer]
jimeh has joined #ruby
daniel_- has joined #ruby
_alejandro has quit [Ping timeout: 260 seconds]
gcds has joined #ruby
Retistic has joined #ruby
digitalice has joined #ruby
digitalice has left #ruby [#ruby]
d2dchat has quit [Remote host closed the connection]
<gcds> maybe someone could tell why this http://pastie.org/5398036 isnt working as should?
BoomCow has quit [Quit: This computer has gone to sleep]
oposomme has joined #ruby
Xeago has joined #ruby
gcds has quit [Read error: Connection reset by peer]
gcds has joined #ruby
samphippen has joined #ruby
samphippen has quit [Client Quit]
Goles_ has joined #ruby
workmad3 has quit [Read error: Operation timed out]
gcds has quit [Read error: Connection reset by peer]
Goles has quit [Ping timeout: 246 seconds]
hoelzro is now known as hoelzro|away
<Poapfel> te(*args)
<Poapfel> ensure_connection do
<Poapfel> @connection.write(*args)
<Poapfel> ups
<Poapfel> copy and paste fail
<Poapfel> I am sorry ;_;
caleb_io has quit [Quit: caleb_io]
gcds has joined #ruby
gcds has quit [Read error: Connection reset by peer]
Guest92676 has quit [Quit: Guest92676]
arya has quit [Ping timeout: 244 seconds]
Axsuul has joined #ruby
_alejandro has joined #ruby
Goles_ has quit [Remote host closed the connection]
<d-snp> I know why gcds's code isn't working
<d-snp> but he's not around anymore :(
alejandro_ has quit [Ping timeout: 244 seconds]
gcds has joined #ruby
<d-snp> if someone sees him come back, please tell him that his default implementation is incorrect. he calls instance_variable_set from Base, instead of the object that is created
<d-snp> oh hi
<d-snp> gcds: :)
<d-snp> your code is wrong ;)
arya has joined #ruby
banisterfiend has quit [Ping timeout: 248 seconds]
<gcds> d-snp: what you mean?
Xeago has quit [Remote host closed the connection]
<d-snp> well you call instance_variable_set right? so it sets the instance variable of self, which is in this case the inheriting class Eagle
Jasko has quit [Read error: Connection reset by peer]
_veer has quit [Quit: Leaving]
<d-snp> it is not the _instance_ of Eagle
yuike has quit [Quit: Computer has gone to sleep.]
Jasko has joined #ruby
mikepack has joined #ruby
<d-snp> an easier way of doing this doing a define_method :attribute_name do instance_variable_get("@#{attribute_name}") || params[:default] end
answer_42 has quit [Ping timeout: 268 seconds]
<d-snp> do you understand?
jimeh has quit [Quit: Computer has gone to sleep.]
<gcds> d-snp: Yes I understand but then validator doesnt work because if nobody access that attribute default value isnt set
<gcds> d-snp: and validator fails
<d-snp> yes, so your validator needs to call the accessor, not check the instance variable :)
mityaz has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
cakehero has quit [Ping timeout: 265 seconds]
<gcds> d-snp: oh ok
<d-snp> so you could do unless send "@#{attribute}" ; puts "required"
<gcds> d-snp: thank you
<d-snp> unless send "#{attribute}" ; puts "required"
<d-snp> no problem :)
<gcds> d-snp: I am trying somehow simplify this big mess https://github.com/gcds/libeagle/blob/Optimized/lib/libeagle/eagle.rb
<d-snp> I guess this goes to show that everytime you use instance_variable_set, it's a bit of a code smell :)
<gcds> d-snp: Which I translated from DTD to parse xml to objects :D
d2dchat has joined #ruby
<d-snp> haha yeah that needs some ruby love :)
Jamone has quit [Quit: Quit]
<d-snp> good work researching metaprogramming to fix it
Monie has joined #ruby
cakehero has joined #ruby
<gcds> d-snp: yeah I have one big idea for electronics open community but it needs a little bit of hard work
mercwithamouth has joined #ruby
jenrzzz has joined #ruby
<d-snp> yeah those ideas are always hard work :)
<d-snp> but if you solve a real problem then you'll be rewarded nicely
timonv has quit [Remote host closed the connection]
havenn has quit [Remote host closed the connection]
<d-snp> btw you program pretty neatly for a electronics engineer :D
BoomCow has joined #ruby
twopoint718 has quit [Ping timeout: 264 seconds]
alejandro_ has joined #ruby
bluOxigen has quit [Ping timeout: 255 seconds]
mtree has joined #ruby
Virunga has quit [Remote host closed the connection]
Xeago has joined #ruby
d2dchat has quit [Remote host closed the connection]
gcds has quit [Read error: Connection reset by peer]
J-_-L has quit [Ping timeout: 256 seconds]
cakehero has quit [Quit: Computer has gone to sleep.]
Chryson has quit [Ping timeout: 255 seconds]
_alejandro has quit [Ping timeout: 245 seconds]
gcds has joined #ruby
<gcds> d-snp: yeah its one printed circuit board designer file parser
joofsh has joined #ruby
<gcds> d-snp: so I could make package manager to manage libraries and other cool stuff to easier diy'er life :D
gcds has quit [Client Quit]
Mkman has quit [Ping timeout: 246 seconds]
Mkman has joined #ruby
Tuxist has quit [Read error: Connection reset by peer]
k610 has joined #ruby
claymore has quit [Quit: Leaving]
qwerxy has joined #ruby
Xeago has quit [Remote host closed the connection]
jeff_sebring has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
Criztian has quit [Remote host closed the connection]
yuike has joined #ruby
Xeago has joined #ruby
slash_nick has joined #ruby
seanyo has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
medik has joined #ruby
medik has quit [Excess Flood]
medik has joined #ruby
TheFuzzball has quit [Ping timeout: 252 seconds]
twopoint718 has joined #ruby
twopoint718 has quit [Changing host]
twopoint718 has joined #ruby
TheFuzzball has joined #ruby
TheFuzzball has quit [Max SendQ exceeded]
TheFuzzball has joined #ruby
TheFuzzball has quit [Max SendQ exceeded]
TheFuzzball has joined #ruby
TheFuzzball has quit [Max SendQ exceeded]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
TheFuzzball has joined #ruby
TheFuzzball has quit [Max SendQ exceeded]
clj_newb has joined #ruby
workmad3 has joined #ruby
c0rn has joined #ruby
prezioso has joined #ruby
thinkdevcode has quit [Read error: No route to host]
thinkdev_ has joined #ruby
Grieg has quit [Quit: laterz! :D]
Synthead has quit [Ping timeout: 255 seconds]
swarley has joined #ruby
kevinr has joined #ruby
yuike has quit [Quit: Computer has gone to sleep.]
<kevinr> i
<kevinr> hi*
genshu has joined #ruby
<genshu> hi
prezioso has quit [Quit: leaving]
<kevinr> can someone help me with Ruby sockets ?
<genshu> Maybe I should ask this in an apache2 room, but it has to do with mod_ruby so I ask here:
d2dchat has joined #ruby
<genshu> I got a Apache2 Virtualhost running Mod Ruby and it should start a file called redharbor.rbx
dangerousdave has joined #ruby
<genshu> sadly it always says me that I have no permission to run this file when requesting from a browser client
<genshu> what can I do to explicitly allow the execution of my rbx script?
x82_nicole has quit [Quit: Computer has gone to sleep.]
zomgbie has quit [Ping timeout: 268 seconds]
Glottis has joined #ruby
mikepack has quit [Remote host closed the connection]
F1skr has joined #ruby
<kevinr> nobody ?
<genshu> ask your question, kevinr
<genshu> I did some stuff with sockets
<genshu> but I cannot promise too much
<kevinr> I can't create 2 TCPSocket wi sae port
<kevinr> it says "address already in use"
yuike has joined #ruby
yuike has quit [Max SendQ exceeded]
<kevinr> even with SO_REUSEADDR
Mon_Ouie has quit [Ping timeout: 240 seconds]
<kevinr> same server port*
yuike has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
<kevinr> it's for active FTP data socket
<genshu> with the virtualhost in my pastie, I get this error "You don't have permission to access /redharbor.rbx on this server."
<genshu> can you pastie your code?
<kevinr> okay
<genshu> may it's not the adress, it might be the adress in combination with the port
Virunga has joined #ruby
<genshu> not the best error message in this case
<genshu> without being confused by what I've written to kevinr, can somebody help me?
mikepack has joined #ruby
<kevinr> ftp_port and ftp_list are called after each cwd
<kevinr> the firt call work, the second raises EADDRINUSE
yuike has quit [Quit: Computer has gone to sleep.]
cousine has joined #ruby
<genshu> sorry what I did was a HTTP Client
shtirlic has quit [Remote host closed the connection]
<genshu> can't see the problem with your script
<kevinr> okay :/
forced_request has joined #ruby
<kevinr> nobody else ?
jamesaxl has joined #ruby
<jamesaxl> hi
<jamesaxl> do you have ny idea how to get all the line by using this way gets;puts$<.read
BoomCow has quit [Quit: Leaving]
<jamesaxl> because i dit get the 1st line
mikepack has quit [Remote host closed the connection]
gcds has joined #ruby
gcds has quit [Client Quit]
TheFuzzball has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
jenrzzz has joined #ruby
cakehero has joined #ruby
binarypl1 has quit [Quit: WeeChat 0.3.9.1]
slash_nick has left #ruby [#ruby]
clj_newb has quit [Ping timeout: 252 seconds]
dizzdiamonds has quit [Quit: dizzdiamonds]
cousine has quit [Remote host closed the connection]
zomgbie has joined #ruby
d2dchat has quit [Remote host closed the connection]
ania12lat is now known as DaZ
nicoulaj has quit [Remote host closed the connection]
gcds has joined #ruby
Iszak has joined #ruby
gcds has quit [Client Quit]
zomgbie has quit [Ping timeout: 240 seconds]
[Neurotic] has joined #ruby
gcds has joined #ruby
FredLe has quit [Ping timeout: 246 seconds]
c0rn has quit []
_alejandro has joined #ruby
moshee has quit [Ping timeout: 245 seconds]
blacktulip has quit [Remote host closed the connection]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
caleb_io has joined #ruby
arya has quit [Ping timeout: 244 seconds]
gcds has quit [Client Quit]
emergion has joined #ruby
alejandro_ has quit [Ping timeout: 252 seconds]
onibox has quit [Quit: leaving]
alejandro_ has joined #ruby
Chryson has joined #ruby
jimeh has joined #ruby
jackiechan0 has joined #ruby
guillaum has joined #ruby
jackiechan0 has quit [Remote host closed the connection]
foofoobar has quit [Quit: Textual IRC Client: www.textualapp.com]
qwerxy has quit [Quit: offski]
_alejandro has quit [Ping timeout: 260 seconds]
oposomme has quit [Ping timeout: 246 seconds]
bradhe has quit [Remote host closed the connection]
foofoobar has joined #ruby
statarb3 has quit [Ping timeout: 246 seconds]
oposomme has joined #ruby
slash_nick has joined #ruby
statarb3 has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
dmiller has quit [Remote host closed the connection]
jimeh has quit [Client Quit]
<kevinr> problem solved
<kevinr> but I don't understand
<kevinr> I used Socket::tcp instead of TCPSocket::new
<kevinr> whqt is the différence ?
seanstickle has joined #ruby
guillaum has quit [Ping timeout: 244 seconds]
seanstickle has quit [Client Quit]
seanstickle has joined #ruby
twopoint718 has quit [Ping timeout: 246 seconds]
jimeh has joined #ruby
Jdubs_ has quit [Ping timeout: 276 seconds]
clj_newb has joined #ruby
AlbireoX has joined #ruby
mercwithamouth has quit [Ping timeout: 255 seconds]
patrickgombert has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
jimeh has quit [Client Quit]
robustus|Off has joined #ruby
qwerxy has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
robustus|Off has quit [Client Quit]
Russell^^ has quit [Quit: Russell^^]
mengu has joined #ruby
cezar has quit [Ping timeout: 245 seconds]
maus has joined #ruby
foofoobar has quit [Quit: Textual IRC Client: www.textualapp.com]
sepp2k1 has quit [Remote host closed the connection]
patrickgombert has quit [Quit: I've ignored you all long enough to sleep.]
dmiller has joined #ruby
BoomCow has joined #ruby
twopoint718 has joined #ruby
twopoint718 has joined #ruby
twopoint718 has quit [Changing host]
oposomme is now known as oposomme|away
bradhe has joined #ruby
elux has quit [Quit: Bye!]
u89 has joined #ruby
dangerousdave has quit [Quit: Leaving...]
Goles has joined #ruby
voodoofish has joined #ruby
Goles_ has joined #ruby
havenn has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
nari has joined #ruby
thrs is now known as theoros
Goles has quit [Ping timeout: 246 seconds]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
staafl has joined #ruby
Chryson has quit [Quit: Leaving]
jimeh has joined #ruby
Goles__ has joined #ruby
maus has quit [Quit: Lost terminal]
kirun has quit [Quit: Client exiting]
ryanlecompte has joined #ruby
Goles_ has quit [Ping timeout: 240 seconds]
Goles_ has joined #ruby
zomgbie has joined #ruby
n0x00 has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
mercwithamouth has joined #ruby
Goles___ has joined #ruby
alanp_ has joined #ruby
alanp has quit [Ping timeout: 246 seconds]
Goles__ has quit [Ping timeout: 264 seconds]
Goles_ has quit [Ping timeout: 248 seconds]
Goles has joined #ruby
zomgbie has quit [Ping timeout: 260 seconds]
Goles___ has quit [Ping timeout: 246 seconds]
staafl_alt has joined #ruby
Balthek has joined #ruby
jslowe has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 245 seconds]
emergion has joined #ruby
mengu has quit [Read error: Connection reset by peer]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
staafl has quit [Ping timeout: 246 seconds]
Goles_ has joined #ruby
Goles has quit [Ping timeout: 252 seconds]
catphish has joined #ruby
Xeago has quit [Remote host closed the connection]
<catphish> evening
Goles has joined #ruby
dorei has joined #ruby
earthquake has quit [Quit: earthquake]
noobsauce421 has quit [Quit: irc2go]
earthquake has joined #ruby
Goles_ has quit [Ping timeout: 264 seconds]
chrishunt has quit [Quit: Leaving...]
ascarpino has quit [Quit: Konversation terminated!]
Averna has joined #ruby
Goles has quit [Ping timeout: 255 seconds]
seanstickle has quit [Quit: seanstickle]
mengu has quit [Read error: Connection reset by peer]
KevinSjoberg has quit [Quit: Computer has gone to sleep.]
tomsthumb has quit [Quit: Leaving.]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
Glottis has quit [Quit: buh bye night]
kevinr has left #ruby ["Leaving..."]
apeiros_ has quit [Remote host closed the connection]
Averna has quit [Client Quit]
fantazo_ has quit [Ping timeout: 260 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
SuperrMann has joined #ruby
Goles has joined #ruby
twopoint718 has quit [Ping timeout: 276 seconds]
twinturbo has quit [Quit: twinturbo]
elaptics is now known as elaptics`away
elliottcable is now known as ellio
Mkman has quit [Quit: Lost terminal]
Goles_ has joined #ruby
nemesit has quit [Quit: Leaving...]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
Floydzy has quit [Quit: Floydzy]
Goles has quit [Ping timeout: 260 seconds]
Goles_ has quit [Ping timeout: 246 seconds]
Goles has joined #ruby
Goles has quit [Read error: Connection reset by peer]
joeycarmello has quit [Remote host closed the connection]
Goles has joined #ruby
manizzle has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Synthead has joined #ruby
Goles_ has joined #ruby
toekutr has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
Goles__ has joined #ruby
Goles_ has quit [Read error: Connection reset by peer]
tommyvyo has joined #ruby
Goles has quit [Ping timeout: 244 seconds]
bradhe has joined #ruby
Goles has joined #ruby
Virunga has quit [Remote host closed the connection]
Goles_ has joined #ruby
Synthead has quit [Ping timeout: 276 seconds]
Slivka has joined #ruby
skattyadz has joined #ruby
Goles__ has quit [Ping timeout: 264 seconds]
stephenjudkins has joined #ruby
Goles has quit [Ping timeout: 248 seconds]
ellio is now known as elliottcable
dagnachew has joined #ruby
x82_nicole has joined #ruby
ddd has quit [Ping timeout: 245 seconds]
<wallmani> evening
<wallmani> not much activity here :(
* wallmani glares at all the people with lives
nari has quit [Ping timeout: 255 seconds]
emergion has joined #ruby
<catphish> everyone's busy being angry about https://news.ycombinator.com/item?id=4801226
emergion has quit [Client Quit]
<skattyadz> Hah, you're right catphish
cakehero has quit [Quit: Computer has gone to sleep.]
patrickgombert has joined #ruby
samphippen has joined #ruby
daniel_- has quit [Ping timeout: 245 seconds]
dedis14 has quit [Remote host closed the connection]
tjbiddle has joined #ruby
Synthead has joined #ruby
vitor-br has quit [Remote host closed the connection]
staafl_alt has quit [Ping timeout: 246 seconds]
dizzdiamonds has joined #ruby
dizzdiamonds has quit [Client Quit]
tjbiddle has quit [Client Quit]
cakehero has joined #ruby
daniel_- has joined #ruby
atmosx has joined #ruby
k610 has quit [Ping timeout: 255 seconds]