yfeldblum has quit [Read error: Connection reset by peer]
smathieu has quit [Ping timeout: 246 seconds]
pu22l3r has quit [Remote host closed the connection]
serp` has joined #ruby
pu22l3r has joined #ruby
freerobby has quit [Ping timeout: 272 seconds]
zigomir_ has quit [Ping timeout: 240 seconds]
Aryasam has quit [Ping timeout: 245 seconds]
coderhs has joined #ruby
thepumpkin has quit [Ping timeout: 248 seconds]
Sauvin has joined #ruby
Aryasam has joined #ruby
Sauvin has quit [Max SendQ exceeded]
tsykoduk is now known as zz_tsykoduk
pu22l3r has quit [Ping timeout: 268 seconds]
zipper has quit [Ping timeout: 272 seconds]
Davey has joined #ruby
petey_ has quit []
nateberkopec has joined #ruby
am3n has joined #ruby
danielfriedman has joined #ruby
xk_id has joined #ruby
hiyosi has joined #ruby
danielfriedman is now known as capnmalarkey
<Freeaqingme>
hi; I've been desperately trying to install therubyracer, but without much success as of yet. Does anyone have any clue on how to install it? http://pastebin.com/pY4Qhw4J
<Freeaqingme>
without it I cant use the Rails Assets bundle :(
am3n has quit [Ping timeout: 256 seconds]
ismlages has quit [Remote host closed the connection]
capnmalarkey has quit [Client Quit]
timonv has joined #ruby
Xeago has joined #ruby
asfafaf has joined #ruby
asfafaf has quit [Max SendQ exceeded]
ecksit has joined #ruby
<volty>
#rubyonrails !
<Freeaqingme>
moving on. Thanks! ;)
asfafaf has joined #ruby
timonv has quit [Read error: Operation timed out]
asfafaf has quit [Client Quit]
lucazi has joined #ruby
hiyosi has quit [Ping timeout: 260 seconds]
<ecksit>
hey, i am writing some tests around my gem that interacts with an API but the requests and responses contain sensitive data that i wouldn't want to store as a VCR cassette or stored string in the fixtures. how can i achieve the tests without needing to hardcode in sensitive data?
Seich has quit [Quit: Computer has gone to sleep.]
danielfriedman has joined #ruby
DanBoy has joined #ruby
danielfriedman has quit [Client Quit]
apeiros_ has quit [Remote host closed the connection]
robert_ has quit [Read error: Connection reset by peer]
Seich has joined #ruby
Notte has joined #ruby
InFlames has joined #ruby
zz_michael_mbp is now known as michael_mbp
bradhe has quit [Remote host closed the connection]
TingPing__ has joined #ruby
timeout has quit [Quit: leaving]
bradhe has joined #ruby
Notte has quit [Client Quit]
zipper has joined #ruby
Aryasam has quit [Ping timeout: 245 seconds]
Aryasam has joined #ruby
<irated>
hey guys...
michael_mbp is now known as zz_michael_mbp
Ripp__ has quit []
TingPing__ has quit [Client Quit]
bradhe has quit [Ping timeout: 248 seconds]
<ecksit>
hey irated
marcdel has joined #ruby
drag00n has joined #ruby
Aryasam has quit [Ping timeout: 260 seconds]
Aryasam has joined #ruby
am3n has joined #ruby
bradhe has joined #ruby
aspires has quit [Quit: sudo making a sandwich]
Tearan has quit [Ping timeout: 272 seconds]
am3n has quit [Read error: Connection reset by peer]
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
am3n has joined #ruby
rickruby_ has joined #ruby
aspires has joined #ruby
ner0x has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
rickruby has quit [Read error: Connection reset by peer]
CreativeEmbassy has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
pabloh has quit [Quit: Saliendo]
VTLob has quit [Quit: VTLob]
postmodern has joined #ruby
am3n has quit [Ping timeout: 256 seconds]
Astral_ has quit [Ping timeout: 272 seconds]
predator217 has joined #ruby
zipper has quit [Quit: leaving]
Aryasam has quit [Ping timeout: 260 seconds]
wpaulson has joined #ruby
capnmalarkey has joined #ruby
Aryasam has joined #ruby
inokios has quit [K-Lined]
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
predator117 has quit [Ping timeout: 260 seconds]
CreativeEmbassy has joined #ruby
atmosx has quit [Quit: Lost in trance]
dmiller has joined #ruby
zipper has joined #ruby
bugsinlights has joined #ruby
carif has joined #ruby
aspires has quit [Quit: sudo making a sandwich]
lnemo has quit [Quit: Leaving.]
brennanMKE has quit [Read error: Connection reset by peer]
matchaw has quit [Read error: Operation timed out]
<shevy>
nstdloop the problem with style guides would be that the ruby parser does not care either way, for the most part (minor differences... {} bind stronger than do/end)
rickruby has quit [Ping timeout: 272 seconds]
frustrum has quit [Ping timeout: 272 seconds]
<shevy>
nstdloop if you are fine using () all the time you can do so, same with do/end and {}
Briareos1 has quit [Remote host closed the connection]
<bolt_>
havenwood: Thank you. What about Rails?
<nstdloop>
shevy: I get it, it's just a bit weird for someone new to the language to have so much choice in basic syntax
<havenwood>
bolt_: #rubyonrails is the Rails channel
<shevy>
nstdloop yeah
<shevy>
nstdloop I have the same thing when I look at other people's code
<shevy>
nstdloop I go like "wtf are they doing here..."
<bolt_>
havenwood: it's locked, i can't go there
<havenwood>
bolt_: you likely need to reg your nic
<nstdloop>
shevy: I'm still getting that looking at my own code
<shevy>
nstdloop haha
Nanuq has quit [Ping timeout: 245 seconds]
<shevy>
hmm that reminds me
<havenwood>
bolt_: I don't know, RailsCasts, Rails for Zombies
Nanuq has joined #ruby
<shevy>
for a reason that surprised me too, I found that the more consistent and strict I am when writing ruby code, the better in the long run
<volty>
zombies sounds nice
<bolt_>
havenwood: Rails for Zombies seems to be for older versions of Rails? i don't know if it's still OK for Rails 4
<volty>
shevy: that is valid for any language -- spoken ones too
<shevy>
volty yeah but ruby is rather flexible
<shevy>
if you have a million ways to do things
<havenwood>
bolt_: good point, i dunno if they've updated but i don't think applicable parts changed
<volty>
english too :)
<shevy>
volty I have old code, a module, in where I used only define_method() to add methods
<shevy>
years later, I hated this code
<volty>
noooo
<shevy>
there was 0 metaprogramming in it! I used it only to replace def blaa things
<shevy>
and I hated the {}
<shevy>
define_method(:foo) {
<havenwood>
shevy: FREEDOM PATCH ALL THE THINGS \o/
<shevy>
puts 'hi from foo'
<shevy>
}
<volty>
ahah
<shevy>
can you imagine a .rb file with 100 methods like that
<bolt_>
havenwood: What do you use for web development, if you're not using Rails?
<volty>
no -- cannot imagine -- i'm not that pervert :)
<havenwood>
bolt_: I do like Sinatra. Rails has its place.
serp` has quit [Quit: serp`]
<shevy>
volty well, it can happen when you explore new things
brennanMKE has joined #ruby
<volty>
shevy: it has probably to do more with masochism than with language ? :)
<shevy>
when you try out something
<shevy>
like:
<shevy>
def foo a,b,c,d
<shevy>
nstdloop you should never omit the () when defining a method
<volty>
yes, I know, I'm joking, me too had been writing weird things, but erased afterwards - to cancel all the proofs :)
<nstdloop>
shevy: so def foo(a, b, c, d) is better than def foo a, b, c, d
<shevy>
nstdloop yes!
<nstdloop>
what about calling functions?
<shevy>
although you need one char more
<volty>
MUCH better
<shevy>
nstdloop well
<nstdloop>
is foo(a, b, c, d) also preferable to foo a b c d
<shevy>
nstdloop yes!
<shevy>
nstdloop but what about foo alone
<shevy>
without arguments
<volty>
calling is another thing, a question of style, preference, complexity of the call etc etc etc
<havenwood>
nstdloop: style choice, indeed
<shevy>
nstdloop my favourite example is this
am3n has joined #ruby
earthquake has joined #ruby
<shevy>
cat = Cat.new; cat.meow()
<shevy>
or!
<shevy>
cat = Cat.new; cat.meow
<havenwood>
eww
<nstdloop>
is there a use case for the no-() syntax?
<shevy>
nstdloop it looks nicer!
<havenwood>
no parens whatsoever except to prevent parser error is oft referred to as Seattle style
<nstdloop>
I like the Haskell-ness of it
<havenwood>
i fairly often do that
<havenwood>
less is better?
<volty>
i use almost always (), even with no params -- to distinguish accessing attributes from that of calling a method (that does other things)
Nanuq has quit [Ping timeout: 245 seconds]
<shevy>
there are quite many who omit the (), fowlmouth is one guy
<shevy>
yeah volty! we are like brothers!
brennanMKE has quit [Ping timeout: 260 seconds]
<shevy>
oh wait
<shevy>
except for the no params part
<shevy>
nstdloop see? where there is choice there is difference. 3 people, 3 different styles. it's rather awful if you look at other people's code, but it's cool when being able to choose what to use and how to use it for your own code
<shevy>
volty do you use code comments in italian language too?
<nstdloop>
shevy: ya, it makes sense
<volty>
no no, after I have to go back and look if it is an ivar or (other) method call -- I prefer to forget about the implementation
<shevy>
this I can understand
<volty>
i comment always in english
<volty>
but i comment rarely :)
brennanMKE has joined #ruby
<shevy>
but volty... consider this
<shevy>
@config.use_colours = true
<shevy>
hmmm damn
<shevy>
bad example... I wanted an example with @config.use_colours()
am3n has quit [Ping timeout: 256 seconds]
<volty>
if it is an attribute I use @config.use_colours, if a method that does other things I add ()
danshultz has joined #ruby
<shevy>
hey
danshultz has quit [Remote host closed the connection]
Nanuq has joined #ruby
DonRichie has quit [Quit: Verlassend]
<shevy>
@config.use_colours is always a method or?
<shevy>
but it was a bad example, I wanted to ponder about:
<shevy>
@config.use_colours() = true
<shevy>
but this wouldn't work
<volty>
yes, but I really meant if it is a just a method that returns an ivar
danshultz has quit [Remote host closed the connection]
Nanuq has joined #ruby
danshultz has joined #ruby
Nanuq has quit [Remote host closed the connection]
danshult_ has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
mary5030 has quit [Remote host closed the connection]
Nanuq has joined #ruby
freerobby has joined #ruby
smathieu has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
Nanuq has quit [Ping timeout: 245 seconds]
tjad has joined #ruby
smathieu has quit [Ping timeout: 272 seconds]
danshult_ has quit [Remote host closed the connection]
Nanuq has joined #ruby
danshultz has joined #ruby
pwh has quit []
danshultz has quit [Ping timeout: 245 seconds]
nisstyre has joined #ruby
nateberkopec has quit [Quit: Leaving...]
dmiller has quit [Remote host closed the connection]
bugsinlights has quit [Remote host closed the connection]
dmiller has joined #ruby
[Rickmasta] has quit [Quit: Be back later]
rickmasta has joined #ruby
Nanuq has quit [Ping timeout: 245 seconds]
rickmasta has quit [Client Quit]
TheShaun has joined #ruby
Nanuq has joined #ruby
dma_ has joined #ruby
decoponio has joined #ruby
am3n has joined #ruby
myth17 has quit [Quit: Bye Bye...]
dmiller has quit [Ping timeout: 272 seconds]
<patricklamoreux>
anyone use rdbi?
<patricklamoreux>
looking for thoughts on using it versus dbi or other
styped has joined #ruby
Nanuq has quit [Ping timeout: 245 seconds]
bradhe has joined #ruby
<robonerd>
is it possible to serve both a REST and HTML 'version' of some web app on the same port (say, 8080) at the same time?
am3n has quit [Ping timeout: 256 seconds]
MrPot4to has joined #ruby
mrpot4to_ has joined #ruby
dv__ has joined #ruby
dv_ has quit [Ping timeout: 240 seconds]
bradhe has quit [Ping timeout: 272 seconds]
kitak has joined #ruby
sailias has quit [Ping timeout: 245 seconds]
radic has quit [Disconnected by services]
radic_ has joined #ruby
freerobby has joined #ruby
s3itz has joined #ruby
Seich has quit [Quit: Computer has gone to sleep.]
Seich has joined #ruby
freerobby has quit [Ping timeout: 272 seconds]
earthquake has quit [Quit: earthquake]
bigmac_ has joined #ruby
bigmac_ is now known as i8igmac
i8igmac has left #ruby [#ruby]
IcyDragon has quit [Quit: Space~~~]
taternuts has joined #ruby
dmiller has joined #ruby
nateberkopec has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
am3n has joined #ruby
nateberkopec has quit [Ping timeout: 272 seconds]
aapzak has quit [Ping timeout: 240 seconds]
dorei has quit []
mrsolo has joined #ruby
pwh has joined #ruby
jonahR has joined #ruby
aapzak has joined #ruby
bradhe has joined #ruby
Bry8Star{T2_ is now known as Bry8Star{T2
astrobunny has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
Hanmac has joined #ruby
zachrab has joined #ruby
rickruby has joined #ruby
Hanmac1 has quit [Ping timeout: 272 seconds]
rickruby has quit [Remote host closed the connection]
timonv has joined #ruby
ulik has quit [Ping timeout: 245 seconds]
astrobun_ has quit [Ping timeout: 260 seconds]
rickruby has joined #ruby
yfeldblum has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
xk_id has joined #ruby
<robonerd>
any rest conceptual gurus in? i'm curious about a scenario: if i wanted to run slashdot.org as both a web site and rest web app, could do i that on the same port (8) simultaneously?
bradhe has quit [Ping timeout: 272 seconds]
dmiller has quit [Remote host closed the connection]
pr0ggie has quit [Read error: Operation timed out]
<robonerd>
and if so, how is the distinction made in this for the server to know to dish out text/html (web site) or text/json (web app)?
pdimitrov has quit [Ping timeout: 245 seconds]
am3n has quit [Remote host closed the connection]
mlpinit has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
freerobby has joined #ruby
ananthakumaran has joined #ruby
mlpinit has quit [Remote host closed the connection]
mlpinit has joined #ruby
amacgregor has joined #ruby
jetblack has joined #ruby
smathieu has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
madb055 has joined #ruby
thepumpkin has joined #ruby
<bnagy>
you might be better of in #rubyonrails, tbh
freerobby has quit [Ping timeout: 240 seconds]
<bnagy>
but I would have thought you can just look at the request and do different stuff
jkhwan has joined #ruby
<bnagy>
but the port seems pretty irrelevant
mlpinit has quit [Ping timeout: 240 seconds]
pwh has quit []
smathieu has quit [Ping timeout: 240 seconds]
<bnagy>
having said all that I am not a web guy, like, at all
thepumpkin has quit [Ping timeout: 245 seconds]
jkhwan has quit [Remote host closed the connection]
pu22l3r has quit [Remote host closed the connection]
pu22l3r has joined #ruby
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
pr0ggie has joined #ruby
pdimitrov has joined #ruby
pu22l3r has quit [Remote host closed the connection]
pu22l3r_ has joined #ruby
rickruby has quit [Remote host closed the connection]
nateberkopec has joined #ruby
jetblack has quit [Remote host closed the connection]
jalcine has quit [Excess Flood]
rickruby has joined #ruby
psyl0n has quit [Quit: psyl0n]
zachrab has quit []
mrpot4to_ has quit [Read error: Connection reset by peer]
MrPot4to has quit [Read error: Connection reset by peer]
MrPot4to has joined #ruby
danshultz has joined #ruby
mrpot4to_ has joined #ruby
havenwood has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
freerobby has quit [Ping timeout: 260 seconds]
havenwood has joined #ruby
kobain has quit []
ingy1 has joined #ruby
ingy1 has quit [Client Quit]
dmiller has quit [Remote host closed the connection]
kizzx2 has joined #ruby
smathieu has quit [Ping timeout: 246 seconds]
bartkiewi has joined #ruby
dmiller has joined #ruby
havenwood has quit [Ping timeout: 240 seconds]
thepumpkin has quit [Ping timeout: 272 seconds]
s2013 has joined #ruby
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
kitak has quit [Ping timeout: 246 seconds]
Croesus has quit [Ping timeout: 240 seconds]
nari has quit [Ping timeout: 245 seconds]
cfi30 has quit [Quit: WeeChat 0.4.2]
Da|wo has joined #ruby
<Da|wo>
Question about Private vs Public SVN hosting service (codeplex, sourceforge, cloudforge etc..): what exactly means Public .. does that means that anyone have read/write access to the project (website in my cas) ??
braincra- has joined #ruby
brennanMKE has joined #ruby
nateberkopec has joined #ruby
braincrash has quit [Ping timeout: 246 seconds]
yacks has quit [Read error: Connection reset by peer]
<bnagy>
normally public is just read
eeriegeek has joined #ruby
<bnagy>
by default, you usually add comitters etc via some interface
sayan has joined #ruby
nisstyre has quit [Quit: Leaving]
brennanMKE has quit [Ping timeout: 272 seconds]
tomzx_mac has quit [Ping timeout: 246 seconds]
am3n has joined #ruby
<Da|wo>
I wonder if a personal website is appropriate on such public svn host
nateberkopec has quit [Ping timeout: 240 seconds]
bradhe has quit [Remote host closed the connection]
<Da|wo>
you ever heard of open source personal website .. ? lol
bradhe has joined #ruby
<robonerd>
nah
mmcdaris has joined #ruby
<robonerd>
i'd keep that closed
<robonerd>
you don't want someone putting pics up of you where they superimposed a big black dong
<robonerd>
or a small one, either way
kitak has joined #ruby
astrobunny has quit [Ping timeout: 245 seconds]
<Da|wo>
well the personal site is a resume..
<Da|wo>
so the target viewer are employeer
am3n has quit [Ping timeout: 256 seconds]
mlpinit has joined #ruby
<robonerd>
yea but still, they might be into putting dongs on your pics
<Da|wo>
but I have a php login form so that they can login and get a personalized version of my cv (crafted for the exact job asked)
<robonerd>
ahh nice
<robonerd>
great feature
<robonerd>
scammer :)
braincra- has quit [Ping timeout: 245 seconds]
<Da|wo>
what you mean scammer ?
<Da|wo>
lol
<Da|wo>
kinda
<Da|wo>
:P
<Ivo>
what versions are allowed by "~> 0.6.0"
<robonerd>
smart tho :D
<Ivo>
?
patricklamoreux has quit [Ping timeout: 245 seconds]
<ezkl>
Da|wo: github handles SVN and has a very nice web publishing system: http://pages.github.com/
bradhe has quit [Ping timeout: 272 seconds]
astrobunny has joined #ruby
<Da|wo>
yea, but im on windows ... and all those silverlight microsoft addinn bugs me
<Da|wo>
thanks though
<Da|wo>
do people use github for website developpment too ?
popl has quit [Ping timeout: 246 seconds]
<Ivo>
Da|wo: yes
<Da|wo>
I know its commonly used for open source application projects.. but just never heard of website dev project being open source..
mengu has quit [Remote host closed the connection]
mengu has joined #ruby
jbpros has quit [Quit: jbpros]
mengu has quit [Read error: Connection reset by peer]
mengu has joined #ruby
madb055 has quit [Remote host closed the connection]
madb055 has joined #ruby
Aryasam has quit [Ping timeout: 245 seconds]
AndChat- has joined #ruby
AndChat| has quit [Ping timeout: 272 seconds]
Aryasam has joined #ruby
knigitz has joined #ruby
madb055 has quit [Remote host closed the connection]
madb055 has joined #ruby
danshultz has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
danshultz has joined #ruby
wildroman has quit [Remote host closed the connection]
calmyournerves is now known as luxflux___
Banistergalaxy has joined #ruby
dextrey has joined #ruby
mrfoto has joined #ruby
aa47f8 has joined #ruby
luxflux___ is now known as calmyournerves
danshultz has quit [Ping timeout: 272 seconds]
AndChat- has quit [Ping timeout: 240 seconds]
dmiller has joined #ruby
alexherbo2 has quit [Ping timeout: 272 seconds]
brennanMKE has joined #ruby
am3n has joined #ruby
banisterfiend has quit [Quit: Computer has gone to sleep.]
dmiller has quit [Ping timeout: 246 seconds]
Banistergalaxy has quit [Ping timeout: 240 seconds]
brennanMKE has quit [Ping timeout: 245 seconds]
am3n has quit [Ping timeout: 256 seconds]
Guedes0 has joined #ruby
Guedes0 has left #ruby [#ruby]
Banistergalaxy has joined #ruby
timonv has joined #ruby
timonv has quit [Remote host closed the connection]
asuka has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
mengu has quit [Remote host closed the connection]
sepp2k1 has joined #ruby
DouweM has joined #ruby
sepp2k has quit [Ping timeout: 246 seconds]
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mrsolo has quit [Quit: This computer has gone to sleep]
Banistergalaxy has quit [Ping timeout: 240 seconds]
Banistergalaxy has joined #ruby
mrsolo has joined #ruby
mrsolo has quit [Remote host closed the connection]
platzhirsch has joined #ruby
mrsolo has joined #ruby
AndChat| has joined #ruby
mrsolo has quit [Remote host closed the connection]
banisterfiend has joined #ruby
mrsolo has joined #ruby
OdNairy has quit [Ping timeout: 246 seconds]
mrsolo has quit [Remote host closed the connection]
mengu has quit [Ping timeout: 272 seconds]
platzhirsch has left #ruby [#ruby]
mrsolo has joined #ruby
mrsolo has quit [Remote host closed the connection]
asuka has joined #ruby
niklasb has joined #ruby
alexherbo2 has joined #ruby
Czupa has joined #ruby
mrsolo has joined #ruby
Banistergalaxy has quit [Ping timeout: 240 seconds]
mrsolo has quit [Remote host closed the connection]
mrsolo has joined #ruby
mrsolo has quit [Remote host closed the connection]
ixti has joined #ruby
bradhe has joined #ruby
mrsolo has joined #ruby
mrsolo has quit [Remote host closed the connection]
mrsolo has joined #ruby
mrsolo has quit [Remote host closed the connection]
bassclef has joined #ruby
bassclef is now known as Guest43893
mrsolo has joined #ruby
mrsolo has quit [Remote host closed the connection]
mrsolo has joined #ruby
bradhe has quit [Ping timeout: 246 seconds]
mrsolo has quit [Remote host closed the connection]
rickruby has joined #ruby
mrsolo has joined #ruby
mrsolo has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
mrsolo has joined #ruby
timonv has quit [Remote host closed the connection]
mrsolo has quit [Remote host closed the connection]
Ripp__ has quit []
Croesus has joined #ruby
timonv has joined #ruby
freerobby has joined #ruby
mrsolo has joined #ruby
mrsolo has quit [Remote host closed the connection]
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
Seich_ has joined #ruby
zarubin has joined #ruby
mrsolo has joined #ruby
mrsolo has quit [Remote host closed the connection]
Guest43893 is now known as fluffheadsr
Technodrome has joined #ruby
Seich has quit [Ping timeout: 272 seconds]
mrsolo has joined #ruby
mrsolo has quit [Remote host closed the connection]
mengu has joined #ruby
timonv has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Remote host closed the connection]
hiroyuki has joined #ruby
freerobby has quit [Ping timeout: 246 seconds]
asuka has quit [Ping timeout: 245 seconds]
mrsolo has joined #ruby
mrsolo has quit [Remote host closed the connection]
michael_mbp is now known as zz_michael_mbp
<Technodrome>
do a lot of people use pry as an irb replacement?
mrsolo has joined #ruby
<sam113101>
yes
mrsolo has quit [Remote host closed the connection]
mrsolo has joined #ruby
mrsolo has quit [Remote host closed the connection]
<Skelz0r>
yes
smathieu has joined #ruby
mrsolo has joined #ruby
mrsolo has quit [Remote host closed the connection]
polaco_zZz has quit [Quit: HTTP/1.1 410 Gone]
<sam113101>
mrsolo is annoying
mrsolo has joined #ruby
<sam113101>
can someone ban him and tell him to fix his connection?
timonv has joined #ruby
mrsolo has quit [Remote host closed the connection]
asuka has joined #ruby
<MrZYX>
apeiros: ^
sepp2k1 has quit [Ping timeout: 246 seconds]
<banisterfiend>
Mon_Ouie that's the most violent act i've ever seen you perform
<banisterfiend>
Mon_Ouie is hanging with the rough crowd at college
smathieu has quit [Ping timeout: 240 seconds]
timonv has quit [Remote host closed the connection]
jbpros has joined #ruby
timonv has joined #ruby
sepp2k has joined #ruby
SeySayux has joined #ruby
timonv has quit [Ping timeout: 246 seconds]
HeYi has joined #ruby
astrobunny has quit [Ping timeout: 240 seconds]
<Technodrome>
why are 2 string equal to one another? "something == "something" when in reality they are 2 different objects?
<HeYi>
I get nothing when I type ri command in windows , why?
<banisterfiend>
Technodrome use .equal? to check for identity
chinychinchin has joined #ruby
rickruby has quit [Remote host closed the connection]
polaco_zZz has joined #ruby
drumusician has quit [Ping timeout: 272 seconds]
<Technodrome>
banisterfiend: many languages have it the other way around there
<banisterfiend>
Technodrome yeah
<Technodrome>
method to check for value truthfulness
Targen has quit [Ping timeout: 246 seconds]
am3n has joined #ruby
<MrZYX>
Technodrome: == is a method call, "something".==("something"). String#== is implemented such that it compares the strings and not the object ids
<godd2>
Of course, if you just care that two string contain the same characters, use .eql? to test for equality
amacgregor has quit [Ping timeout: 272 seconds]
<Technodrome>
by default it compares the string contents with == correct MrZYX ?
<Technodrome>
"something" == "something" is true
<DouweM>
Technodrome: there's no "by default". x == y is exactly the same thing as x.==(y), it's just the == method call
astrobunny has joined #ruby
<Technodrome>
yes
<DouweM>
if you want to call that "by default", be my guest
<Technodrome>
godd2: Of course, if you just care that two string contain the same characters, use .eql? to test for equality
<Technodrome>
this implied the opposite to me
amacgregor has joined #ruby
<Technodrome>
i was unaware that eql? and equal? were different, now I see
<Technodrome>
it's not a big deal guys, just a small little detail that had me wondering :)
<Mon_Ouie>
eql? is hash-equality. If two objects are eql?, then they are equivalent hash keys, meaning a_hash[a] or a_hash[b] will return the same element
dmiller has quit [Ping timeout: 272 seconds]
<Mon_Ouie>
(At least if eql? and hash have been implemented properly)
danshultz has joined #ruby
aryaching has joined #ruby
<DouweM>
the practical difference is that String#== calls #to_str on other if other isn't a String also, while String#eql? immediately returns false in this case
brennanMKE has quit [Ping timeout: 246 seconds]
Seich_ has quit [Quit: Computer has gone to sleep.]
Seich_ has joined #ruby
misutowolf has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
Czupa has quit [Remote host closed the connection]
Czupa has joined #ruby
<godd2>
== calls respond_to, so if you have an object that doesnt have that defined (which you've done very much on purpose), then it will throw an error
banisterfiend has quit [Quit: Computer has gone to sleep.]
ixti has quit [Ping timeout: 260 seconds]
astrobunny has quit [Ping timeout: 272 seconds]
carraroj has joined #ruby
bradhe_ has joined #ruby
bradhe has quit [Ping timeout: 272 seconds]
cina has quit [Remote host closed the connection]
astrobunny has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
zipper has quit [Quit: leaving]
bradhe_ has quit [Ping timeout: 245 seconds]
cads has joined #ruby
pagios has quit [Ping timeout: 246 seconds]
monkegjinni has quit [Remote host closed the connection]
randomnick_ has joined #ruby
banisterfiend has joined #ruby
monkegjinni has joined #ruby
danshultz has joined #ruby
pyrac has quit [Quit: pyrac]
PragCypher has joined #ruby
monkegjinni has quit [Ping timeout: 272 seconds]
pyrac has joined #ruby
bugsinlights has joined #ruby
thepumpkin has joined #ruby
zipper has joined #ruby
Aryasam has quit [Ping timeout: 272 seconds]
Aryasam has joined #ruby
mikesplain has joined #ruby
smathieu has joined #ruby
Nowaker has joined #ruby
thepumpkin has quit [Ping timeout: 245 seconds]
Croesus_ has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
<Nowaker>
Howdy. Is there any date/datetime gem for ruby 1.8 that brings the features available in ruby 1.9+? I'm going crazy with this crap now. I tried googling but get unrelevant results.
aryaching has joined #ruby
k610 has joined #ruby
mikesplain has quit [Ping timeout: 240 seconds]
<MrZYX>
hm, there's no chance you can port the app to 1.9 instead? 1.8 is past end of life
workmad3 has joined #ruby
Croesus has quit [Ping timeout: 240 seconds]
wildroman has quit [Remote host closed the connection]
smathieu has quit [Ping timeout: 272 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
Croesus_ has quit [Ping timeout: 245 seconds]
bugsinlights has quit [Quit: No Ping reply in 180 seconds.]
ringtiny has joined #ruby
k610 has quit [Client Quit]
bugsinlights has joined #ruby
jhaals has joined #ruby
zipper has quit [Ping timeout: 245 seconds]
am3n has joined #ruby
pagios_ has joined #ruby
pdimitrov has quit [Ping timeout: 248 seconds]
pr0ggie has quit [Ping timeout: 245 seconds]
pr0ggie has joined #ruby
pdimitrov has joined #ruby
yhsgw has joined #ruby
am3n has quit [Ping timeout: 256 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
jonathanwallace has joined #ruby
Guest25835 has quit [Read error: Connection reset by peer]
wildroman has joined #ruby
wildroman has quit [Remote host closed the connection]
wildroman has joined #ruby
Briareos1 has quit [Read error: Connection reset by peer]
dmiller has joined #ruby
tvw has joined #ruby
anderson has quit [Quit: Leaving]
timonv has joined #ruby
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
dma_ has joined #ruby
brennanMKE has joined #ruby
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dmiller has quit [Ping timeout: 245 seconds]
pr0ggie has quit [Ping timeout: 248 seconds]
pdimitrov has quit [Ping timeout: 246 seconds]
HeYi has quit [Quit: ChatZilla 0.9.90.1 [Firefox 24.0/20130910160258]]
pr0ggie has joined #ruby
pdimitrov has joined #ruby
sevenseacat has joined #ruby
sevenseacat has left #ruby [#ruby]
jhaals has joined #ruby
dma_ has quit [Read error: Operation timed out]
forced_request has quit [Read error: Connection reset by peer]
brennanMKE has quit [Ping timeout: 272 seconds]
tomzx_mac has joined #ruby
Aryasam has quit [Ping timeout: 240 seconds]
Aryasam has joined #ruby
wildroman has quit [Remote host closed the connection]
Seich__ has quit [Quit: Computer has gone to sleep.]
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wildroman has joined #ruby
aspires has joined #ruby
madb055 has quit [Ping timeout: 245 seconds]
scottstamp has joined #ruby
ananthakumaran has joined #ruby
ananthakumaran1 has quit [Ping timeout: 272 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
jonathanwallace1 has joined #ruby
Nanuq has joined #ruby
jonathanwallace has quit [Read error: Connection reset by peer]
wildroman has quit [Ping timeout: 272 seconds]
bradhe has joined #ruby
judd7 has quit [Quit: judd7]
instinkt has quit [Ping timeout: 272 seconds]
bugsinlights_ has joined #ruby
SilverKey has joined #ruby
bugsinlights has quit [Ping timeout: 248 seconds]
<krz>
is there a way to repeat this character * 20 times?
<krz>
so something like '*'.20.times
neo__ has quit [Quit: This computer has gone to sleep]
<krz>
output: **************************
blackmesa has joined #ruby
<ezkl>
krz: '*' * 20
bradhe has quit [Ping timeout: 272 seconds]
<krz>
thanks
bradhe has joined #ruby
eka has joined #ruby
ringtiny has quit [Quit: Leaving]
axl_ has joined #ruby
psyl0n has joined #ruby
afarsang has quit [Quit: Leaving]
bradhe has quit [Ping timeout: 272 seconds]
Zeeraw has quit [Quit: Computer has gone to sleep.]
heftig has quit [Quit: Quitting]
heftig has joined #ruby
rehat has joined #ruby
Tuxist has quit [Read error: Connection reset by peer]
dma_ has joined #ruby
enebo has joined #ruby
jetblack has joined #ruby
axl_ has quit [Quit: axl_]
ryanRT_ has joined #ruby
ryanRT_ has quit [Read error: Connection reset by peer]
ryanRT has quit [Read error: Connection reset by peer]
ryanRT_ has joined #ruby
astrobunny has quit [Ping timeout: 272 seconds]
sayan has quit [Ping timeout: 272 seconds]
kobain has joined #ruby
smathieu has joined #ruby
Seich__ has joined #ruby
heftig has quit [Quit: Quitting]
heftig has joined #ruby
Seich__ has quit [Read error: Connection reset by peer]
Seich__ has joined #ruby
am3n has joined #ruby
neo__ has joined #ruby
plotter has quit [Remote host closed the connection]
sayan has joined #ruby
Sami345 has joined #ruby
mlpinit has joined #ruby
astrobunny has joined #ruby
timonv has quit [Remote host closed the connection]
<Sami345>
I need to override all method calls that end in _field in a sub class, what is the best way to do this?
taternuts has joined #ruby
mixel has quit [Quit: mixel]
kobain has quit []
smathieu has quit [Ping timeout: 248 seconds]
<banisterfiend>
Sami345 instance_methods.select { } then iterate through that and decorate them
<banisterfiend>
u'll need to define your decorator as a class method (or write it in the class body)
<banisterfiend>
ask Mon_Ouie for more info
taternuts has quit [Client Quit]
Seich__ has quit [Ping timeout: 245 seconds]
am3n has quit [Ping timeout: 256 seconds]
Seich__ has joined #ruby
IceDragon has joined #ruby
Aryasam has quit [Ping timeout: 248 seconds]
lyanchih has quit [Quit: lyanchih]
Aryasam has joined #ruby
aspires has quit [Quit: sudo making a sandwich]
<Sami345>
banisterfiend, where should I do the decorating? In the constructor?
<banisterfiend>
Sami345 at the bottom of the class body
<banisterfiend>
or in the constructor if u want
rdnsget has joined #ruby
rdnsget has left #ruby [#ruby]
<banisterfiend>
but then u have to use methods(false) instead of instance_method(false)
neo__ has quit [Ping timeout: 272 seconds]
spider-mario has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
Davey has joined #ruby
jonahR has joined #ruby
schickung has quit [Quit: schickung]
bugsinlights_ has quit [Ping timeout: 272 seconds]
<DouweM>
Sami345: the Array#compact#join thing is a little slower than your if/else statement, but I think this looks nicer
<DouweM>
Sami345: I also added () around method arguments, and renamed kwargs to options
danshultz has quit [Ping timeout: 245 seconds]
<volty>
anybody played with prolog in ruby?
rickruby has quit [Ping timeout: 245 seconds]
<DouweM>
you may also win on performance by using class_eval once instead of define_method many times. I think that way you'd clear the Ruby method cache only once, for the entire class_eval instead of multiple times, for every define_method
_md has joined #ruby
Aryasam has quit [Ping timeout: 272 seconds]
p8952 has quit [Read error: Connection reset by peer]
Zeeraw has joined #ruby
Xeago_ has joined #ruby
thams has quit [Quit: thams]
am3n has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
Aryasam has joined #ruby
thepumpkin has joined #ruby
d45h has quit [Ping timeout: 272 seconds]
timonv has quit [Remote host closed the connection]
jetblack has quit [Quit: leaving]
timonv has joined #ruby
am3n has quit [Ping timeout: 256 seconds]
smathieu has joined #ruby
wallerdev has joined #ruby
styped has joined #ruby
thepumpkin has quit [Ping timeout: 272 seconds]
timonv has quit [Ping timeout: 245 seconds]
merica has joined #ruby
smathieu has quit [Ping timeout: 272 seconds]
aspires has quit [Quit: sudo making a sandwich]
Mon_Ouie has quit [Ping timeout: 245 seconds]
aspiers has quit [Ping timeout: 240 seconds]
srajan has joined #ruby
srajan has quit [Max SendQ exceeded]
srajan has joined #ruby
srajan has quit [Max SendQ exceeded]
Zeeraw has quit [Quit: Computer has gone to sleep.]
nari has quit [Ping timeout: 240 seconds]
voidbottle has joined #ruby
danshultz has joined #ruby
jbpros has quit [Quit: jbpros]
Aryasam has quit [Ping timeout: 246 seconds]
Czupa has quit [Remote host closed the connection]
styped has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
axl_ has quit [Quit: axl_]
roblak has joined #ruby
aryaching has joined #ruby
danshultz has quit [Ping timeout: 272 seconds]
momomomomo has joined #ruby
aryaching_ has quit [Ping timeout: 272 seconds]
banisterfiend has quit [Quit: Computer has gone to sleep.]
chuk has joined #ruby
pagios_ has quit [Quit: Leaving]
havv has quit [Quit: Leaving]
IceDragon has quit [Ping timeout: 272 seconds]
IceDragon has joined #ruby
forced_request has joined #ruby
amacgregor has quit [Read error: Connection reset by peer]
axl_ has joined #ruby
kil0byte has joined #ruby
pkondzior___ has quit []
Seich__ has quit [Ping timeout: 245 seconds]
pkondzior___ has joined #ruby
Deele has joined #ruby
Seich__ has joined #ruby
Czupa has joined #ruby
Linux_Extremist has quit [Ping timeout: 245 seconds]
denysonique_ has joined #ruby
styped has joined #ruby
finnomenon has quit [Remote host closed the connection]
bradhe has joined #ruby
axl_ has quit [Ping timeout: 272 seconds]
kobain has joined #ruby
ShellFu has joined #ruby
hiroyuki_ has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
jonathanwallace1 has joined #ruby
hiroyuki has quit [Ping timeout: 240 seconds]
lstefani has quit [Ping timeout: 245 seconds]
bradhe has joined #ruby
amacgregor has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
lstefani has joined #ruby
gemmy has joined #ruby
s2013 has joined #ruby
Targen has joined #ruby
rehat has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 245 seconds]
MrHacks has joined #ruby
Heero has quit [Ping timeout: 260 seconds]
denysonique has quit []
mlpinit_ has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
mlpinit_ has quit [Client Quit]
am3n has joined #ruby
banisterfiend has joined #ruby
gemmy is now known as sipe
sipe is now known as gemmy
<MrHacks>
how to I set the jruby I installed with RVM as the default jruby instead of the one I installed with Ubuntu?
polaco_zZz is now known as polaco
<shevy>
there are two specific channels #rvm and #jruby
<shevy>
personally I would get rid of the ubuntu ruby
mlpinit has quit [Ping timeout: 272 seconds]
Heero has joined #ruby
earthquake has joined #ruby
Technodrome has quit [Quit: Technodrome]
Heero has quit [Client Quit]
am3n has quit [Ping timeout: 256 seconds]
<MrHacks>
Yeah, but there are so many other things that ubuntu uses for it's ruby. I finally figured out how to get RVM's ruby to work in both xterm (which most terminal programs use) and screen (which tmux uses). So that part is good. I'm fired up and read to go with ruby and rails. But jruby is worth using if it impresses employers who like Java
Czupa has quit [Ping timeout: 246 seconds]
goganchic has joined #ruby
KenDhia has joined #ruby
s2013 has quit [Remote host closed the connection]
havenwood has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
karls0n has joined #ruby
atmosx has joined #ruby
smathieu has joined #ruby
vlad_starkov has joined #ruby
jibi has quit [Quit: .]
CaptainJet has joined #ruby
Seich__ has quit [Ping timeout: 245 seconds]
jkhwan has joined #ruby
chuk has quit [Quit: Leaving]
neo__ has joined #ruby
smathieu has quit [Ping timeout: 240 seconds]
neo__ has quit [Client Quit]
jonahR has quit [Ping timeout: 248 seconds]
jonahR_ has joined #ruby
voidbottle has quit [Quit: Ухожу я от вас]
Seich__ has joined #ruby
wallerdev has quit [Quit: wallerdev]
xk_id has quit [Quit:
einarj has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
einarj has quit [Remote host closed the connection]
dangerousdave has joined #ruby
s2013 has joined #ruby
jonathanwallace1 has quit [Ping timeout: 245 seconds]
schickung has quit [Quit: schickung]
TheMoonMaster has quit [Excess Flood]
TheMoonMaster has joined #ruby
aapzak has quit [Read error: Connection reset by peer]
Technodrome has joined #ruby
paolooo has joined #ruby
MrHacks has quit [Quit: leaving]
danshultz has joined #ruby
Czupa has joined #ruby
Czupa has quit [Remote host closed the connection]
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
atmosx has quit [Ping timeout: 245 seconds]
aapzak has joined #ruby
JZTech101 has joined #ruby
danshultz has quit [Ping timeout: 240 seconds]
newbiehacker has joined #ruby
teddyp1cker has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
KenDhia has quit [Ping timeout: 240 seconds]
sayan has quit [Quit: Leaving]
Bry8Star{T2 has joined #ruby
Davey has joined #ruby
unstable has left #ruby [#ruby]
roblak has quit [Quit: roblak]
einarj has joined #ruby
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
byprdct has joined #ruby
hiroyuki_ has quit [Remote host closed the connection]
paolooo has quit [Quit: Page closed]
Zeeraw has joined #ruby
hiroyuki has joined #ruby
blackmesa has joined #ruby
MrZYX is now known as MrZYX|off
jkhwan has quit [Remote host closed the connection]
xk_id has joined #ruby
adambeynon has joined #ruby
misutowolf has quit [Ping timeout: 240 seconds]
styped has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jacobat has quit [Quit: WeeChat 0.4.0]
bradhe has joined #ruby
fgo has joined #ruby
hiroyuki has quit [Read error: Connection reset by peer]
e-jambon has joined #ruby
bluOxigen has joined #ruby
hiroyuki has joined #ruby
ce_afk is now known as cescalante
iaj has quit [Ping timeout: 240 seconds]
iaj has joined #ruby
fgo has quit [Remote host closed the connection]
Monie has joined #ruby
chinychinchin has quit [Quit: Konversation terminated!]
bradhe has quit [Ping timeout: 272 seconds]
chinychinchin has joined #ruby
mixel has joined #ruby
cescalante is now known as ce_afk
bradhe has joined #ruby
am3n has joined #ruby
banisterfiend has quit [Quit: Computer has gone to sleep.]
havenwood has quit [Remote host closed the connection]
jeffdb has joined #ruby
Bry8Star{T2_ has joined #ruby
Astralum has quit [Ping timeout: 245 seconds]
MrZYX|off is now known as MrZYX
banisterfiend has joined #ruby
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
einarj has quit [Remote host closed the connection]
chinychinchin has quit [Read error: Operation timed out]
goganchic has quit []
bradhe has quit [Ping timeout: 240 seconds]
am3n has quit [Ping timeout: 256 seconds]
byprdct has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby
zipper has joined #ruby
rickruby has joined #ruby
earthquake has quit [Quit: earthquake]
wildroman has quit [Remote host closed the connection]
wildroman has joined #ruby
timonv has joined #ruby
fuhgeddaboudit has quit [Ping timeout: 245 seconds]
jonathanwallace1 has quit [Ping timeout: 272 seconds]
JeanMertz has quit []
smathieu has joined #ruby
freerobby has joined #ruby
momomomomo has quit [Quit: momomomomo]
jonathanwallace1 has joined #ruby
pyrac has joined #ruby
smathieu has quit [Ping timeout: 260 seconds]
am3n has joined #ruby
dancinllama has joined #ruby
<dancinllama>
having issues getting my first rubymotion app to run. I get the following error: Rakefile:7:in `<top (required)>' when running rake for my app, any ideas what would cause this? It coincides with "Bundler.require" in my Rakefile
drag00n has joined #ruby
marr has joined #ruby
am3n has quit [Ping timeout: 256 seconds]
ihme-TTilus is now known as TTilus
saarinen has joined #ruby
Seich__ has joined #ruby
Andrevan has quit [Quit: WeeChat 0.4.2-rc1]
diegoviola has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
newbiehacker has quit [Read error: Connection reset by peer]
<droptone^>
I have a rails-specific question, but no one is talking in #rails. Is it acceptable to ask the odd rails question in here or is that strictly taboo?
newbiehacker has joined #ruby
jonathanwallace1 has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
unstable has joined #ruby
<unstable>
I have a method that is outputting an array of file names. The list is very specific, there should and should not be certain items on the list. How can I write an rspec unit test for this method? (I'm new to rspec, I'm looking for a link in the rspec docs talking about this)
mixel has quit [Quit: mixel]
allaire has quit []
Tuxist has joined #ruby
CreativeEmbassy has joined #ruby
<Hanmac1>
droptone^: #rubyonrails
Hanmac1 is now known as Hanmac
barratt has quit [Quit: Leaving...]
danshultz has joined #ruby
stkowski has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
droptone^ is now known as droptone
fijimunkii has joined #ruby
OdNairy has joined #ruby
pu22l3r has quit [Remote host closed the connection]
<zipper>
diegoviola: why do you think that chruby is easier to use? I want one that I can get/understand quick and easy. Maybe even easy to get help on irc.
popl has quit [Quit: We must make an idol of our fear, and call it God.]
jalcine has joined #ruby
CreativeEmbassy has joined #ruby
PragCypher has quit [Quit: Leaving]
Xeago_ has quit [Remote host closed the connection]
mengu has quit [Ping timeout: 245 seconds]
thams has joined #ruby
jonr22 has quit [Remote host closed the connection]
am3n has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblu_ has joined #ruby
psyl0n has joined #ruby
cina has quit [Remote host closed the connection]
iliketurtles has joined #ruby
tvw has quit []
hiall has quit [Quit: hiall]
yfeldblu_ has quit [Ping timeout: 245 seconds]
havenn has joined #ruby
vlad_starkov has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
havenwood has quit [Ping timeout: 272 seconds]
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
workmad3 has quit [Ping timeout: 248 seconds]
volty has joined #ruby
drag00n has quit [Ping timeout: 248 seconds]
aspires has joined #ruby
capicue has joined #ruby
thams has quit [Quit: thams]
notworthy has joined #ruby
notworthy has left #ruby [#ruby]
yvemath has joined #ruby
yvemath is now known as Guest799
notworthy has joined #ruby
Rocksurf70 has joined #ruby
thams has joined #ruby
Monie has joined #ruby
petey__ has quit [Remote host closed the connection]
petey__ has joined #ruby
smathieu has joined #ruby
fijimunkii has quit [Ping timeout: 248 seconds]
<jblack>
void: Honestly?
mmcdaris has quit [Quit: mmcdaris]
CreativeEmbassy has joined #ruby
Azulinho has quit [Ping timeout: 272 seconds]
<jblack>
Your code is far more complicated than it should be. Try breaking your code down into a pile of functions that are < 10 lines each (some say 5!). That'll get your nesting structures down and will simplify your code quite a bit.
petey__ has quit [Ping timeout: 272 seconds]
Xeago has quit [Remote host closed the connection]
<voidbottle>
jblack, ok, thanks i'l try.
Xeago has joined #ruby
smathieu has quit [Ping timeout: 240 seconds]
<jblack>
It'll also make the code more self-documenting. Method names work well to describe what individual chunks of code do. =)
allaire has joined #ruby
<jblack>
For example, lines 219-223. Easy to break out into a method, and it'll make your code slightly more readable. do that a couple dozen times, and you'll have something much easier to read.
spacebug_ has joined #ruby
<voidbottle>
jblack, oook.
<jblack>
Your goal as a coder is to keep your code in small simple pieces.
Mattias has quit [Ping timeout: 272 seconds]
anekos_ has quit [Ping timeout: 272 seconds]
zz_michael_mbp is now known as michael_mbp
robbyoconnor has quit [Read error: No route to host]
r0bby_ has joined #ruby
<voidbottle>
jblack, the problem is i am not coder :)
anekos_ has joined #ruby
nemesit|znc has quit [Ping timeout: 272 seconds]
<jblack>
Apparently you are. You're not not a good one. Yet.
spacebug has quit [Ping timeout: 272 seconds]
<voidbottle>
so, i'l try to clean code, thanks for advice.
<jblack>
You're welcome
aryaching_ has quit [Ping timeout: 260 seconds]
Mattias has joined #ruby
Xeago has quit [Ping timeout: 246 seconds]
nemesit|znc has joined #ruby
earthquake has joined #ruby
cburyta has joined #ruby
petey__ has joined #ruby
mercwithamouth has quit [Ping timeout: 245 seconds]
michael_mbp is now known as zz_michael_mbp
dmiller has joined #ruby
monkegjinni has quit [Remote host closed the connection]