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]
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>
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]
<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 ?
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
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]
<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]
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 :)