apeiros changed the topic of #ruby to: Ruby 2.0.0-p195: http://ruby-lang.org (Ruby 1.9.3-p429) || Paste >3 lines of text on http://gist.github.com
lewis is now known as lewix
cj3kim has quit [Remote host closed the connection]
<ravster> hey all, how do I prune a nested hash? I'm trying to say that a = b except for all key-vals in b that don't have key='id'.
slainer68 has quit [Ping timeout: 264 seconds]
eploko has quit [Quit: Z-z-zzz...]
Matip has quit [Read error: Connection reset by peer]
pcarrier_ has joined #ruby
rupee has quit [Quit: Leaving]
fermion has joined #ruby
bionhart has joined #ruby
_maes_ has joined #ruby
codesoda has quit [Remote host closed the connection]
Guedes0 has joined #ruby
benlieb has quit [Quit: benlieb]
reset has quit [Quit: Leaving...]
fermion has quit [Quit: Computer has gone to sleep.]
Cyrus has joined #ruby
aedornm has quit [Remote host closed the connection]
toekutr has quit [Remote host closed the connection]
`p has joined #ruby
butblack has quit [Quit: butblack]
toekutr has joined #ruby
GeissT has joined #ruby
Todd has quit [Ping timeout: 264 seconds]
Cultofme_ has joined #ruby
Cultofmetatron has quit [Read error: Connection reset by peer]
zastern has quit [Remote host closed the connection]
brotatos has joined #ruby
fermion has joined #ruby
wallerdev has quit [Quit: wallerdev]
Matip has joined #ruby
fermion has quit [Client Quit]
chrishough has quit [Quit: chrishough]
elliottcable^ is now known as elliottcable
postmodern has joined #ruby
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
ivanoats_ has joined #ruby
ivanoats_ has quit [Remote host closed the connection]
aedornm has joined #ruby
reset has joined #ruby
daniel_- has quit [Ping timeout: 264 seconds]
brotatos has quit [Quit: WeeChat 0.4.1]
pcarrier_ has quit [Quit: Textual IRC Client: www.textualapp.com]
butblack has joined #ruby
[[mandrix]] has joined #ruby
g0bl1n has joined #ruby
g0bl1n has joined #ruby
g0bl1n has quit [Changing host]
ivanoats has quit [Ping timeout: 260 seconds]
BSaboia has quit [Ping timeout: 264 seconds]
wallerdev has joined #ruby
TheDick has quit [Quit: TheDick]
zeade has quit [Quit: Leaving.]
chile_andes has joined #ruby
yshh has quit [Remote host closed the connection]
pkh has joined #ruby
stonevil_ has quit [Remote host closed the connection]
mmlac-bv has joined #ruby
stonevil has joined #ruby
arubin has joined #ruby
carlyle has quit [Remote host closed the connection]
stonevil_ has joined #ruby
stonevil has quit [Read error: Connection reset by peer]
aboudreault has quit [Excess Flood]
chrisja has quit [Quit: leaving]
chile_andes has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pyr0commie has quit [Remote host closed the connection]
aboudreault has joined #ruby
stoic_squirrel has quit [Quit: Textual IRC Client: www.textualapp.com]
bionhart has quit [Remote host closed the connection]
graydot has quit [Quit: graydot]
timkohrumel has joined #ruby
echevemaster has joined #ruby
echevemaster has quit [Changing host]
echevemaster has joined #ruby
jkline_ has joined #ruby
justsee has quit [Ping timeout: 276 seconds]
emsilva has joined #ruby
tjbiddle_ has joined #ruby
tvw has quit []
tjbiddle has quit [Ping timeout: 252 seconds]
v0n has joined #ruby
markalanevans_ has joined #ruby
staafl has joined #ruby
buzzybron has joined #ruby
fridim_ has joined #ruby
tjbiddle_ has quit [Ping timeout: 264 seconds]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
markalanevans has quit [Read error: Connection reset by peer]
markalanevans_ is now known as markalanevans
toekutr has quit [Ping timeout: 252 seconds]
Eaven has quit [Remote host closed the connection]
tylersmith has joined #ruby
superscott[8] has quit [Quit: superscott[8]]
benlieb has joined #ruby
l33 has quit [Remote host closed the connection]
ner0x has joined #ruby
yshh has joined #ruby
bionhart has joined #ruby
l33 has joined #ruby
gillian has joined #ruby
chile_andes has joined #ruby
machuga is now known as machuga|away
tommyvyo has joined #ruby
lyanchih has joined #ruby
lyanchih has quit [Client Quit]
nfk has quit [Quit: yawn]
lyanchih has joined #ruby
dhruvasagar has joined #ruby
graydot has joined #ruby
graydot has quit [Client Quit]
preyalone has joined #ruby
alexy has joined #ruby
JZTech101 has quit [Quit: Hmm... What to do now?]
<preyalone> Is bundler / Gemfile still useful in a project that doesn't need any dependencies?
Voodoofish430 has quit [Quit: Leaving.]
butblack has quit [Quit: butblack]
alexy has left #ruby ["Leaving"]
chatrjr has joined #ruby
huoxito has joined #ruby
freerobby has quit [Quit: Leaving.]
butblack has joined #ruby
AgentWillyWonka has quit [Quit: Linkinus - http://linkinus.com]
l33 has quit [Remote host closed the connection]
generalissimo has joined #ruby
Xeago has quit [Remote host closed the connection]
lchin has joined #ruby
lchin has quit [Client Quit]
LennyLin_ has quit [Remote host closed the connection]
thesheff17 has quit [Ping timeout: 264 seconds]
bradhe has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
devoldmx has joined #ruby
mercwithamouth has joined #ruby
thetristan has quit [Quit: thetristan]
yshh has quit [Remote host closed the connection]
preyalone has quit [Remote host closed the connection]
devoldmx3 has quit [Ping timeout: 276 seconds]
buzzybron has quit []
chipotle has joined #ruby
_veer has quit [Ping timeout: 264 seconds]
_veer has joined #ruby
_veer has quit [Changing host]
_veer has joined #ruby
danslo has joined #ruby
filipe has quit [Ping timeout: 256 seconds]
yshh has joined #ruby
yshh has quit [Remote host closed the connection]
yshh has joined #ruby
LennyLinux has joined #ruby
wu_lmao has quit [Remote host closed the connection]
mahmoudimus has joined #ruby
mixel has quit [Quit: mixel]
chatrjr has quit [Quit: Leaving]
phantasm66 has joined #ruby
phantasm66 has joined #ruby
phantasm66 has quit [Changing host]
jkline_ has quit [Quit: jkline_]
thesheff17 has joined #ruby
phantasm66 has quit [Client Quit]
lewix has quit [Remote host closed the connection]
rb-new has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
<rb-new> i have install ruby in my ubuntu
<rb-new> i don't now where i write it?
<rb-new> how to begin it?
<rb-new> please give me some simple code
<sam113101> what?
<Senjai> what?
<xibalba> in the butt!
<rb-new> how to begin ruby in ubuntu?
banjara has quit [Quit: Leaving.]
falood has joined #ruby
<sam113101> ruby test.rb
<sam113101> here you go
Ortuna has quit [Quit: Computer has gone to sleep.]
eploko has joined #ruby
jnoob22 has quit [Remote host closed the connection]
<rb-new> no such file or directory
jnoob22 has joined #ruby
<rb-new> i'm not yet write code
* xibalba face palms
<Senjai> rb-new: is english your first language
<rb-new> now, i'm open gedit blank file. what i must write in this empty file?
<xibalba> rb-new: puts "hello world"
<rb-new> senjai.english not my first english
<apeiros> xibalba: re 'in the butt!' - please stay civil. thanks.
Animawish has joined #ruby
<rb-new> senjai.i'm sorry about my english
<rb-new> xibalba.i will try write it,
g0bl1n has quit [Ping timeout: 260 seconds]
Hanmac1 has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
ixti has joined #ruby
<rb-new> xibalba. i have been write puts "hello world" .then?
<xibalba> then save it to a file
<xibalba> type on command line : "ruby _file_name_"
<rb-new> ok
ia___ has quit [Quit: ia___]
<rb-new> yes. its show that string.
<rb-new> its good sir
filipe has joined #ruby
<xibalba> congratualations, your first ruby app
<rb-new> yes, sir.
jnoob22 has quit [Ping timeout: 256 seconds]
thomasle_ has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 276 seconds]
<rb-new> data type, using declaration?
<rb-new> xibalba. data type, using declaration?
<xibalba> now you're on your own buddy
<xibalba> buy a book, search google
<sam113101> rb-new: what's your first language?
citizensinspace has quit [Quit: citizensinspace]
dhruvasagar has quit [Ping timeout: 264 seconds]
<rb-new> pasif english
<rb-new> sir, can give me one reason why we learn ruby?
kinginky has joined #ruby
phipes has joined #ruby
<rb-new> caused ,as we know that many languages of programmer
<ravster> I'm using emacs, and I'm able to get the correct indentation when I'm on a line and press TAB. But when I select a bunch of lines and hit TAB it doesn't work. Is there something special I need to do to my ruby-mode that other users do?
<sam113101> rb-new: what's pasif English? lol
<sam113101> do you know French, Spanish, German or something?
<kinginky> hey everyone. doing a project for a client. it requires i run several instances of the application i built. they all have to be run under their own user (ubuntu). i am trying to use god to monitor the processes, but get errors about Gemfile not found, etc. i've tried a system-wide ruby installation and `sudo god` as well as `rvmsudo god` and `rvmsudo bundle exec god`, but all of them fail to function for one reason or another
werdnativ has quit [Ping timeout: 248 seconds]
vespakoen has quit [Quit: Leaving]
phipes has quit [Client Quit]
<kinginky> any ideas on how i could do this?
phipes has joined #ruby
<rb-new> i'm using alphabet before,
<kinginky> let me gist my Godfile, too
<rb-new> for now want to learn ruby
jcromartie has joined #ruby
<sam113101> oh boy
Spooner has quit [Remote host closed the connection]
cofin has joined #ruby
saarinen has joined #ruby
DanKnox is now known as DanKnox_away
<kinginky> this Godfile only specifies 4 of an eventual 12 processes, but should be easily scalable from 4 to 12
Michael__ has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
Michael__ has joined #ruby
chrishough has joined #ruby
havenwood has joined #ruby
<sam113101> rb-new: 日本語
alexwh has left #ruby [#ruby]
tbrock has joined #ruby
justsee has quit [Ping timeout: 264 seconds]
<rb-new> sam113101. what is that?
justsee has joined #ruby
<sam113101> I guess you don't speak Japanese
ravster has quit [Quit: Leaving.]
<apeiros> he seems to be indonesian
<apeiros> rb-new: from jakarta?
havenwood has quit [Ping timeout: 276 seconds]
twoism has quit [Remote host closed the connection]
<bnagy> sam113101: or chinese
hamakn has joined #ruby
gillian is now known as lucyinthesky
<bnagy> sam113101: btw eventmachine is, technically, multithreaded, but the whole point of that pattern is to avoid threads
LennyLinux has quit [Remote host closed the connection]
ttt has joined #ruby
<bnagy> it is ( assertion ) the best way to deal with io-blocky stuff like network clients and servers
freerobby has joined #ruby
<bnagy> for scalability, anyway
<sam113101> bnagy: ok, thanks
butblack has left #ruby [#ruby]
kenneth has quit [Quit: kenneth]
<sam113101> must I also make sure that other things (such as db queries) don't block?
<bnagy> rule #1 of that pattern - don't block the reactor
<sam113101> ok
<rb-new> ruby=perl?
<rb-new> is ruby=perl?
<bnagy> sam113101: which means you end up with a kind of callbacky pattern
<bnagy> which can eventually become brainbending
woolite64__ has joined #ruby
<sam113101> I see
ffranz has quit [Quit: Leaving]
kenneth has joined #ruby
lucianosousa has joined #ruby
shadoi has quit [Quit: Leaving.]
saarinen has quit [Quit: saarinen]
woolite64_ has quit [Ping timeout: 248 seconds]
generalissimo has quit [Read error: Connection reset by peer]
mercwithamouth has quit [Ping timeout: 260 seconds]
tommyvyo has quit [Quit:]
generalissimo has joined #ruby
rb-new has left #ruby ["Leaving"]
jdunck has quit [Quit: Computer has gone to sleep.]
choobie has quit [Ping timeout: 252 seconds]
freerobby has quit [Ping timeout: 252 seconds]
<sam113101> so I'd use defer to do a database query, right?
ffio_ has quit [Quit: WeeChat 0.4.0]
erry has quit [Read error: Connection reset by peer]
<bnagy> well ideally you would have the completion fire an event that you can then handle in the reactor
ffio has joined #ruby
dhruvasagar has joined #ruby
erry has joined #ruby
<bnagy> but I guess defer is one way of doing that
Michael__ has quit [Ping timeout: 264 seconds]
<bnagy> I can't remember if defer threads out or not
dhruvasagar has quit [Read error: Connection reset by peer]
<bnagy> haven't used EM for quite a few years
<sam113101> I think it uses a thread from a pool of 20 threads (by default), not sure
banjara has joined #ruby
mmlac-bv has quit [Read error: Connection reset by peer]
emsilva has quit [Ping timeout: 252 seconds]
<bnagy> a lot of DBs have async apis now though
corehook has joined #ruby
mmlac-bv has joined #ruby
eploko has quit [Quit: Z-z-zzz...]
danslo has quit [Ping timeout: 252 seconds]
ivanoats has joined #ruby
ivanoats has quit [Remote host closed the connection]
bricker`LA has joined #ruby
emsilva has joined #ruby
mmlac-bv has quit [Client Quit]
lewix has joined #ruby
g0bl1n has joined #ruby
ffio has quit [Quit: WeeChat 0.4.0]
arya_ has quit [Ping timeout: 248 seconds]
ffio has joined #ruby
choobie has joined #ruby
bradhe has joined #ruby
lucyinthesky has quit []
splittingred has joined #ruby
danslo has joined #ruby
phipes has quit [Quit: phipes]
siekoku has joined #ruby
braincrash has quit [Read error: Operation timed out]
arya has joined #ruby
tbrock has quit [Quit: Textual IRC Client: www.textualapp.com]
tbrock has joined #ruby
wallerdev has quit [Quit: wallerdev]
bionhart has quit [Remote host closed the connection]
justsee has quit [Ping timeout: 264 seconds]
tbrock has quit [Client Quit]
staafl_alt has joined #ruby
mmitchell has quit [Remote host closed the connection]
staafl_alt has quit [Read error: Connection reset by peer]
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
markalanevans has quit [Ping timeout: 276 seconds]
ffranz has joined #ruby
siekoku is now known as kilowattt
bradhe has quit [Ping timeout: 252 seconds]
MistuhKurtz has joined #ruby
nari has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
Michael__ has joined #ruby
bionhart has joined #ruby
azi has joined #ruby
havenwood has joined #ruby
azi has left #ruby [#ruby]
kilowattt has quit [Remote host closed the connection]
jamesfung14 has joined #ruby
Ortuna has joined #ruby
braincrash has joined #ruby
poincare101 has joined #ruby
eploko has joined #ruby
<rgrinberg> how do you guys feel about puzzle questions in interviews?
Michael__ has quit [Remote host closed the connection]
twoism has joined #ruby
<bnagy> I love them
twoism has quit [Remote host closed the connection]
<bnagy> but mainly I view interviews as a chance to torture people and not get arrested
twoism has joined #ruby
citizensinspace has joined #ruby
emsilva has quit [Ping timeout: 264 seconds]
<lewix> do you guys have good links for twitter api
<lewix> and ruby
citizensinspace has quit [Client Quit]
<lewix> tutorials and stuff
grn has quit [Read error: Connection reset by peer]
<bnagy> I thought there was a gem for that
benlieb has joined #ruby
chipotle has quit [Quit: cya]
Michael__ has joined #ruby
thomasle_ has joined #ruby
tommyvyo has joined #ruby
feedbackloop has quit [Read error: Connection reset by peer]
<rgrinberg> bnagy: any cool puzzles to shares?
zastern has joined #ruby
feedbackloop_ has joined #ruby
<rgrinberg> myself i love them as well but i have to wonder how effective they are at doing what they're supposed to do
citizensinspace has joined #ruby
phipes has joined #ruby
citizensinspace has left #ruby [#ruby]
linc has joined #ruby
grn has joined #ruby
twoism has quit [Ping timeout: 264 seconds]
jurbat has joined #ruby
kenneth has quit [Quit: kenneth]
eploko has quit [Quit: Z-z-zzz...]
jbueza has quit [Quit: Leaving.]
corehook_ has joined #ruby
radic_ has joined #ruby
corehook has quit [Quit: Leaving]
radic has quit [Read error: Operation timed out]
generalissimo has quit [Remote host closed the connection]
ainame has joined #ruby
ainame has quit [Remote host closed the connection]
MistuhKurtz has quit [Quit: sleeping]
ffranz has quit [Quit: Leaving]
bricker`LA has quit [Ping timeout: 252 seconds]
ner0x has quit [Quit: Leaving]
Eaven has joined #ruby
ioNull has quit [Quit: Computer has gone to sleep.]
io_syl has quit [Ping timeout: 240 seconds]
<bnagy> well usually I just watch they way they approach the problem
<bnagy> which is a good way to get a feel for their level of clue
<bnagy> but I work in a field where native clue and motivation is more important than existing skills
<bnagy> I dunno if they would be a good way to hire a really solid c++ programmer for example
netherwolfe has joined #ruby
netherwolfe has quit [Changing host]
netherwolfe has joined #ruby
phipes has quit [Quit: phipes]
lewix has quit [Ping timeout: 264 seconds]
Michael__ has quit [Remote host closed the connection]
justsee has quit [Ping timeout: 260 seconds]
v0n has quit [Read error: Connection reset by peer]
mmitchell has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
lewix has joined #ruby
v0n has joined #ruby
seoaqua has quit [Quit: 离开]
kenneth has joined #ruby
Michael__ has joined #ruby
linc has quit [Quit: Leaving]
Michael__ has quit [Remote host closed the connection]
darthdeus has quit [Quit: Leaving...]
carlyle has joined #ruby
g0bl1n has quit [Quit: Ex-Chat]
Hanmac has joined #ruby
freerobby has joined #ruby
Guedes0 has quit [Read error: Operation timed out]
krz has joined #ruby
Michael__ has joined #ruby
carlyle has quit [Remote host closed the connection]
rads has quit [Quit: rads]
bkparsons has quit [Quit: bkparsons]
osvico has joined #ruby
buzzybron has joined #ruby
Hanmac1 has quit [Ping timeout: 264 seconds]
phipes has joined #ruby
<buzzybron> how do i enter the interactive mode in ruby?
<bnagy> irb
<buzzybron> i got a command not found though
druonysus has joined #ruby
druonysus has joined #ruby
chriskk has joined #ruby
mmitchell has quit [Ping timeout: 264 seconds]
bricker`LA has joined #ruby
<lewix> buzzybron: how did you install ruby?
jbueza has joined #ruby
freerobby has quit [Ping timeout: 264 seconds]
<buzzybron> lewix : no idea... on a stg server
<buzzybron> not maintained
nari has quit [Ping timeout: 252 seconds]
<buzzybron> on a centos though
<lewix> buzzybron: i dont even know what a stg server is, but why don't you rvm install ruby
netherwolfe has quit [Quit: Lost terminal]
chile_andes has quit [Quit: Textual IRC Client: www.textualapp.com]
ioNull has joined #ruby
Michael__ has quit [Remote host closed the connection]
keanehsiao has joined #ruby
<buzzybron> how do i install a particular version of gem
<buzzybron> lewix : did my irb on the wrong env lol
mahmoudimus has joined #ruby
kevinykchan has quit [Ping timeout: 245 seconds]
Michael__ has joined #ruby
Michael__ has quit [Remote host closed the connection]
chrishough has quit [Quit: chrishough]
bkparsons has joined #ruby
kevinykchan has joined #ruby
poincare101 has quit [Quit: Leaving.]
Michael__ has joined #ruby
Animawish has quit [Quit: Animawish]
sailias has joined #ruby
Michael__ has quit [Remote host closed the connection]
Eaven has quit [Remote host closed the connection]
Michael__ has joined #ruby
arya has quit [Ping timeout: 248 seconds]
Michael__ has quit [Remote host closed the connection]
Vert has quit [Remote host closed the connection]
dpathakj has joined #ruby
Guga_ has joined #ruby
bricker`LA has quit [Read error: Connection reset by peer]
Michael__ has joined #ruby
bricker`LA has joined #ruby
pcarrier_ has joined #ruby
dpathakj has quit [Ping timeout: 252 seconds]
<lewix> lol
jjbohn has joined #ruby
Anarch_ is now known as Anarch
Davey has quit [Quit: Computer has gone to sleep.]
justsee has quit [Ping timeout: 256 seconds]
lyanchih has quit [Quit: lyanchih]
myu has left #ruby ["Leaving"]
Michael__ has quit [Remote host closed the connection]
Guga_ has quit [Quit: ~]
thomasle_ has quit [Remote host closed the connection]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
Guga_ has joined #ruby
sleetdrop has joined #ruby
banjara has quit [Max SendQ exceeded]
rickruby has joined #ruby
jjbohn has quit [Client Quit]
timkohrumel has quit [Remote host closed the connection]
rezzack has quit [Read error: Operation timed out]
banjara has joined #ruby
freerobby has joined #ruby
druonysus has quit [Ping timeout: 264 seconds]
wesside has joined #ruby
timkohrumel has joined #ruby
deens has joined #ruby
deens has quit [Remote host closed the connection]
<buzzybron> tried to install rubygems-update but i get a http 302 response
<lewix> buzzybron: you're using the wron env?
<lewix> lol
benlieb has quit [Quit: benlieb]
mercwithamouth has joined #ruby
crazymykl has quit [Remote host closed the connection]
rickruby has quit [Ping timeout: 276 seconds]
Guga_ has quit [Quit: ~]
digitalcake has joined #ruby
Guga_ has joined #ruby
<buzzybron> lewix : local env now...
freerobby has quit [Ping timeout: 256 seconds]
<buzzybron> any ideas?
jcromartie has quit [Quit: Computer has gone to sleep.]
crazymykl has joined #ruby
thesheff17 has quit [Ping timeout: 276 seconds]
johnnyfuchs has joined #ruby
Ortuna has quit [Quit: Computer has gone to sleep.]
kobain has quit [Quit: l'unica verità.. è la morte stessa!]
kinginky has quit [Read error: Connection reset by peer]
bionhart has quit [Remote host closed the connection]
freerobby has joined #ruby
sambao21 has joined #ruby
buzzybron has quit []
dpathakj has joined #ruby
Beoran_ has joined #ruby
hogeo has joined #ruby
lucianosousa has quit [Quit: lucianosousa]
Davey has joined #ruby
Cultofme_ has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
lyanchih has joined #ruby
Beoran__ has quit [Ping timeout: 256 seconds]
<lewix> nope
BeegPeeg00 has quit [Remote host closed the connection]
cj3kim has joined #ruby
pipework has joined #ruby
bkparsons has quit [Quit: bkparsons]
jjbohn has joined #ruby
nilobject has joined #ruby
jphpsf has joined #ruby
reset has quit [Read error: Connection reset by peer]
reset_ has joined #ruby
digitalcake has quit [Quit: Leaving.]
nezumi has joined #ruby
Inside has quit [Ping timeout: 252 seconds]
johnnyfuchs has quit [Remote host closed the connection]
ivanoats has joined #ruby
lewix has quit [Remote host closed the connection]
nilobject has quit [Quit: nilobject]
jjbohn has quit [Quit: Leaving...]
chriskk has quit [Quit: chriskk]
twoism has joined #ruby
carlyle has joined #ruby
twoism has quit [Remote host closed the connection]
johnnyfuchs has joined #ruby
twoism has joined #ruby
nari has joined #ruby
^uck is now known as nuck
user_ has joined #ruby
philcrissman has joined #ruby
lyanchih has quit [Quit: lyanchih]
staafl has quit [Ping timeout: 264 seconds]
beilabs has quit [Ping timeout: 248 seconds]
carlyle has quit [Read error: Connection reset by peer]
tommyvyo has quit [Quit:]
wallerdev has joined #ruby
phipes has quit [Quit: phipes]
rippa has joined #ruby
hogeo has quit [Remote host closed the connection]
toekutr has joined #ruby
tommyvyo has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
io_syl has joined #ruby
mercwithamouth has quit [Ping timeout: 276 seconds]
tommyvyo has quit [Client Quit]
reset_ has quit [Ping timeout: 264 seconds]
bradleyprice has joined #ruby
thetristan has joined #ruby
toekutr has quit [Read error: No route to host]
hogeo has joined #ruby
bluOxigen has joined #ruby
bradleyprice has quit [Remote host closed the connection]
thetristan has quit [Client Quit]
Hanmac1 has joined #ruby
thesheff17 has joined #ruby
Hanmac has quit [Ping timeout: 253 seconds]
beilabs has joined #ruby
justsee has quit [Ping timeout: 260 seconds]
hogeo_ has joined #ruby
cyong has joined #ruby
freerobby has quit [Quit: Leaving.]
tommyvyo has joined #ruby
icco has quit [Ping timeout: 252 seconds]
timkohrumel has quit [Remote host closed the connection]
icco has joined #ruby
freakazoid0223 has quit [Remote host closed the connection]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
cj3kim has quit [Ping timeout: 264 seconds]
soukihei has quit [Ping timeout: 252 seconds]
cj3kim has joined #ruby
postmodern has quit [Ping timeout: 264 seconds]
hogeo has quit [Ping timeout: 264 seconds]
pbertain has quit [Ping timeout: 264 seconds]
ndngvr has quit [Ping timeout: 264 seconds]
bdnchr has joined #ruby
pbertain has joined #ruby
ixti has quit [Quit: WeeChat 0.4.1]
hogeo has joined #ruby
soukihei has joined #ruby
postmodern has joined #ruby
Drewch has quit [Ping timeout: 252 seconds]
hogeo_ has quit [Ping timeout: 264 seconds]
havenwood has quit [Remote host closed the connection]
bionhart has joined #ruby
rockets has joined #ruby
Drewch has joined #ruby
bricker`LA has quit [Ping timeout: 252 seconds]
eccstartup has joined #ruby
zastern has quit [Ping timeout: 276 seconds]
keanehsiao has quit [Quit: keanehsiao]
dik_dak has joined #ruby
johnnyfuchs has quit [Remote host closed the connection]
tonini has joined #ruby
Hanmac1 has quit [Ping timeout: 260 seconds]
lapinferoce has joined #ruby
dik_dak has quit [Client Quit]
lapinferoce has left #ruby [#ruby]
icco has quit [Ping timeout: 256 seconds]
Hanmac has joined #ruby
lapinferoce has joined #ruby
tjbiddle has joined #ruby
brianherman has quit [Read error: Connection reset by peer]
icco has joined #ruby
fridim_ has quit [Ping timeout: 252 seconds]
bionhart has quit [Remote host closed the connection]
beilabs has quit [Ping timeout: 276 seconds]
dpathakj has quit [Quit: dpathakj]
headius has joined #ruby
tjbiddle_ has joined #ruby
browndawg has joined #ruby
bionhart has joined #ruby
bdnchr has quit [Ping timeout: 260 seconds]
hogeo_ has joined #ruby
tjbiddle has quit [Ping timeout: 260 seconds]
tjbiddle_ is now known as tjbiddle
igaiga has joined #ruby
Senjai has quit [Ping timeout: 248 seconds]
choobie has quit [Quit: choobie]
bionhart has quit [Remote host closed the connection]
girija has joined #ruby
Drewch has quit [Ping timeout: 264 seconds]
hogeo has quit [Ping timeout: 252 seconds]
headius has quit [Quit: headius]
keanehsiao has joined #ruby
thomasle_ has joined #ruby
Drewch has joined #ruby
Emmanuel_Chanel has joined #ruby
lewix has joined #ruby
mercwithamouth has joined #ruby
sleetdrop has quit [Quit: Computer has gone to sleep.]
bricker`LA has joined #ruby
BeegPeeg00 has joined #ruby
cofin has quit [Quit: cofin]
icco has quit [Read error: Operation timed out]
browndawg has quit [Read error: Connection reset by peer]
r0bby has joined #ruby
icco has joined #ruby
browndawg has joined #ruby
beilabs has joined #ruby
noyb has joined #ruby
girija has quit [Remote host closed the connection]
justsee has quit [Ping timeout: 256 seconds]
robbyoconnor has quit [Ping timeout: 264 seconds]
user_ has left #ruby [#ruby]
bradhe has joined #ruby
r0bby has quit [Ping timeout: 264 seconds]
justsee has joined #ruby
Inoperable is now known as Inoperabled
rafaelmoreira has joined #ruby
r0bby has joined #ruby
girija has joined #ruby
r0bby is now known as robbyoconnor
bradhe has quit [Ping timeout: 264 seconds]
tjbiddle has quit [Quit: tjbiddle]
rafaelmoreira_ has joined #ruby
ananthakumaran has joined #ruby
voidpirate has joined #ruby
hogeo_ has quit [Remote host closed the connection]
banjara has quit [Quit: Leaving.]
bricker`LA has quit [Read error: No route to host]
voidpirate has quit [Remote host closed the connection]
rafaelmoreira has quit [Ping timeout: 252 seconds]
rafaelmoreira_ is now known as rafaelmoreira
voidpirate has joined #ruby
shadoi has joined #ruby
hogeo has joined #ruby
ffio has quit [Ping timeout: 276 seconds]
rakl has joined #ruby
jpun has quit [Read error: Operation timed out]
yumingzhe has joined #ruby
rafaelmoreira_ has joined #ruby
buzzybron has joined #ruby
v0n has quit [Ping timeout: 276 seconds]
darkapex has quit [Ping timeout: 240 seconds]
rafaelmoreira has quit [Ping timeout: 256 seconds]
bricker`LA has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
rafaelmoreira has joined #ruby
Edward_ has joined #ruby
rafaelmoreira has quit [Client Quit]
JohnBat26 has joined #ruby
Edward_ is now known as ADSKJADDDDDDDDLA
<ADSKJADDDDDDDDLA> Need help quoting on a dev project, anybody have any ideas?
darkapex has joined #ruby
MistuhKurtz has joined #ruby
lyanchih has joined #ruby
timonv has joined #ruby
rafaelmoreira_ has quit [Ping timeout: 276 seconds]
eploko has joined #ruby
yumingzhe has left #ruby [#ruby]
Inoperabled is now known as Inoperable
eploko has quit [Client Quit]
ariedler has quit [Remote host closed the connection]
Senjai has joined #ruby
Senjai has joined #ruby
Senjai has quit [Changing host]
ndngvr has joined #ruby
darkapex has quit [Ping timeout: 264 seconds]
jpun has joined #ruby
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
codecop has joined #ruby
horsey has joined #ruby
ivanoats has quit [Remote host closed the connection]
darkapex has joined #ruby
darkapex has quit [Changing host]
darkapex has joined #ruby
ehaliewicz has joined #ruby
ybart has joined #ruby
thomasle_ has quit [Remote host closed the connection]
kofno has quit [Remote host closed the connection]
darkapex has quit [Ping timeout: 264 seconds]
<voidpirate> I am new to ruby what is "Quoting"?
banjara has joined #ruby
darkapex has joined #ruby
BeegPeeg00 has quit [Remote host closed the connection]
tjbiddle has joined #ruby
tjbiddle_ has joined #ruby
ADSKJADDDDDDDDLA has quit [Ping timeout: 256 seconds]
markalanevans has joined #ruby
igaiga has quit [Read error: Connection reset by peer]
tommyvyo has quit [Quit:]
pipework has quit [Remote host closed the connection]
darkapex has quit [Ping timeout: 260 seconds]
timkohrumel has joined #ruby
darkapex has joined #ruby
darkapex has quit [Changing host]
darkapex has joined #ruby
tjbiddle has quit [Ping timeout: 264 seconds]
tjbiddle_ is now known as tjbiddle
Kar- has joined #ruby
tjbiddle_ has joined #ruby
jbueza has quit [Quit: Leaving.]
fivethreeo has joined #ruby
BeegPeeg00 has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
Eaven has joined #ruby
bluOxigen has joined #ruby
fivethre1o has quit [Read error: Operation timed out]
eccstartup has quit [Quit: 离开]
darkapex has quit [Ping timeout: 240 seconds]
timkohrumel has quit [Ping timeout: 252 seconds]
Cultofmetatron has joined #ruby
MistuhKurtz has quit [Quit: sleeping]
tjbiddle has quit [Ping timeout: 264 seconds]
tjbiddle_ is now known as tjbiddle
Eaven has quit [Remote host closed the connection]
nhhagen has quit [Ping timeout: 276 seconds]
nhhagen has joined #ruby
banister`sleep has quit [Remote host closed the connection]
darkapex has joined #ruby
bricker`LA has quit [Ping timeout: 276 seconds]
MistuhKurtz has joined #ruby
icole has joined #ruby
bionhart has joined #ruby
kenneth has quit [Quit: kenneth]
crazymykl has quit [Read error: Connection reset by peer]
rickruby has joined #ruby
igaiga has joined #ruby
darkapex has quit [Ping timeout: 240 seconds]
beilabs has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Ping timeout: 270 seconds]
nari has quit [Ping timeout: 264 seconds]
bricker`LA has joined #ruby
ybart has quit [Quit: ybart]
darkapex has joined #ruby
Gooder has joined #ruby
ananthakumaran has joined #ruby
tjbiddle_ has joined #ruby
haxrbyte_ has quit [Ping timeout: 252 seconds]
tagrudev has joined #ruby
mercwithamouth has quit [Ping timeout: 260 seconds]
mercwithamouth has joined #ruby
Gooder` has quit [Ping timeout: 256 seconds]
ntus1017 has joined #ruby
darkapex has quit [Ping timeout: 264 seconds]
tjbiddle has quit [Ping timeout: 276 seconds]
tjbiddle_ is now known as tjbiddle
igaiga has quit [Remote host closed the connection]
danslo has quit [Ping timeout: 252 seconds]
workmad3 has joined #ruby
threesome has quit [Read error: Connection reset by peer]
danslo has joined #ruby
Cyrus has quit [Ping timeout: 252 seconds]
whowantstolivefo has joined #ruby
tomzx_mac has quit [Read error: Operation timed out]
ping-pong has quit [Ping timeout: 252 seconds]
<Mon_Ouie> Using quotes, usually around strings (e.g. "foo" and 'foo' — notice these two notations *are* different)
cj3kim has quit [Remote host closed the connection]
crazymykl has joined #ruby
<Mon_Ouie> (Unless it's supposed to be escaping?)
eaWPq4nU has joined #ruby
justsee has quit [Ping timeout: 260 seconds]
LucidDreamZzZz has quit [Remote host closed the connection]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
beilabs has joined #ruby
eldariof has joined #ruby
<bnagy> I think it's probably 'providing a quotation'
greenarrow|2 has joined #ruby
<bnagy> like 'I will build this for $X'
darkapex has joined #ruby
LucidDreamZzZz has joined #ruby
greenarrow|3 has quit [Ping timeout: 248 seconds]
lapinferoce has quit [Ping timeout: 264 seconds]
eaWPq4nU has quit [Ping timeout: 240 seconds]
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
workmad3 has quit [Read error: Connection reset by peer]
darkapex has quit [Ping timeout: 260 seconds]
cyong has quit [Quit: Leaving.]
davetherat has quit [Read error: Connection reset by peer]
davetherat has joined #ruby
jbueza has joined #ruby
hogeo has quit [Remote host closed the connection]
macmartine has joined #ruby
<voidpirate> I thought it meant something different?
<voidpirate> !help
<voidpirate> is their a bot in this room?
ping-pong has joined #ruby
Inoperable is now known as Inoperabled
bluOxigen has quit [Ping timeout: 276 seconds]
bluOxigen has joined #ruby
[dee] has joined #ruby
voidpirate has quit [Remote host closed the connection]
bricker`LA has quit [Read error: Connection reset by peer]
browndawg has quit [Ping timeout: 264 seconds]
darkapex has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
bricker`LA has joined #ruby
beilabs has quit [Ping timeout: 264 seconds]
hogeo has joined #ruby
freeayu has joined #ruby
macmartine has quit [Quit: Computer has gone to sleep.]
timonv has quit [Remote host closed the connection]
[dee] has left #ruby [#ruby]
ffio has joined #ruby
timonv has joined #ruby
CyberMaN has quit [Ping timeout: 260 seconds]
MistuhKurtz has quit [Quit: sleeping]
zigomir has joined #ruby
bricker`LA has quit [Quit: leaving]
kenneth has joined #ruby
devdazed has quit [Ping timeout: 264 seconds]
darkapex has quit [Ping timeout: 264 seconds]
drfreeze has quit [Ping timeout: 252 seconds]
wallerdev has quit [Quit: wallerdev]
hogeo has quit [Ping timeout: 264 seconds]
twoism has quit [Read error: Connection reset by peer]
noop has joined #ruby
<Mon_Ouie> >> "hello world"
<eval-in> Mon_Ouie => "hello world" (http://eval.in/31834)
<Mon_Ouie> He's the only one as far as I know
<Mon_Ouie> (Or "it")
Guga_ has quit [Ping timeout: 264 seconds]
ehaliewicz has quit [Ping timeout: 276 seconds]
obs has joined #ruby
kofno has joined #ruby
beilabs has joined #ruby
mmitchell has joined #ruby
hogeo has joined #ruby
MistuhKurtz has joined #ruby
ffio has quit [Quit: WeeChat 0.4.0]
CyberMaN has joined #ruby
teclator has joined #ruby
justsee has quit [Ping timeout: 266 seconds]
yacks has quit [Read error: Operation timed out]
drfreeze has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
devdazed has joined #ruby
mmitchell has quit [Ping timeout: 256 seconds]
Z_Mass has quit [Quit: Leaving]
ayaz has joined #ruby
_maes_ has quit [Ping timeout: 264 seconds]
darkapex has joined #ruby
nomenkun has joined #ruby
persand has joined #ruby
kofno has quit [Ping timeout: 264 seconds]
dash_ has joined #ruby
thesheff17 has quit [Ping timeout: 264 seconds]
yacks has joined #ruby
darkapex has quit [Ping timeout: 260 seconds]
BeegPeeg00 has quit [Remote host closed the connection]
atyz has joined #ruby
r0bglees0n has quit [Ping timeout: 260 seconds]
r0bglees0n has joined #ruby
beneggett has joined #ruby
hogeo has quit [Read error: Connection timed out]
hogeo has joined #ruby
sleetdrop has joined #ruby
visof has joined #ruby
visof has quit [Changing host]
visof has joined #ruby
cj3kim has joined #ruby
AgentWillyWonka has joined #ruby
beilabs has quit [Ping timeout: 264 seconds]
hogeo has quit [Read error: Connection reset by peer]
Nahra has quit [Ping timeout: 264 seconds]
hogeo has joined #ruby
pduin has joined #ruby
hogeo has quit [Remote host closed the connection]
Myconix has joined #ruby
sailias has quit [Quit: Leaving.]
darkapex has joined #ruby
darkapex has joined #ruby
lapinferoce has joined #ruby
osvico has quit [Ping timeout: 264 seconds]
ananthakumaran1 has joined #ruby
vlad_starkov has joined #ruby
Senjai has quit [Remote host closed the connection]
fphilipe has quit [Remote host closed the connection]
joshu has quit [Read error: Connection reset by peer]
ananthakumaran has quit [Ping timeout: 264 seconds]
Nahra has joined #ruby
ia___ has joined #ruby
haxrbyte has joined #ruby
haxrbyte_ has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
nomenkun has quit [Remote host closed the connection]
Eaven has joined #ruby
Jackneill has joined #ruby
beilabs has joined #ruby
vlad_starkov has quit [Ping timeout: 276 seconds]
danslo has quit [Ping timeout: 252 seconds]
haxrbyte has quit [Ping timeout: 264 seconds]
persand has quit [Quit: persand]
Emmanuel_Chanel has joined #ruby
hogeo has joined #ruby
dhruvasagar has joined #ruby
blaxter has joined #ruby
rippa has quit [Ping timeout: 240 seconds]
jarjar_prime has joined #ruby
Edward_ has joined #ruby
nari has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
leonidlm has joined #ruby
Zeeraw has joined #ruby
arietis has joined #ruby
huoxito has quit [Quit: Leaving]
Caldrin has joined #ruby
lapinferoce has quit [Read error: Connection reset by peer]
aganov has joined #ruby
gstamp has quit [Quit: Computer has gone to sleep.]
skroon has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
haxrbyte has joined #ruby
matchaw has joined #ruby
khushildep has quit [Quit: khushildep]
haxrbyte_ has quit [Read error: Connection reset by peer]
sie has joined #ruby
ij has quit [Read error: Operation timed out]
ffio has joined #ruby
felixjet has joined #ruby
sideshowcoder has quit [Read error: Operation timed out]
stonevil_ has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
stonevil has joined #ruby
dopie has joined #ruby
<dopie> hey all
<dopie> how do i list a filename.to_s ?
hogeo has quit [Read error: Connection reset by peer]
hogeo has joined #ruby
jprovazn has joined #ruby
noyb has quit [Ping timeout: 260 seconds]
tjbiddle_ has joined #ruby
stonevil has quit [Write error: Connection reset by peer]
stonevil_ has joined #ruby
mjburgess has joined #ruby
haxrbyte has quit [Remote host closed the connection]
haxrbyte_ has joined #ruby
sie has quit [Ping timeout: 264 seconds]
swex has quit [Ping timeout: 264 seconds]
sideshowcoder has joined #ruby
tjbiddle has quit [Ping timeout: 264 seconds]
tjbiddle_ is now known as tjbiddle
Edward_ has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
timonv has quit [Remote host closed the connection]
eldariof has quit [Ping timeout: 276 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
Tobarja has joined #ruby
vlad_sta_ has joined #ruby
phasma has quit [Ping timeout: 260 seconds]
vlad_st__ has joined #ruby
<Tobarja> what would be the most natural way to `return` a string like this from a method? "#{self.begin}#{self.exclude_end? ? '...' : '..'}#{self.end}"
decentrality has joined #ruby
Alina-malina has quit [Ping timeout: 240 seconds]
<Tobarja> or, if you saw that as the entirety of a method, would you barf? :D
sie has joined #ruby
sie has quit [Changing host]
sie has joined #ruby
jastix has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
stonevil_ has quit [Remote host closed the connection]
vlad_sta_ has quit [Ping timeout: 264 seconds]
freeayu__ has joined #ruby
Eaven has quit [Read error: Connection reset by peer]
haxrbyte_ has quit [Remote host closed the connection]
haxrbyte has joined #ruby
Eaven has joined #ruby
ybart has joined #ruby
freeayu has quit [Ping timeout: 264 seconds]
<buzzybron> hi i did a gem env on my local machine
swex has joined #ruby
<buzzybron> and the are two gem paths printed, how do i edit the 2nd gem path?
banjara has quit [Quit: Leaving.]
hogeo has quit [Remote host closed the connection]
<shevy> hmm
<shevy> what language shall I combine with ruby?
<Zeeraw> Depends...
<buzzybron> combine?
<shevy> yeah, like ruby + java
<Zeeraw> Also, yeah, what exactly do you mean with combine?
<shevy> but I hate java so that is difficult
dfdf has joined #ruby
timonv has joined #ruby
<Zeeraw> Still, what do you mean with combine?
dchoi has joined #ruby
<shevy> well, I could combine ruby with cobol but that would not seem too useful and I have only limited time, yet I feel as if I don't learn too much in ruby anymore
arya_ has joined #ruby
pipework has joined #ruby
<Zeeraw> My question stands.
<buzzybron> lol
<shevy> can you just answer?
* Zelest got something else that stands... :D
<shevy> omg...
<Zelest> *ahem*
alexmreis has joined #ruby
<shevy> Tobarja it is very unusual to use lots of "self." within your class
<Zeeraw> Wel shevy, what exactly do you mean by combine languages?
<shevy> "#{self.begin}#{self.exclude_end? " hmmm
<Zeeraw> For education?
<shevy> Zeeraw something that I would learn next, but where the time spent learning it is useful
<Zeeraw> JavaScript.
<shevy> if I would learn cobol, I dont think it would be worth the tradeoff of learning it (hours spent?)
GeissT_ has joined #ruby
<Zeeraw> JS is not very fun, but it's very useful.
tonini has joined #ruby
alexmreis has left #ruby [#ruby]
<Zeeraw> And if you're building actual things with ruby, you're most likely going to run in to quite a lot of JavaScript.
<shevy> I was afraid of such an answer :(
<shevy> I hate javascript too... not as much as java though
<Zeeraw> You could also go learn some C.
<Zeeraw> It's always good to know how things work closer to the metal.
GeissT has quit [Ping timeout: 256 seconds]
<buzzybron> whats the convo about
<buzzybron> i'm lost, what is this combine languages
<Zeeraw> About what language he should "learn next"
<buzzybron> ah
<Zeeraw> combine is the wrong word.
<buzzybron> i see
jarjar_prime has quit [Quit: Sleep time.]
<buzzybron> javascript is kinda fun
krombr has joined #ruby
<buzzybron> python
<hoelzro> (vote for C)++
<buzzybron> or some more diff
<buzzybron> c#
<buzzybron> java, c, obj c
<Zeeraw> Actually
<buzzybron> oh i think obj c is cool
<Zeeraw> Objective-C
<Zeeraw> Go
<hoelzro> Go is...interesting.
<buzzybron> haven't tried go though
<buzzybron> i see it similer to python / ruby?
Soliah has quit [Quit: Soliah]
<hoelzro> Go is a statically typed language with a very pythonic feel (imo)
<buzzybron> so static typed python? lol
<nightfly> I often get the feeling that when people say "pythonic" they mean "sane".
<hoelzro> hmm
<hoelzro> that's not what I mean when I say it =)
benlieb has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
timmow has joined #ruby
<shevy> hehe
GeissT_ has quit [Quit: AdiIRC is updating to v1.9.1 Beta Build (290513) 32 Bit]
GeissT has joined #ruby
justsee has quit [Ping timeout: 252 seconds]
miclen has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
alup has quit [Quit: Leaving]
alup has joined #ruby
chandankumar has joined #ruby
ephemerian has joined #ruby
falood has quit [Remote host closed the connection]
Coffers has joined #ruby
benlieb has quit [Quit: benlieb]
beilabs has quit [Ping timeout: 264 seconds]
browndawg has joined #ruby
hogeo has joined #ruby
nari has quit [Ping timeout: 264 seconds]
hogeo has quit [Remote host closed the connection]
telling has joined #ruby
telling has joined #ruby
telling has quit [Changing host]
ntus1017 has quit [Remote host closed the connection]
threesome has joined #ruby
igaiga has joined #ruby
<hoelzro> I think I may need to try Subtle WM
daniel_- has joined #ruby
<hoelzro> Awesome's config breakage pisses me off too much
dnyy has quit [Ping timeout: 260 seconds]
DaniG2k has joined #ruby
rcsheets has quit [Ping timeout: 260 seconds]
ferdev has quit [Quit: ferdev]
icole has quit [Remote host closed the connection]
slainer68 has joined #ruby
niceguyjames has joined #ruby
SeanTAllen has quit [Ping timeout: 241 seconds]
slainer6_ has joined #ruby
beilabs has joined #ruby
slainer__ has joined #ruby
yeban has quit [Ping timeout: 252 seconds]
SeanTAllen has joined #ruby
jbpros has joined #ruby
octarine has quit [Ping timeout: 252 seconds]
krombr has quit [Remote host closed the connection]
igaiga has quit [Read error: Connection reset by peer]
slainer68 has quit [Ping timeout: 264 seconds]
slainer6_ has quit [Read error: Operation timed out]
noxoc has joined #ruby
dchoi has quit [Remote host closed the connection]
bamdad has joined #ruby
senayar has joined #ruby
nemesit|- has quit [Quit: ZNC - http://znc.in]
igaiga has joined #ruby
nemesit|znc has joined #ruby
xardas has joined #ruby
CyberMaN has quit [Read error: Connection reset by peer]
CyberMaN has joined #ruby
CyberMaN has quit [Changing host]
CyberMaN has joined #ruby
danslo has joined #ruby
JohnBat26 has quit [Remote host closed the connection]
elaptics`away is now known as elaptics
arya_ has quit [Ping timeout: 276 seconds]
arya_ has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
noname001 has joined #ruby
chichou has quit [Remote host closed the connection]
troessner has joined #ruby
nari has joined #ruby
chichou has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
jgrevich has quit [Remote host closed the connection]
rcsheets_ has joined #ruby
nomenkun has joined #ruby
LucidDreamZzZz has quit [Remote host closed the connection]
eaWPq4nU has joined #ruby
ferdev has joined #ruby
ntus1017 has joined #ruby
pipework has quit [Remote host closed the connection]
Cultofmetatron has quit [Remote host closed the connection]
fixl has joined #ruby
dopie has quit [Ping timeout: 256 seconds]
mikecmpbll has joined #ruby
Criztian has joined #ruby
daniel_- has quit [Ping timeout: 252 seconds]
slainer__ has quit [Ping timeout: 276 seconds]
mad_hatter_ has joined #ruby
mad_hatter_ has quit [Client Quit]
Trynemjoel has joined #ruby
MistuhKurtz has quit [Quit: ps]
alienvenom has quit [Ping timeout: 256 seconds]
khushildep has joined #ruby
hogeo has joined #ruby
slainer68 has joined #ruby
pipework has joined #ruby
Al_ has joined #ruby
<mikecmpbll> obviously class is a reserved word, but can I have a symbol called :class?
<mikecmpbll> nvm, stupid question of course i can.
clocKwize has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
niceguyjames has quit [Quit: Computer has gone to sleep.]
hogeo has quit [Ping timeout: 276 seconds]
rickruby has quit [Remote host closed the connection]
io_syl has quit [Quit: Computer has gone to sleep.]
igaiga has quit [Read error: Connection reset by peer]
darthdeus has joined #ruby
daniel_- has joined #ruby
camilasan has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
Astral_ has joined #ruby
robbyoconnor has joined #ruby
slainer6_ has joined #ruby
emergion has joined #ruby
alienvenom has joined #ruby
ttt has quit [Remote host closed the connection]
staafl has joined #ruby
slainer68 has quit [Ping timeout: 260 seconds]
persand has joined #ruby
Astral__ has quit [Ping timeout: 264 seconds]
decentrality has quit [Quit: decentrality]
pipework has quit [Remote host closed the connection]
Trynemjoel has quit [Ping timeout: 245 seconds]
boxmein has joined #ruby
ttt has joined #ruby
arya_ has quit [Ping timeout: 256 seconds]
pipework has joined #ruby
noop has quit [Ping timeout: 276 seconds]
arya has joined #ruby
ntus1017 has quit [Remote host closed the connection]
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
danslo_ has joined #ruby
danslo has quit [Ping timeout: 256 seconds]
danslo_ is now known as danslo
slainer68 has joined #ruby
monkegjinni has joined #ruby
Cultofmetatron has joined #ruby
slainer6_ has quit [Ping timeout: 252 seconds]
viszu has joined #ruby
Cultofmetatron has quit [Remote host closed the connection]
horsey has quit [Quit: leaving]
emergion has quit [Quit: Computer has gone to sleep.]
danslo has quit [Read error: Connection reset by peer]
Jackneill has quit [Remote host closed the connection]
Neomex has joined #ruby
igaiga has joined #ruby
Neomex has quit [Client Quit]
icole has joined #ruby
gyre007 has joined #ruby
LennyLinux has joined #ruby
khushildep has quit [Quit: getting the flock() outta here]
khushildep has joined #ruby
niceguyjames has joined #ruby
cj3kim has quit [Remote host closed the connection]
lewix has quit [Remote host closed the connection]
Cultofmetatron has joined #ruby
huttan has joined #ruby
Jackneill has joined #ruby
Jackneill has quit [Changing host]
Jackneill has joined #ruby
danslo has joined #ruby
razi has joined #ruby
Zeeraw has quit [Ping timeout: 264 seconds]
noop has joined #ruby
icole has quit [Ping timeout: 264 seconds]
spider-mario has joined #ruby
viszu has quit [Quit: Leaving.]
cj3kim has joined #ruby
Cultofmetatron has quit [Remote host closed the connection]
Spami has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
phasma has joined #ruby
DaniG2k has quit [Quit: Leaving.]
mikewintermute has joined #ruby
machuga|away is now known as machuga
ksmth has joined #ruby
pandawarrior has joined #ruby
pandawarrior has quit [Client Quit]
monkegjinni has quit [Remote host closed the connection]
sayan has joined #ruby
noop has quit [Ping timeout: 262 seconds]
gasbakid has joined #ruby
noop has joined #ruby
xardas has quit [Changing host]
xardas has joined #ruby
nari has quit [Ping timeout: 264 seconds]
arya has quit [Ping timeout: 264 seconds]
prk has joined #ruby
Zeeraw has joined #ruby
arya has joined #ruby
[[mandrix]] has quit [Ping timeout: 252 seconds]
dash_ has quit [Quit: Time to beer :)]
Alina-malina has joined #ruby
dash_ has joined #ruby
miclen has quit [Ping timeout: 264 seconds]
visof has quit [Quit: Leaving]
visof has joined #ruby
visof has quit [Changing host]
visof has joined #ruby
jurbat has quit [Quit: Computer has gone to sleep.]
buzzybron has left #ruby [#ruby]
lewis has joined #ruby
mercwithamouth has quit [Ping timeout: 264 seconds]
atyz has quit [Quit: Leaving...]
cj3kim has quit [Remote host closed the connection]
ArchBeOS has quit [Quit: Leaving]
arya has quit [Ping timeout: 264 seconds]
GeissT has quit [Ping timeout: 260 seconds]
arya has joined #ruby
dfdf has quit [Remote host closed the connection]
Michael__ has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
dnyy has joined #ruby
zeel_ has joined #ruby
ExxKA has joined #ruby
Tobarja has quit [Quit: Leaving.]
Spami has quit [Quit: This computer has gone to sleep]
dfdf has joined #ruby
octarine has joined #ruby
Spooner has joined #ruby
eploko has joined #ruby
yeban has joined #ruby
igaiga has quit [Remote host closed the connection]
pipework has quit [Remote host closed the connection]
bionhart has quit [Remote host closed the connection]
monkegjinni has joined #ruby
kf8a has quit [Quit: Computer has gone to sleep.]
kf8a has joined #ruby
emergion has joined #ruby
rakl has quit [Quit: sleeping]
obs has quit [Quit: Konversation terminated!]
<shevy> hoelzro that is good isn't it? I mean that you take subtle... it's written in ruby, so it should be better
obs has joined #ruby
<hoelzro> I don't think that it being written in Ruby guarantees quality...
<hoelzro> the only problem I have with Awesome is that they break configs so often
monkegjinni has quit [Read error: Connection reset by peer]
<shevy> Zeeraw I think I'll indeed go with javascript... I dont like it at all, but I find myself constantly use websites, and my whole local knowledgebase is written in ruby and also makes use of www
Al_ has quit [Quit: Al_]
arya has quit [Ping timeout: 256 seconds]
Inoperabled is now known as Inoperable
chandankumar has quit [Ping timeout: 276 seconds]
monkegjinni has joined #ruby
Inoperable is now known as Inoperabled
Xeago has joined #ruby
arya has joined #ruby
Hanmac2 has joined #ruby
eploko_ has joined #ruby
vlad_st__ has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 264 seconds]
eploko has quit [Ping timeout: 264 seconds]
corehook_ has quit [Ping timeout: 264 seconds]
eploko_ is now known as eploko
gasbakid_ has joined #ruby
corehook_ has joined #ruby
gasbakid has quit [Ping timeout: 264 seconds]
nfk has joined #ruby
gasbakid_ has quit [Quit: Quitte]
browndawg has quit [Ping timeout: 264 seconds]
monkegjinni has quit [Read error: Connection reset by peer]
bionhart has joined #ruby
monkegjinni has joined #ruby
joshu has joined #ruby
<joshu> hi
gasbakid has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
kf8a has quit [Quit: Computer has gone to sleep.]
tonini has joined #ruby
monkegjinni has joined #ruby
Guga_ has joined #ruby
chandankumar has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
skroon has quit [Ping timeout: 260 seconds]
<joonty> hi :)
monkegjinni has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
jnoob22 has joined #ruby
bamdad has quit [Quit: bamdad]
prk` has joined #ruby
dawkirst has quit [Ping timeout: 240 seconds]
monkegjinni has quit [Read error: Connection reset by peer]
lyanchih has quit [Quit: lyanchih]
monkegjinni has joined #ruby
atyz has joined #ruby
bionhart has quit [Remote host closed the connection]
prk has quit [Ping timeout: 252 seconds]
meiwxx has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
atyz has quit [Ping timeout: 252 seconds]
jurbat has joined #ruby
keanehsiao has quit [Quit: Leaving...]
sayan has quit [Read error: Connection reset by peer]
DaniG2k has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
monkegjinni has joined #ruby
bamdad has joined #ruby
l33 has joined #ruby
dawkirst has joined #ruby
l33 has quit [Remote host closed the connection]
pkh has quit [Quit: Leaving]
tonini has quit [Ping timeout: 248 seconds]
dr0p has joined #ruby
cj3kim has joined #ruby
<dr0p> hello, where can I find ruby 1.9.3 or 2.0 grammar ?
tonini has joined #ruby
danslo has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby
corehook__ has joined #ruby
Gooder has quit [Read error: Connection reset by peer]
jnoob22_ has joined #ruby
monkegjinni has quit [Remote host closed the connection]
Gooder has joined #ruby
cj3kim has quit [Ping timeout: 276 seconds]
lunarjar has quit [Ping timeout: 240 seconds]
<joonty> dr0p: in bnf form?
kevinykchan has quit [Read error: No route to host]
<joonty> or more casual?
jnoob22 has quit [Ping timeout: 264 seconds]
danslo has joined #ruby
corehook_ has quit [Ping timeout: 252 seconds]
sleetdrop has quit [Ping timeout: 256 seconds]
<dr0p> joonty, can be bnf :)
<dr0p> joonty, but it's all about ver. 1.4.6
<dr0p> quite old
lyanchih has joined #ruby
<Mon_Ouie> Well, you could check parse.y from the source code — but there's a lot of noise there
sie has left #ruby ["WeeChat 0.3.9.2"]
<joonty> hmm yeh
northelks has quit [Read error: Connection reset by peer]
ntus1017 has joined #ruby
chase-work has joined #ruby
<dr0p> Mon_Ouie, will check source code
<joonty> or you can take a look at ruby spec, which are spec tests for the ruby language
lunarjar has joined #ruby
kf8a has joined #ruby
<dr0p> I should handle with my issue now. thanks
postmodern has quit [Quit: Leaving]
robustus has quit [Ping timeout: 248 seconds]
niceguyjames has quit [Quit: Computer has gone to sleep.]
jbpros has quit [Quit: jbpros]
robustus has joined #ruby
arya has quit [Ping timeout: 252 seconds]
joschi_ is now known as joschi
persand has quit [Quit: persand]
northelks has joined #ruby
Naeblis has quit [Ping timeout: 260 seconds]
niftylettuce has quit [Ping timeout: 260 seconds]
`brendan has joined #ruby
persand has joined #ruby
arya has joined #ruby
keanehsiao has joined #ruby
ferdev has quit [Ping timeout: 252 seconds]
Al_ has joined #ruby
Qwak has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
krz has quit [Quit: krz]
matchaw has quit [Ping timeout: 264 seconds]
hogeo has joined #ruby
Astral_ has quit [Ping timeout: 264 seconds]
bobdobbs has joined #ruby
charliesome_ has joined #ruby
Vivekananda has quit [Read error: Operation timed out]
keanehsiao has quit [Ping timeout: 256 seconds]
kf8a has quit [Quit: Computer has gone to sleep.]
decentrality has joined #ruby
monkegjinni has joined #ruby
prk` has quit [Ping timeout: 276 seconds]
<bobdobbs> I'm running ruby on linux, so I can use sass from the command line. I recently reinstalled ruby. Now, when I issue the commend 'sass', I get " bad interpreter: /usr/bin/ruby1.8: no such file or directory"
Hanmac2 has quit [Read error: Connection reset by peer]
<bobdobbs> however, if I type 'ruby --version' from the commandline, I get the version.
charliesome_ is now known as charliesome
Hanmac has joined #ruby
<bobdobbs> How do I tell sass where the ruby binary is?
jokke has quit [Quit: WeeChat 0.4.0]
ExxKA has quit [Quit: This computer has gone to sleep]
falood has joined #ruby
pi3r has joined #ruby
prk has joined #ruby
pagios has joined #ruby
kofno has joined #ruby
<pagios> hello community, trying to adjust time using ntpdate executed from ruby: fork do `/usr/sbin/ntpdate -s ntp.ubuntu.com` end ; is not changing time any idea? from command line it works fine
falood has quit [Remote host closed the connection]
<shevy> bobdobbs you probably use debian
miclen has joined #ruby
<shevy> bobdobbs one fix would be to symlink ruby1.8. to ruby
<bobdobbs> could to
<bobdobbs> but that's a dirty
<shevy> yes
<bobdobbs> dirty fix
<shevy> perhaps the sass author is a noob
<bobdobbs> yeah?
<shevy> if the ruby1.8 is hardcoded, yes
DaniG2k has left #ruby [#ruby]
<bobdobbs> (not that I disagree)
<shevy> if it was somehow autogenerated then it may not be the fault of the author
Loaft has joined #ruby
<bobdobbs> oh fuck, it is
<shevy> what OS do you use?
<bobdobbs> I'm looking at the top of the sass binary now
<bobdobbs> first line #!/usr/bin/ruby1.8
<shevy> hehe
<bobdobbs> *facepalm*
<shevy> lemme see for myself too ...
redstar1_ has joined #ruby
<shevy> hmm no
<bobdobbs> no?
<shevy> I had it generate for me
<bobdobbs> what are you seeing?
ArchBeOS has joined #ruby
ArchBeOS has quit [Changing host]
ArchBeOS has joined #ruby
ttt has quit [Remote host closed the connection]
<shevy> and my shebang is: /Programs/Ruby/1.8.7p370/bin/ruby
<shevy> which is the correct one for my system, the name of the file in question is "sass"
<bobdobbs> damnit, I can't remember how I installed sass
<shevy> I am very sure that this is auto-generated on your system
tonini has joined #ruby
<shevy> I did "gem install sass"
<bobdobbs> oh yeah. that's how I did it
<shevy> sass version sass-3.2.9
<bobdobbs> maybe I did that before I ripped out ruby and reinstalled it.
<bobdobbs> damn
<bobdobbs> wait
<bobdobbs> I think I updated my gems after I reinstalled ruby
<shevy> updated how?
<shevy> debian modified gems
<bobdobbs> fuuuuuuuu
<bobdobbs> can't remember how.
atyz has joined #ruby
<bobdobbs> I only know just enough ruby to get sass running
TheDick has joined #ruby
<pagios> is this a correct way of running this command d ? `/usr/sbin/ntpdate -s ntp.ubuntu.com &> /tmp/ntp.log` or need to use some " " ?
<shevy> you always need to have a very clear path ahead, it can be a problem if you mix different ruby versions, different locations, different package managers etc...
<bobdobbs> but I shouldn't be using a debian version of gems, cos I'm using rbenv
<shevy> don't know the command ntpdate at all
Vivekananda has joined #ruby
<shevy> aha perhaps you have several ruby versions bobdobbs
<shevy> and one gave back /usr/bin/ruby1.8 based on some wrong check
<bobdobbs> shevy: I'm pretty sure I ripped out everything before I installed via rbenv
<shevy> not sure, there is also /var/lib on debian-based systems
<shevy> and /usr/local/*
matchaw has joined #ruby
<bobdobbs> using ruby2.0, how should I update my gems?
<shevy> that depends on how you installed it
apeiros_ has joined #ruby
<bobdobbs> hmmm
<shevy> I compile everything from source. I usually compile the latest, then check for the gem version in use, and go to rubygems if I must download a new version
<shevy> rubygems.org/pages/download
predator217 has quit [Ping timeout: 264 seconds]
<bobdobbs> hmmm
monkegjinni has quit [Read error: Connection reset by peer]
predator117 has joined #ruby
atyz has quit [Ping timeout: 246 seconds]
<pagios> ok saw source of problem: Error resolving ntp.ubuntu.com: Name or service not known (-2)
<pagios> even though i am setting up an ip and a namserver before that line
Naeblis has joined #ruby
<pagios> ping ntp.ubuntu.com works fine from command lein
monkegjinni has joined #ruby
fridim_ has joined #ruby
<bobdobbs> ok... thinking what my next step is...
apeiros has quit [Ping timeout: 264 seconds]
obs has quit [Quit: Konversation terminated!]
bamdad has quit [Quit: bamdad]
jbpros has joined #ruby
yshh has quit [Remote host closed the connection]
miclen has quit [Ping timeout: 256 seconds]
arya_ has joined #ruby
arya has quit [Ping timeout: 256 seconds]
arya_ is now known as arya
zastern has joined #ruby
mmitchell has joined #ruby
obs has joined #ruby
JustinAiken has joined #ruby
<bobdobbs> well... 'gem update' appears to be doing something
jbpros_ has joined #ruby
<shevy> hehe
<shevy> russian roulette
<bobdobbs> yeah?
<bobdobbs> what am I risking?
<shevy> dunno, let's wait and see what happens :D
<bobdobbs> damn. sass still wants the old version of ruby
<bobdobbs> this makes me sad
<shevy> a warrior must walk fearlessly into a battle
<bobdobbs> hehe
Spami has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
<shevy> well
<bobdobbs> this warrior will soon lose his remaining hair
<ChristianS> shevy: and die
<shevy> try to find out what "ruby" versions you all have on your system
<shevy> find / -name ruby
<bobdobbs> I'm pretty sure I've just got 2.0
<shevy> should work
<bobdobbs> ok
kf8a has joined #ruby
<shevy> no I mean, all "ruby" pointers
<shevy> you probably have at least one in your HOME directory
<shevy> and perhaps you have more than one gem version
<bobdobbs> hmmmm
jbpros has quit [Ping timeout: 252 seconds]
jbpros_ is now known as jbpros
<shevy> on debian, one may have gem and gem1.8, and sometimes even symlinks into /etc/alternatives/
<bobdobbs> I'm not doing ruby the debian/ubuntu way
l33 has joined #ruby
<bobdobbs> too much breakage
rockets has quit [Ping timeout: 276 seconds]
iamjarvo has joined #ruby
<bobdobbs> too many tears
Vivekananda has quit [Ping timeout: 246 seconds]
k610 has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
<bobdobbs> hmmmm
<k610> ruby doesn't find a gem when i require a file that requires a gem
mmitchell has quit [Ping timeout: 256 seconds]
<bobdobbs> well, apparently I've got a metasploit install that I'd forgotten about
zirpu has left #ruby [#ruby]
<bobdobbs> oh fuck
<bobdobbs> the ruby executably is being called from a directory called .rvm
<bobdobbs> damn
niklasb has joined #ruby
<bobdobbs> I thought I'd torn out rvm
monkegjinni has joined #ruby
<bobdobbs> but apart from the install in my metasploit directory, it's the only ruby executable that I can see.
devoldmx3 has joined #ruby
ksmth has quit []
yalue has joined #ruby
cjs226 has quit [Ping timeout: 276 seconds]
Mattx has joined #ruby
kf8a has quit [Quit: Computer has gone to sleep.]
devoldmx has quit [Ping timeout: 264 seconds]
mark_locklear has joined #ruby
<bobdobbs> fuck this confusing shit. I'll just use a symlink
corehook__ has quit [Quit: Leaving]
kf8a has joined #ruby
niceguyjames has joined #ruby
ioNull has quit [Ping timeout: 264 seconds]
Matip has quit [Ping timeout: 264 seconds]
monkegjinni has quit [Read error: Connection reset by peer]
ioNull has joined #ruby
<k610> is it possible that i cannot use require 'agem' once i am using bundler ?
monkegjinni has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
rcsheets_ is now known as rcsheets
kf8a has quit [Client Quit]
atno has quit [Ping timeout: 252 seconds]
niklasb has quit [Ping timeout: 264 seconds]
tonini_ has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
obs has quit [Quit: Konversation terminated!]
Alina-malina has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
bobdobbs has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
ferdev has joined #ruby
devoldmx3 has quit [Ping timeout: 252 seconds]
osvico has joined #ruby
monkegjinni has joined #ruby
<r0bglees0n> wouldn't it be awesome if you could say git.develop.klass.ancestors - git.master.klass.ancestors
tonini has quit [Ping timeout: 248 seconds]
monkegjinni has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
monkegjinni has joined #ruby
Caelum has quit [Read error: Operation timed out]
Caelum has joined #ruby
iamjarvo has quit [Quit: Leaving.]
<r0bglees0n> k610: yup, it is, you can only use gems & their dependencies declared in your gemfile after bundler has been setup.
devoldmx has quit [Read error: Connection reset by peer]
devoldmx3 has joined #ruby
k610 has quit [Read error: Connection reset by peer]
cofin has joined #ruby
k610 has joined #ruby
igaiga has joined #ruby
obs has joined #ruby
monkegji_ has joined #ruby
<k610> sry some answered me and my client got killed + irclogger doesn't have #ruby
justsee has quit [Ping timeout: 260 seconds]
persand has quit [Quit: persand]
monkegjinni has quit [Ping timeout: 256 seconds]
monkegji_ has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
slainer68 has quit []
atno has joined #ruby
slainer68 has joined #ruby
devoldmx3 has quit [Ping timeout: 276 seconds]
hogeo has quit [Remote host closed the connection]
cofin has quit [Quit: cofin]
persand has joined #ruby
Guedes0 has joined #ruby
justsee has quit [Ping timeout: 246 seconds]
devoldmx has joined #ruby
matchaw has quit [Ping timeout: 256 seconds]
ryannielson has joined #ruby
hogeo has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
matchaw has joined #ruby
SeySayux has quit [Ping timeout: 248 seconds]
monkegjinni has joined #ruby
hogeo has quit [Remote host closed the connection]
Villadelfia has quit [Ping timeout: 256 seconds]
noname001 has quit [Remote host closed the connection]
monkegjinni has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
monkegji_ has joined #ruby
arya has quit [Ping timeout: 264 seconds]
drfreeze_ has joined #ruby
jcromartie has joined #ruby
noname001 has joined #ruby
nerocrux has joined #ruby
monkegji_ has quit [Read error: Connection reset by peer]
monkegjinni has quit [Read error: No route to host]
Guedes has quit [Disconnected by services]
Guedes0 is now known as Guedes
monkegjinni has joined #ruby
Guedes has quit [Changing host]
Guedes has joined #ruby
Guedes0 has joined #ruby
drfreeze has quit [Ping timeout: 260 seconds]
miclen has joined #ruby
arya has joined #ruby
sheeny has joined #ruby
Lubinski has joined #ruby
niceguyjames has quit [Ping timeout: 246 seconds]
<sheeny> Hi everyone how do I set my ruby version? Im using rbenv and have just installed ruby 2.0.0-p195
<sheeny> csheen~$ rbenv version 2.0.0-p195 (set by /Users/csheen/.rbenv/version)
<sheeny> csheen~$ ruby -v ruby 1.9.3p385 (2013-02-06 revision 39114) [x86_64-darwin12.2.1]
viszu has joined #ruby
SeySayux has joined #ruby
<Spooner> sheeny: rbenv global 2.0.0-p195
iamjarvo has joined #ruby
Villadelfia has joined #ruby
<sheeny> Spooner: I have done that, and I did rbenv rehash
<sheeny> but ruby -v still says 1.9.2
Lubinski has quit [Read error: Connection reset by peer]
Banistergalaxy has quit [Ping timeout: 264 seconds]
lyanchih has quit [Quit: lyanchih]
machuga has quit [Excess Flood]
machuga has joined #ruby
machuga has quit [Max SendQ exceeded]
<pagios> question, how can i overwrite the last 8 lines of a file? test_lines[-1] overwrites the last tine, burt test_lines[-8] does not overwrite it actually appends
atyz has joined #ruby
<pagios> line*
monkegjinni has quit [Read error: Connection reset by peer]
machuga has joined #ruby
<Spooner> pagios, test_lines[-8..-1] = whatever
<pagios> lovely
monkegjinni has joined #ruby
Banistergalaxy has joined #ruby
atyz has quit [Read error: Connection reset by peer]
<pagios> Files do not need to be closed in ruby right
atyz has joined #ruby
_veer has quit [Ping timeout: 264 seconds]
<Spooner> They don't if you open them with a block/.
<Spooner> e.g. File.open("bleh.txt") {|f| } # Is auto-closed for you.
slainer6_ has joined #ruby
<Spooner> f = File.open("bleh.txt") isn't auto-closed. You need to actually f.close yourself.
breakingthings has joined #ruby
<Spooner> pagios, Odd, it works fine for me.
geekbri has joined #ruby
F1skr has joined #ruby
<pagios> /var/www/myapp.rb:73:in `[]=': -8..-1 out of range (RangeError)
iamjarvo has quit [Ping timeout: 276 seconds]
sheeny has quit [Quit: Page closed]
<pagios> ignore it
<Spooner> Yeah, if the file is too short, it will fail ;)
jurbat has quit [Ping timeout: 276 seconds]
<Spooner> Or rather, the Array is too small.
slainer68 has quit [Ping timeout: 276 seconds]
alexwh has joined #ruby
slava_dp has joined #ruby
slainer68 has joined #ruby
fuzzyhorns has joined #ruby
visof has quit [Read error: Connection reset by peer]
<slava_dp> hey, what's the actual point in having both proc and lambda, apart from some subtle differences?
atyz has quit [Ping timeout: 252 seconds]
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
ttt has joined #ruby
<tobiasvl> well, what's the point of having both methods and blocks?
<bnagy> wow, you are leet, you ask AND answer your own questions!
osvico has quit []
<hoelzro> I found a great post on this...
slainer6_ has quit [Ping timeout: 256 seconds]
axl_ has joined #ruby
kf8a has joined #ruby
nezumi has quit [Ping timeout: 252 seconds]
tvw has joined #ruby
jds_ has joined #ruby
Coolhand has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
axl_ has quit [Client Quit]
<hoelzro> dammit
axl_ has joined #ruby
niceguyjames has joined #ruby
cjs226 has joined #ruby
rippa has joined #ruby
obs has quit [Remote host closed the connection]
ttt has quit [Ping timeout: 276 seconds]
obs has joined #ruby
niceguyjames has quit [Client Quit]
headius has joined #ruby
ExxKA has joined #ruby
mercwithamouth has joined #ruby
justsee has quit [Ping timeout: 276 seconds]
Coolhand has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Vert has joined #ruby
yshh has joined #ruby
ninegrid has quit [Ping timeout: 246 seconds]
jlast has joined #ruby
thetristan has joined #ruby
Lubinski has joined #ruby
codecop has quit [Remote host closed the connection]
jurbat has joined #ruby
<joshu> hi anyone familiar with mail gem enough to be able to help me out with my question on stack overflow http://stackoverflow.com/questions/16821538/use-mail-gem-to-change-to-header-and-deliver
skattyadz has joined #ruby
A124 has quit [Read error: Operation timed out]
yshh has quit [Ping timeout: 256 seconds]
jgarvey has joined #ruby
bluOxigen has quit [Ping timeout: 260 seconds]
codecop has joined #ruby
chase-work has quit [Quit: Textual IRC Client: www.textualapp.com]
ffio_ has joined #ruby
<Spooner> joshu, Sure you can't just modify the original mail's from and to and deliver it?
zigomir has quit [Quit: zigomir]
ffio has quit [Ping timeout: 264 seconds]
zigomir has joined #ruby
<joshu> Spooner I'm not sure..been experimenting with say @mail.to = "new address" which when I do @mail.to_s show's the new TO but not sure about delivering it after that
awc737 has quit [Ping timeout: 240 seconds]
<joshu> brb
vlad_starkov has quit [Remote host closed the connection]
tk_ has joined #ruby
<Spooner> I am just guessing. I've only used Pony before (which wraps Mail, I think).
ninegrid has joined #ruby
vlad_starkov has joined #ruby
jbpros has quit [Quit: jbpros]
jerius has joined #ruby
GeissT has joined #ruby
maloik_ is now known as maloik
tomzx_mac has joined #ruby
mercwithamouth has quit [Ping timeout: 246 seconds]
Ortuna has joined #ruby
DestinyAwaits has joined #ruby
niftylettuce has joined #ruby
nerocrux has quit [Remote host closed the connection]
DestinyAwaits has quit [Max SendQ exceeded]
ariedler has joined #ruby
DestinyAwaits has joined #ruby
DestinyAwaits has joined #ruby
DestinyAwaits has quit [Changing host]
Kricir has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 252 seconds]
Ortuna has quit [Client Quit]
cba has joined #ruby
blaxter has quit [Ping timeout: 260 seconds]
Kricir has joined #ruby
Vivekananda has joined #ruby
devoldmx3 has joined #ruby
sambao21 has joined #ruby
io_syl has joined #ruby
fridim_ has quit [Ping timeout: 264 seconds]
slainer6_ has joined #ruby
gasbakid has quit [Read error: Connection reset by peer]
_nitti has joined #ruby
devoldmx3 has quit [Client Quit]
jds_ has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 256 seconds]
slainer__ has joined #ruby
monkegjinni has quit [Ping timeout: 256 seconds]
Kricir has quit [Ping timeout: 260 seconds]
sambao21 has quit [Client Quit]
devoldmx has joined #ruby
slainer68 has quit [Ping timeout: 276 seconds]
obs has quit [Quit: Konversation terminated!]
slainer6_ has quit [Ping timeout: 256 seconds]
obs has joined #ruby
decentrality has left #ruby [#ruby]
sambao21 has joined #ruby
qkdt has joined #ruby
A124 has joined #ruby
bamdad has joined #ruby
maasha has joined #ruby
codecop has quit [Remote host closed the connection]
failshell has joined #ruby
<qkdt> Hello i just started ruby and i stumbled upon this: x = { "a" => 1, "b" => 2, "c" => 3 } p x.keys
<qkdt> what does p do in p x.keys ?
nowthatsamatt has joined #ruby
<apeiros_> it's a method
<tobiasvl> prints
<apeiros_> like puts
<tobiasvl> >> p "hello world"
<eval-in> tobiasvl => "hello world" ... (http://eval.in/31911)
nowthatsamatt has quit [Client Quit]
<apeiros_> `p obj` does what `puts obj.inspect` does
<apeiros_> see Kernel#p
nowthatsamatt has joined #ruby
<qkdt> thank you
<ericwood> you're welcome
<maasha> I need to sort a list of files according to the numerical part when the filenames are part text part numerical. I was thinking Schwartzian transformation, but surely ruby have something easier?
<qkdt> i was confused because x.keys works aswell in irb
dhruvasagar has quit [Ping timeout: 256 seconds]
<joshu> ok Spooner I'm back
wmoxam has joined #ruby
<apeiros_> maasha: hm, reminds me that I still have not published that branch in my sorting gem which provides natural sorting
<apeiros_> (which does exactly that)
<maasha> apeiros_: I think a saw yours at some point :o)
mmitchell has joined #ruby
<apeiros_> hm, didn't even push it to github
<apeiros_> well, won't get it done anytime soon, sorry
<maasha> Also, this wikibook entry seems way too complex? http://en.wikibooks.org/wiki/Algorithm_Implementation/Sorting/Schwartzian_transform
skattyadz has quit [Read error: Connection reset by peer]
tommyvyo has joined #ruby
<apeiros_> maasha: https://gist.github.com/apeiros/387f4a79c122a10ed5e8 this may help you
rouss has joined #ruby
atyz has joined #ruby
<maasha> apeiros_: excellent. thanks
<apeiros_> you'd use it like: ary.sort_by { |string| Sorting::Natural. sort_key(string) }
Vivekananda has quit [Ping timeout: 246 seconds]
wesside has quit [Quit: I think I heard an ice cream truck..]
<maasha> nice
jds_ has joined #ruby
rickruby has joined #ruby
pskosinski has joined #ruby
maasha has quit [Ping timeout: 250 seconds]
arya has quit [Ping timeout: 256 seconds]
dfdf has quit [Remote host closed the connection]
io_syl has quit [Quit: Computer has gone to sleep.]
ananthakumaran1 has quit [Quit: Leaving.]
staafl has quit [Read error: Connection reset by peer]
obs has quit [Quit: Konversation terminated!]
alexmreis has joined #ruby
kf8a has quit [Quit: Computer has gone to sleep.]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
zigomir has quit [Quit: zigomir]
Dummies_freelanc has joined #ruby
arya has joined #ruby
zigomir has joined #ruby
obs has joined #ruby
<pagios> anyone familiar with sinatra?
<ericwood> he's a cool dood
<ericwood> there's a channel for sinatra, iirc... #sinatra I think
ntus1017 has quit [Remote host closed the connection]
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
igaiga has quit [Remote host closed the connection]
kpshek has joined #ruby
Vivekananda has joined #ruby
pitzips has joined #ruby
nerocrux has joined #ruby
awarner has joined #ruby
interactionjaxsn has joined #ruby
rickruby has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
miskander has joined #ruby
devoldmx has quit [Ping timeout: 246 seconds]
tomzx_mac has quit [Ping timeout: 256 seconds]
robbyoconnor has quit [Ping timeout: 264 seconds]
Zai00 has joined #ruby
Davey has joined #ruby
Amfy has joined #ruby
Amfy has left #ruby ["["Textual IRC Client: www.textualapp.com"]"]
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
Coolhand has quit [Remote host closed the connection]
keanehsiao has joined #ruby
tonini_ has quit [Ping timeout: 248 seconds]
kf8a has joined #ruby
prk has quit [Ping timeout: 276 seconds]
johnjohnson has joined #ruby
kf8a has quit [Write error: Broken pipe]
niceguyjames has joined #ruby
baroquebobcat has joined #ruby
haxrbyte has quit [Read error: Connection reset by peer]
pcarrier_ has quit [Ping timeout: 264 seconds]
yannis has joined #ruby
chandankumar has quit [Ping timeout: 258 seconds]
haxrbyte has joined #ruby
freerobby has joined #ruby
blaxter has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
freeayu__ has quit [Remote host closed the connection]
chandankumar has joined #ruby
v0n has joined #ruby
Coolhand has joined #ruby
ravster has joined #ruby
falood has joined #ruby
v0n has quit [Client Quit]
yshh has joined #ruby
v0n has joined #ruby
girija has quit [Ping timeout: 252 seconds]
eploko has quit [Quit: Z-z-zzz...]
arya has quit []
freakazoid0223 has joined #ruby
generalissimo has joined #ruby
seich- has quit [Ping timeout: 245 seconds]
visof has joined #ruby
jtharris has joined #ruby
Ortuna has joined #ruby
arya has joined #ruby
thesheff17 has joined #ruby
ntus1017 has joined #ruby
Ortuna has quit [Client Quit]
abstrusenick has joined #ruby
sailias has joined #ruby
mklappstuhl has joined #ruby
atyz has quit [Quit: Leaving...]
BSaboia has joined #ruby
monkegjinni has joined #ruby
jbpros has joined #ruby
johnnyfuchs has joined #ruby
headius has quit [Quit: headius]
pcarrier_ has joined #ruby
staafl has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
seich- has joined #ruby
lyanchih has joined #ruby
freerobby has quit [Quit: Leaving.]
sailias has quit [Ping timeout: 256 seconds]
atyz has joined #ruby
Appineer has joined #ruby
<aedorn> bonjour
Todd has joined #ruby
GeissT has quit [Quit: MillBroChat AdIRC User]
nopper` is now known as nopper
freerobby has joined #ruby
akells` has joined #ruby
monkegjinni has joined #ruby
wesside has joined #ruby
allaire has joined #ruby
kf8a has joined #ruby
Ortuna has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
mercwithamouth has quit [Quit: Lost terminal]
Ortuna has quit [Client Quit]
kobain has joined #ruby
hydrozen has joined #ruby
mikewintermute has quit [Quit: mikewintermute]
bean__ has joined #ruby
eploko has joined #ruby
RORgasm has quit [Read error: Connection reset by peer]
RORgasm has joined #ruby
ananthakumaran has joined #ruby
niklasb has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
abstrusenick has quit [Quit: abstrusenick]
l33 has quit [Remote host closed the connection]
monkegjinni has joined #ruby
Z_Mass has joined #ruby
jbpros has quit [Quit: jbpros]
jprovazn has quit [Quit: Leaving]
slainer68 has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
<joonty> a question
braoru has quit [Remote host closed the connection]
_Amaan has joined #ruby
<joonty> would you consider the following to be good or bad practice for initializing an array and populating with a single element?
<joonty> `numbers = [] << 3`
<clocKwize> why not numbers = [3]
monkegjinni has joined #ruby
miskander has quit [Quit: miskander]
matchaw has quit [Ping timeout: 256 seconds]
mikewintermute has joined #ruby
<clocKwize> joonty:
slainer__ has quit [Ping timeout: 252 seconds]
<joonty> clocKwize: because i'm an idiot
<joonty> thanks
sailias has joined #ruby
<clocKwize> lol =]
<joonty> thought i was doing something wrong :P
cofin has joined #ruby
<clocKwize> heh
rhys has joined #ruby
jjbohn has joined #ruby
ffranz has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
timkohrumel has joined #ruby
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
slainer6_ has joined #ruby
monkegjinni has joined #ruby
daniel_- has quit [Ping timeout: 264 seconds]
devoldmx has joined #ruby
slainer68 has quit [Ping timeout: 256 seconds]
altamic has joined #ruby
stonevil has joined #ruby
altamic has left #ruby [#ruby]
nettoweb has joined #ruby
noxoc has quit [Quit: noxoc]
Andreo has joined #ruby
pcarrier_ has quit [Quit: Computer has gone to sleep.]
tagrudev has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 246 seconds]
Tobarja has joined #ruby
codecop has joined #ruby
Andreo__ has quit [Read error: Operation timed out]
daniel_- has joined #ruby
devoldmx3 has joined #ruby
miskander has joined #ruby
l33 has joined #ruby
timkohrumel has quit [Ping timeout: 256 seconds]
staafl has quit [Ping timeout: 256 seconds]
Vivekananda has quit [Ping timeout: 246 seconds]
noop has quit [Ping timeout: 252 seconds]
SeySayux has quit [Read error: Connection reset by peer]
Villadelfia has quit [Read error: Connection reset by peer]
miskander has quit [Client Quit]
<aedorn> I'm not sure how to deal with a manager misrepresenting, on purpose, a product that I built. He doesn't like this particular client we're doing it for, but I feel like him telling them that something works differently than what it really does that it's misrepresenting myself as a developer.
Tobarja has left #ruby [#ruby]
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
Villadelfia has joined #ruby
<canton7> Who's on the line if the client finds out? If it's you, make a fuss. If it's your manager, you can complain to the manager but don't mention a word to the client. That's my view :P
<Todd> Stake holders shield developers where I work
timkohrumel has joined #ruby
<Todd> At the end of the day you just need to recognize that developers rarely own the code they write.
<Todd> Took me a long time to learn that.
alex__c2022 has joined #ruby
SeySayux has joined #ruby
<Todd> To learn how to not be personally invested in what I do was tough.
miclen has quit [Ping timeout: 256 seconds]
<aedorn> hmmm.. not be personally invested. I don't know how to do that, either. ;)
<Todd> Work a ticket. Release a ticket. Grab a new ticket.
<canton7> Yeah, you're trying to sheild your career. If you're worried, make sure our views are in writing, but keep them internal.
baroquebobcat has quit [Quit: baroquebobcat]
kf8a has quit [Read error: Connection reset by peer]
<aedorn> I think if I were to remove my vested interest, and let management be the "shield", as it were, and be responsible for when someone finds out things aren't the way he says they are, it would reflect badly upon me for future endeavors. I don't know, though.
<aedorn> I'm new to business politics on this side of the fence.
sambao21 has quit [Quit: Computer has gone to sleep.]
<aedorn> I also think I'm more worried about it than normal because the client is a rather prominent name in the world.
<Todd> Big companies are crud. You can stretch and yell and scream that something is wrong but PO's, PM's and VP's ultimately make their own decisions.
<Todd> And typically (depending on the structure) they get the blame for things.
_maes_ has joined #ruby
<Todd> As long as you tell them that what they're saying is wrong they can't then point the finger at you.
whowantstolivefo has quit [Quit: who wants to live forever ?]
jjbohn is now known as jjbohn|afk
<canton7> You can sheild yourself by putting your thoughts in writing to your manager's manager
Al_ has quit [Quit: Al_]
<Todd> ^^ agreed
tk_ has quit [Quit: ばいばい]
<canton7> (worded appropriately so it doesn't sound like you're trying to blame your manager)
miskander has joined #ruby
<aedorn> I thought about that, but then I'm worried that my manager would find out and take it the wrong way. He's a very .... angry person.
<aedorn> He hasn't exactly done me wrong, though, not up until this point.
rsimecek has joined #ruby
<aedorn> He's going as far as to make sure I'm out of town when the client comes for onsite acceptance testing. Since I'm a terrible liar. I answer questions impulsively honest - apparently that's not good for business!
ayaz has quit [Quit: Bye!]
<canton7> have you told him you think he's misrepresenting the product? (in appropriate language)
sambao21 has joined #ruby
<canton7> yeah, he's right there :P
sambao21 has quit [Client Quit]
cheese1756 has quit [Ping timeout: 248 seconds]
lkba has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
gaahrdner has joined #ruby
<aedorn> canton7: I have, yep. Luckily I managed to tell him privately and not while I listened to him say it on a conference call. Good thing I wasn't near my desk to unmute my phone...
stonevil has quit [Remote host closed the connection]
rsimecek has quit [Remote host closed the connection]
<canton7> cool, then you're not going behind him. you can cc him on your email, and make it completely clear you're just covering yourself, and don't necessarily disagree with his approach
Vivekananda has joined #ruby
jjbohn|afk is now known as jjbohn
pduin has quit [Remote host closed the connection]
yairgo has joined #ruby
<aedorn> hmmm, let me ponder that approach some. Either way, good all around advice guys. Thanks! Glad the first response wasn't just "find a new job"
stonevil has joined #ruby
cheese1756 has joined #ruby
agarie has joined #ruby
cantonic has quit [Quit: cantonic]
ioNull has quit [Quit: Computer has gone to sleep.]
leonidlm has quit [Ping timeout: 276 seconds]
zigomir has quit [Quit: zigomir]
arya has quit [Ping timeout: 248 seconds]
MrZYX|off is now known as MrZYX
obs has quit [Remote host closed the connection]
arya has joined #ruby
hstern has quit [Quit: ZNC - http://znc.sourceforge.net]
luckyruby has joined #ruby
baroquebobcat has joined #ruby
freerobby has quit [Quit: Leaving.]
obs has joined #ruby
clocKwize has quit [Quit: clocKwize]
jokke has joined #ruby
freerobby has joined #ruby
aganov has quit [Remote host closed the connection]
staafl has joined #ruby
jds_ has quit [Remote host closed the connection]
ioNull has joined #ruby
nettoweb has quit [Quit: nettoweb]
Al_ has joined #ruby
lucianosousa has joined #ruby
Al_ has quit [Client Quit]
Al_ has joined #ruby
pcarrier_ has joined #ruby
wallerdev has joined #ruby
jonathanwallace has quit [Ping timeout: 252 seconds]
ckrailo has joined #ruby
pagios has quit [Remote host closed the connection]
slainer68 has joined #ruby
camilasan has quit [Remote host closed the connection]
Guedes has quit [Excess Flood]
banghouse2 has joined #ruby
chrishough has joined #ruby
[m]adman has joined #ruby
snearch has joined #ruby
[m]adman has quit [Max SendQ exceeded]
jds_ has joined #ruby
Guedes has joined #ruby
banghouse2 is now known as banghouse
Kricir has joined #ruby
slainer6_ has quit [Ping timeout: 256 seconds]
[m]adman has joined #ruby
machuga is now known as machuga|away
stonevil has quit [Remote host closed the connection]
DaniG2k has joined #ruby
sambao21 has joined #ruby
slainer6_ has joined #ruby
monkegji_ has joined #ruby
Kricir has quit [Ping timeout: 252 seconds]
DonRichie has joined #ruby
ctp_ has quit [Quit: Linkinus - http://linkinus.com]
slainer68 has quit [Ping timeout: 264 seconds]
machuga|away is now known as machuga
camilasan has joined #ruby
monkegjinni has quit [Ping timeout: 256 seconds]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
wsterling has joined #ruby
bionhart has joined #ruby
agarie has quit [Remote host closed the connection]
johnjohnson has quit [Quit: johnjohnson]
mjburgess has quit [Ping timeout: 264 seconds]
Eaven has quit [Read error: Connection reset by peer]
Eaven has joined #ruby
vlad_starkov has joined #ruby
CyberMaN has quit [Ping timeout: 264 seconds]
AgentWillyWonka has quit [Quit: Leaving...]
hyperthinker1024 has joined #ruby
CyberMaN has joined #ruby
vlad_sta_ has joined #ruby
keanehsiao has quit [Quit: Leaving...]
Uranio has joined #ruby
slainer6_ has quit [Remote host closed the connection]
platzhirsch has joined #ruby
miskander has quit [Quit: miskander]
slainer68 has joined #ruby
slainer6_ has joined #ruby
TomRone has quit [Ping timeout: 256 seconds]
vlad_starkov has quit [Ping timeout: 266 seconds]
miskander has joined #ruby
poga has joined #ruby
hydrozen has quit [Ping timeout: 256 seconds]
atSetKey has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
mjburgess has joined #ruby
obs has quit [Quit: Saliendo]
slainer68 has quit [Ping timeout: 256 seconds]
visof has quit [Quit: Leaving]
cantonic has joined #ruby
cespare has quit [Read error: Operation timed out]
Vivekananda has quit [Ping timeout: 246 seconds]
cespare has joined #ruby
<platzhirsch> Any idea how to refactor this method to something more expressive and less talky? https://gist.github.com/platzhirsch/60aa55044d298507b39f seems so unnecessary
obs has joined #ruby
maxmanders has joined #ruby
kobain has quit [Ping timeout: 261 seconds]
razi has quit [Ping timeout: 264 seconds]
monkegji_ has quit [Read error: Connection reset by peer]
danslo has quit [Quit: danslo]
threesome has quit [Ping timeout: 276 seconds]
stoic_squirrel has joined #ruby
icole has joined #ruby
kobain has joined #ruby
monkegjinni has joined #ruby
mikecmpbll has joined #ruby
lkba has joined #ruby
monkegjinni has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 276 seconds]
Astralum has joined #ruby
jlast has joined #ruby
monkegjinni has joined #ruby
johnnyfuchs1 has joined #ruby
swex has quit [Remote host closed the connection]
tjbiddle has joined #ruby
razi has joined #ruby
atyz has quit [Quit: Leaving...]
swex has joined #ruby
DaniG2k has quit [Quit: Leaving.]
DaniG2k has joined #ruby
DaniG2k has quit [Client Quit]
atyz has joined #ruby
timmow has quit [Ping timeout: 252 seconds]
TomRone has joined #ruby
johnnyfuchs has quit [Ping timeout: 276 seconds]
swex has quit [Remote host closed the connection]
bradhe has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kobain has quit [Remote host closed the connection]
seich- has quit [Ping timeout: 260 seconds]
kobain has joined #ruby
jeffreylevesque_ has joined #ruby
browndawg has joined #ruby
altamic has joined #ruby
bradhe has quit [Remote host closed the connection]
swex has joined #ruby
bradhe has joined #ruby
altamic has left #ruby [#ruby]
camilasan has quit [Remote host closed the connection]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
jeffreylevesque has quit [Ping timeout: 245 seconds]
Vivekananda has joined #ruby
jonathanwallace has joined #ruby
io_syl has joined #ruby
monkegji_ has joined #ruby
viszu has quit [Quit: Leaving.]
pipework has joined #ruby
monkegji_ has quit [Remote host closed the connection]
monkegji_ has joined #ruby
monkegjinni has quit [Read error: No route to host]
bradhe has quit [Ping timeout: 256 seconds]
miskander has quit [Quit: miskander]
maxmanders has quit [Quit: Computer has gone to sleep.]
kobain has quit [Remote host closed the connection]
kobain has joined #ruby
anonymuse has joined #ruby
Artheist has joined #ruby
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
banjara has joined #ruby
robscomputer has joined #ruby
robscomputer has quit [Read error: Connection reset by peer]
io_syl has quit [Client Quit]
io_syl has joined #ruby
miskander has joined #ruby
robscomputer has joined #ruby
bradhe has joined #ruby
ybart has quit [Quit: ybart]
Artheist has quit [Excess Flood]
Voodoofish430 has joined #ruby
akemrir has joined #ruby
falood has quit [Remote host closed the connection]
Artheist has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
maxmanders has joined #ruby
seich- has joined #ruby
falood has joined #ruby
s1n4 has joined #ruby
boxmein has quit [Quit: !]
noname001 has quit [Remote host closed the connection]
s1n4 has quit [Client Quit]
chase-work has joined #ruby
Andreo_ has joined #ruby
jeebster has joined #ruby
maxmanders has quit [Max SendQ exceeded]
zigomir_ has joined #ruby
maxmanders has joined #ruby
obs_ has joined #ruby
obs has quit [Write error: Broken pipe]
dash_ has quit [Quit: Time to beer :)]
jbueza has quit [Quit: Leaving.]
Andreo has quit [Ping timeout: 252 seconds]
djbkd has joined #ruby
girija has joined #ruby
codecop has quit [Remote host closed the connection]
miskander has quit [Quit: miskander]
pi3r has quit [Quit: Leaving]
markalanevans has quit [Quit: markalanevans]
blaxter has quit [Quit: KTHXBYE]
senayar has quit [Remote host closed the connection]
codecop has joined #ruby
jlast has quit [Remote host closed the connection]
blaxter has joined #ruby
shadoi has quit [Quit: Leaving.]
jgrevich has joined #ruby
forrest has joined #ruby
miskander has joined #ruby
obs_ is now known as obs
blessYAHU has joined #ruby
falood has quit [Remote host closed the connection]
ExxKA has quit [Quit: This computer has gone to sleep]
<blessYAHU> Anyone know how to use rake to run mocha.js/casper.js tests?
jlast has joined #ruby
jcromartie has quit [Quit: Computer has gone to sleep.]
rads has joined #ruby
superscott[8] has joined #ruby
bal has joined #ruby
mahmoudimus has joined #ruby
freerobby has quit [Quit: Leaving.]
yairgo has quit [Ping timeout: 276 seconds]
<k610> can i stop rackup to do Bundle.require my Gemfile ?
johnmilton has joined #ruby
<apeiros_> mv Gemfile NotAGemfile
_Amaan_ has joined #ruby
<k610> then i can't do regular bundle install ; bundle update
_Amaan has quit [Ping timeout: 252 seconds]
_Amaan_ is now known as _Amaan
<apeiros_> maybe you should decide first whether you want or don't want a Gemfile?
<k610> i choose to drop Bundle.require in favor of Bundle.setup + requires but this one of the issues i ran into
<apeiros_> ah. your issue isn't that it uses bundler, but that it uses Bundle.require. I see.
<apeiros_> don't know
yashshah has joined #ruby
mityaz has joined #ruby
<k610> let say i have some classes that i need from multiple sinatra apps what would be the best way to use those classes from all my sinatra apps ? require '/abs/path/to/my.rb' in each ?
Schuy13r has joined #ruby
monkegji_ has quit [Remote host closed the connection]
<Schuy13r> any idea why Ruby would fail to write to a file? https://gist.github.com/schuyler/86f3577b98d871ac779d
<k610> i don't feel like packaging all classes in a gem and compiling the gem each time
zeel_ has quit [Remote host closed the connection]
krombr has joined #ruby
yairgo has joined #ruby
wargasm has quit [Ping timeout: 260 seconds]
monkegjinni has joined #ruby
staafl has quit [Ping timeout: 256 seconds]
markalanevans has joined #ruby
DrCode has quit [Ping timeout: 240 seconds]
rburton- has joined #ruby
<k610> my ruby apps are getting larger and more coupled any ressources i could dig into ?
nomenkun has quit [Remote host closed the connection]
kobain has quit [Remote host closed the connection]
<apeiros_> k610: I'd still go with gems
kobain has joined #ruby
<apeiros_> you can make it easier by using bundler with :git => …
<MrZYX> or :path =>
jbueza has joined #ruby
ivanoats has joined #ruby
qkdt has quit [Remote host closed the connection]
<MrZYX> there was also an option to locally override a release/git version with a path
<MrZYX> iirc
machuga is now known as machuga|away
<k610> so do you have like two gems : one with all your private business logic, one with all your utilties or you split it up even more ?
pitzips has quit [Ping timeout: 276 seconds]
miskander has quit [Quit: miskander]
alup has quit [Quit: Leaving]
Coffers has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Davey has quit [Quit: Computer has gone to sleep.]
DrCode has joined #ruby
maveonair has quit [Ping timeout: 276 seconds]
rangle has joined #ruby
ferdev has quit [Quit: ferdev]
jdunck has joined #ruby
Heero has joined #ruby
Heero has joined #ruby
miclen has joined #ruby
jastix has quit [Quit: Leaving]
m8 has joined #ruby
kobain has quit [Remote host closed the connection]
cba has quit [Ping timeout: 246 seconds]
shadoi has joined #ruby
kobain has joined #ruby
mjburgess has quit [Ping timeout: 264 seconds]
banister`sleep has joined #ruby
jeffreylevesque_ has quit [Quit: ChatZilla 0.9.90 [Firefox 20.0.1/20130409194949]]
<k610> ok :path seems great
dhruvasagar has quit [Ping timeout: 276 seconds]
jeffreylevesque has joined #ruby
krombr has quit [Remote host closed the connection]
rangle has quit [Ping timeout: 248 seconds]
miskander has joined #ruby
cba has joined #ruby
troessner has quit [Quit: Leaving]
obs has quit [Quit: Konversation terminated!]
l33 has quit [Remote host closed the connection]
jokke has quit [Ping timeout: 260 seconds]
nfisher has joined #ruby
`brendan has quit [Ping timeout: 256 seconds]
rupee has joined #ruby
machuga|away is now known as machuga
mikeg has joined #ruby
kobain has quit [Remote host closed the connection]
d3c has joined #ruby
kobain has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Vivekananda has quit [Ping timeout: 245 seconds]
_nitti has quit [Ping timeout: 256 seconds]
ggordan has joined #ruby
zeade has joined #ruby
sambao21 has joined #ruby
slainer6_ has quit [Remote host closed the connection]
axl_ has quit [Quit: axl_]
mocfive has joined #ruby
DanKnox_away is now known as DanKnox
freerobby has joined #ruby
arya has quit []
thomasle_ has joined #ruby
jokke has joined #ruby
kenneth has quit [Quit: kenneth]
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
dhruvasagar has joined #ruby
Cultofmetatron has joined #ruby
hyperthinker1024 has quit [Ping timeout: 256 seconds]
gaahrdner has quit [Ping timeout: 256 seconds]
G00d455 has joined #ruby
jjbohn is now known as jjbohn|afk
axl_ has joined #ruby
hyperthinker1024 has joined #ruby
rburton- has quit [Quit: Linkinus - http://linkinus.com]
freerobby has quit [Ping timeout: 252 seconds]
jjbohn|afk is now known as jjbohn
bradhe has quit [Ping timeout: 256 seconds]
lyanchih has quit [Quit: lyanchih]
`brendan has joined #ruby
k610 has quit [Ping timeout: 260 seconds]
khushildep has quit [Ping timeout: 276 seconds]
lyanchih has joined #ruby
tjbiddle_ has joined #ruby
arya has joined #ruby
lyanchih has quit [Client Quit]
monkegjinni has quit [Remote host closed the connection]
Al_ has quit [Quit: Al_]
jonathanwallace has quit [Quit: WeeChat 0.4.0]
jonathanwallace has joined #ruby
nerocrux has quit [Remote host closed the connection]
ravster has quit [Ping timeout: 252 seconds]
tjbiddle has quit [Ping timeout: 246 seconds]
tjbiddle_ is now known as tjbiddle
jgrevich_ has joined #ruby
allaire has quit [Quit: allaire]
hex20dec has joined #ruby
mjburgess has joined #ruby
mvangala_ has joined #ruby
mvangala has quit [Remote host closed the connection]
shevy has quit [Ping timeout: 260 seconds]
cj3kim has joined #ruby
shevy has joined #ruby
jgrevich has quit [Ping timeout: 276 seconds]
jgrevich_ is now known as jgrevich
freerobby has joined #ruby
l33 has joined #ruby
allaire has joined #ruby
mikewintermute has quit [Quit: mikewintermute]
DestinyAwaits has quit [Quit: Leaving]
DanKnox is now known as DanKnox_away
threesome has joined #ruby
G00d455 has quit [K-Lined]
mark_locklear has quit [Ping timeout: 256 seconds]
pitzips has joined #ruby
rhys has quit [Quit: Leaving]
alvaro_o has joined #ruby
mikepack has joined #ruby
Criztian has quit [Remote host closed the connection]
Michael__ has quit [Remote host closed the connection]
gasbakid has joined #ruby
rickmasta has quit [Quit: Leaving...]
brianpWins has joined #ruby
bluOxigen has joined #ruby
jokke has quit [Quit: WeeChat 0.4.1]
mark_locklear has joined #ruby
viszu has joined #ruby
DanKnox_away is now known as DanKnox
kil0byte has joined #ruby
nfisher has quit [Quit: Good-bye all!]
rouss has quit [Ping timeout: 276 seconds]
<shevy> am I connected still?
brunoro has joined #ruby
<MrZYX> no
ravster has joined #ruby
cantonic has quit [Quit: cantonic]
<apeiros_> you should reboot, then ask again
<MrZYX> or type your password, it might reconnect you
cantonic has joined #ruby
bionhart has quit [Remote host closed the connection]
superscott[8] has quit [Quit: superscott[8]]
bal has quit [Quit: Leaving]
ybart has joined #ruby
whitedawg has joined #ruby
LennyLinux has quit [Remote host closed the connection]
Kricir has joined #ruby
elliottcable is now known as ell
ell is now known as ellie
cantonic has quit [Ping timeout: 256 seconds]
cantonic has joined #ruby
<jeebster> is there a method on object similar to dup that copies an objects relations as well?
platzhirsch has left #ruby [#ruby]
kenneth has joined #ruby
<MrZYX> #clone from the semantics but it has to be implemented by the class
<MrZYX> Object#clone is just a shallow copy too
<apeiros_> jeebster: no. there are no default deep copies.
<apeiros_> if you want a deep copy on your object, implement a method to do that.
saarinen has joined #ruby
jjbohn is now known as jjbohn|afk
jlundy has joined #ruby
<jlundy> howdy
ellie is now known as elliottcable
<apeiros_> usually you'd do it by implementing initialize_copy, which is used by dup & clone
markalanevans has quit [Quit: markalanevans]
lushious has joined #ruby
jds_ has quit [Remote host closed the connection]
jlast has quit [Remote host closed the connection]
<jlundy> total ruby noob here, and reviewing some ruby code. Got a silly question about one line if you guys dont mind
<MrZYX> however if you need both behaviors there's a initialize_dup and initialize_clone to override
<jlundy> what exactly is the @@ doing in this? Im not familiar with this and web search is failing me trying to figure out what it does
<jlundy> @@TEST_FAILURE = false
<apeiros_> MrZYX: you mean "if you need different behaviors on dup/clone"?
<MrZYX> eh, right
<heftig> jlundy: class variable
<jlundy> ah
<apeiros_> beware, there be dragons (class variables)
<jlundy> thanks
<heftig> it's shared by the class, its instances, its subclasses, and its subclasses' instances
<apeiros_> and I keep forgetting the rules as to when what is defined as the root
twoism has joined #ruby
<apeiros_> I think first appearance in a class, not sure though
choobie has joined #ruby
choobie has joined #ruby
choobie has quit [Changing host]
sambao21 has quit [Quit: Computer has gone to sleep.]
AgentWillyWonka has joined #ruby
Guest3286 has joined #ruby
seich- has quit [Ping timeout: 240 seconds]
Cultofmetatron has quit [Remote host closed the connection]
tonini has joined #ruby
icole has quit [Remote host closed the connection]
chrishough has quit [Quit: chrishough]
jjbohn|afk is now known as jjbohn
stoic_squirrel has quit [Quit: Textual IRC Client: www.textualapp.com]
ramblex has joined #ruby
bradhe has joined #ruby
jlast has joined #ruby
ewag has quit [Ping timeout: 248 seconds]
Neomex has joined #ruby
DanKnox is now known as DanKnox_away
hyperthinker1024 has quit [Ping timeout: 248 seconds]
dsauced has joined #ruby
shadoi has quit [Quit: Leaving.]
dsauced has quit [Remote host closed the connection]
maxmanders has quit [Quit: Textual IRC Client: www.textualapp.com]
dsauced has joined #ruby
mattbl has joined #ruby
monkegjinni has joined #ruby
agent_white has joined #ruby
dsauced has left #ruby [#ruby]
DanKnox_away is now known as DanKnox
Zai00 has quit [Quit: Zai00]
Neomex has quit [Client Quit]
<shevy> argh class variables are soo ugly
<shevy> it's good that you UPCASE them jlundy
<shevy> @@CONFIGURATION = {}
johnnyfuchs1 has quit [Remote host closed the connection]
chrishough has joined #ruby
DanKnox is now known as DanKnox_away
johnnyfuchs has joined #ruby
sailias has quit [Ping timeout: 256 seconds]
jurbat has quit [Quit: Computer has gone to sleep.]
adambeynon has joined #ruby
Davey has joined #ruby
Inoperabled is now known as Inoperable
sailias has joined #ruby
kirun has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
devoldmx has joined #ruby
elliottcable is now known as ELLIOTTCABLE
interactionjaxsn has joined #ruby
<shevy> hey ELLIOTTCABLE
miclen has quit [Ping timeout: 256 seconds]
devoldmx3 has quit [Ping timeout: 256 seconds]
shadoi has joined #ruby
shadoi has quit [Remote host closed the connection]
interactionjaxsn has quit [Ping timeout: 256 seconds]
shadoi has joined #ruby
Zeeraw has quit [Quit: Computer has gone to sleep.]
zeade has quit [Quit: Leaving.]
zeade has joined #ruby
jlast has quit [Remote host closed the connection]
viszu has quit [Quit: Leaving.]
brianherman has joined #ruby
jlast has joined #ruby
cba has quit [Ping timeout: 248 seconds]
devoldmx3 has joined #ruby
_nitti_ has joined #ruby
c0rn has joined #ruby
Guest3286 has quit [Quit: Leaving...]
mklappstuhl has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
browndawg has quit [Quit: Leaving.]
devoldmx has joined #ruby
devoldmx3 has quit [Read error: Connection reset by peer]
akemrir has quit [Ping timeout: 256 seconds]
c0rn has quit [Client Quit]
c0rn has joined #ruby
snearch has quit [Quit: Verlassend]
mattbl has quit [Quit: This computer has gone to sleep]
mjburgess has quit [Ping timeout: 245 seconds]
seich- has joined #ruby
d3c has quit [Quit: Sleep]
chase-work has quit [Quit: Textual IRC Client: www.textualapp.com]
tomsthumb has joined #ruby
agjacome has joined #ruby
ia___ has quit [Quit: ia___]
woolite64__ is now known as woolite64
_nitti_ has quit [Remote host closed the connection]
_nitti has joined #ruby
nomenkun has joined #ruby
ia___ has joined #ruby
motto has joined #ruby
Cultofmetatron has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
m8 has quit [Ping timeout: 256 seconds]
interactionjaxsn has joined #ruby
mawueli has joined #ruby
dhruvasagar has quit [Ping timeout: 248 seconds]
havenwood has joined #ruby
mawueli is now known as Guest52785
Cultofme_ has joined #ruby
andynu has quit [Ping timeout: 248 seconds]
Bleah has joined #ruby
blessYAHU has quit [Ping timeout: 252 seconds]
Cultofmetatron has quit [Ping timeout: 276 seconds]
joshszep has joined #ruby
cantonic has quit [Quit: cantonic]
bzyrp has joined #ruby
gaahrdner has joined #ruby
Michael__ has joined #ruby
Uranio has quit [Quit: while you reading this, a kitty dies]
Azulinho has quit [Ping timeout: 252 seconds]
eploko has quit [Ping timeout: 252 seconds]
miclen has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
bzyrp has quit [Quit: Leaving]
tvw has quit []
bluOxigen has quit []
blaxter has quit [Ping timeout: 276 seconds]
atyz has quit [Quit: Leaving...]
joshszep has quit [Remote host closed the connection]
workmad3 has joined #ruby
Evixion` is now known as Evixion
LennyLinux has joined #ruby
m8 has joined #ruby
sobering has joined #ruby
sobering has left #ruby [#ruby]
niceguyjames has joined #ruby
boxmein has joined #ruby
ToApolytoXaos has joined #ruby
motto has quit [Ping timeout: 240 seconds]
sambao21 has joined #ruby
rippa has quit [Ping timeout: 240 seconds]
m8 has quit [Max SendQ exceeded]
sobering has joined #ruby
m8 has joined #ruby
kemist has joined #ruby
jbueza has quit [Quit: Leaving.]
<havenwood> Even if it is just a new ruby-lang.org website, only 7 min left on RubyKaigi countdown...: http://ruby-lang.github.io/
<sobering> Hey guys. I'm working on my first Sinatra micro app and things are going along quite smoothly. It isn't a multi user app, so I just need a super simple means of authentication. I came across this article online: https://ididitmyway.herokuapp.com/past/2011/2/22/really_simple_authentication_in_sinatra/
<sobering> I was just wondering if I could get your opinions on that method of authnetication. I'm a bit naiive when it comes to this thing. Like I mentioned, it's my first app so I don't have experience under my belt.
rezzack has joined #ruby
jkline_ has joined #ruby
<havenwood> sobering: You are hardcoding the usernames and passwords?
<havenwood> sobering: People don't set their own, they are determined ahead of time?
tonini has quit [Ping timeout: 248 seconds]
<sobering> Yeah, it's not a multi user app. It's a single user application so registration isn't required
<sobering> The only user is me.
miclen has quit [Ping timeout: 248 seconds]
jbueza has joined #ruby
hadees has joined #ruby
rippa has joined #ruby
jgrevich_ has joined #ruby
RORgasm has quit [Read error: Connection reset by peer]
RORgasm has joined #ruby
huttan has quit [Read error: Connection reset by peer]
whitedawg has left #ruby [#ruby]
huttan has joined #ruby
jgrevich has quit [Ping timeout: 248 seconds]
jgrevich_ is now known as jgrevich
mklappstuhl has quit [Remote host closed the connection]
motto has joined #ruby
whitedawg1 has joined #ruby
whitedawg1 has quit [Client Quit]
<havenwood> sobering: A nice trivial example of pairing Rack::SSL with Rack::Auth::Basic: https://github.com/look/ssl-http-basic#readme
kpshek has quit []
<havenwood> sobering: (Make sure to send via SSL, no point in passwords if sending them around plaintext.)
sambao21 has quit [Quit: Computer has gone to sleep.]
m8 has quit [Ping timeout: 240 seconds]
<havenwood> Ermagahd, its doing stuff: http://ruby-lang.github.io/
tonini has joined #ruby
motto has quit [Max SendQ exceeded]
sambao21 has joined #ruby
motto has joined #ruby
chrishough has quit [Ping timeout: 256 seconds]
<aedorn> it just jumps to the ruby-lang github repo
ravster has quit [Ping timeout: 252 seconds]
mocfive has quit [Remote host closed the connection]
ivanoats_ has joined #ruby
<havenwood> aedorn: Yeah, and the http://www.ruby-lang.org/en/ page looks suspiciously the unchanged.
kobain has quit [Ping timeout: 248 seconds]
<aedorn> indeed
<havenwood> No change yet with Japanese version either: http://www.ruby-lang.org/ja/
kobain has joined #ruby
<aedorn> Very anticlimatic count down!
<jlundy> shevy: sorry got called away to a meeting
binw__ has joined #ruby
k610 has joined #ruby
DaltonUS has joined #ruby
end_guy has quit [Remote host closed the connection]
<banister`sleep> anyone here speak fluent chinese?
<jlundy> thanks for the answers folks
mjburgess has joined #ruby
miclen has joined #ruby
jbpros has joined #ruby
ivanoats has quit [Ping timeout: 256 seconds]
m8 has joined #ruby
ivanoats_ has quit [Remote host closed the connection]
DaltonUS has quit [Client Quit]
Z_Mass has quit [Ping timeout: 260 seconds]
chrishough has joined #ruby
DaltonUS has joined #ruby
binw_ has quit [Ping timeout: 260 seconds]
mark_locklear has quit [Ping timeout: 256 seconds]
ewag has joined #ruby
motto has quit [Max SendQ exceeded]
eaWPq4nU has quit [Ping timeout: 240 seconds]
Zeeraw has joined #ruby
girija has quit [Ping timeout: 260 seconds]
eaWPq4nU has joined #ruby
end_guy has joined #ruby
machuga is now known as machuga|away
AndChat| has joined #ruby
yannis has quit [Quit: Bye!]
Banistergalaxy has quit [Ping timeout: 276 seconds]
miclen has quit [Ping timeout: 248 seconds]
atyz has joined #ruby
bionhart has joined #ruby
hadees has quit [Quit: hadees]
bamdad has quit [Ping timeout: 246 seconds]
devoldmx has quit [Ping timeout: 256 seconds]
DanKnox_away is now known as DanKnox
devoldmx has joined #ruby
eldariof has joined #ruby
mattbl has joined #ruby
axl_ has quit [Quit: axl_]
Davey has quit [Quit: Computer has gone to sleep.]
atyz has quit [Ping timeout: 248 seconds]
Michael__ has quit [Remote host closed the connection]
brunoro has quit [Ping timeout: 248 seconds]
jcromartie has joined #ruby
mattbl has quit [Client Quit]
Michael__ has joined #ruby
atmosx has joined #ruby
ravster has joined #ruby
leonidlm has joined #ruby
ewag has quit [Changing host]
ewag has joined #ruby
jcromart_ has joined #ruby
mocfive has joined #ruby
Davey has joined #ruby
failshell has quit [Remote host closed the connection]
machuga|away has quit [Excess Flood]
failshell has joined #ruby
yashshah has quit [Ping timeout: 256 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
rae has joined #ruby
machuga has joined #ruby
rae is now known as Guest6182
Guest6182 has left #ruby [#ruby]
jcromartie has quit [Ping timeout: 252 seconds]
bradhe has quit [Remote host closed the connection]
<aedorn> hmmm.. github is failing me today
pinpin404 has joined #ruby
ivanoats has joined #ruby
motto has joined #ruby
Dummies_freelanc has quit [Quit: Leaving.]
sambao21 has joined #ruby
JZTech101 has joined #ruby
LennyLinux has quit [Remote host closed the connection]
jcromartie has joined #ruby
generalissimo has quit [Read error: Connection reset by peer]
jcromartie has quit [Client Quit]
m8 has quit [Ping timeout: 276 seconds]
alvaro_o has quit [Quit: Ex-Chat]
ColKurtz has joined #ruby
generalissimo has joined #ruby
pr0ton has joined #ruby
<jkline_> I have multiple versions of rake installed with rvm. How can I select which version I want as default?
<pr0ton> hey guys i needed some help with the HTTPClient gem. I guess somebody of you used it, I wanted a curl style verbose debug logging (which prints out the request and response as it happens). How do i do that?
jcromartie has joined #ruby
Eiam has quit [Ping timeout: 240 seconds]
jcromart_ has quit [Ping timeout: 248 seconds]
mljsimone has left #ruby ["Leaving..."]
<havenwood> jkline_: rvm --default use
breakingthings has quit [Quit: breakingthings]
Michael__ has quit [Read error: Connection reset by peer]
mikewintermute has joined #ruby
brotatos has joined #ruby
Michael__ has joined #ruby
mocfive has quit [Remote host closed the connection]
generalissimo has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
ramblex has quit [Read error: Connection reset by peer]
<havenwood> pr0ton: You might look at samuel gem: https://github.com/chrisk/samuel#readme
generalissimo has joined #ruby
sobering has quit [Ping timeout: 240 seconds]
Cultofme_ has quit [Remote host closed the connection]
<pr0ton> ah clever, but seems to not be maintained anymore?
sobering has joined #ruby
gyre007 has quit [Ping timeout: 264 seconds]
<havenwood> pr0ton: Yeah, couple years since a commit. Covers the concept of plugging in a logger to httpclient though.
<havenwood> pr0ton: Or use something like Faraday that has logging built in.
<pr0ton> i see, i'll take a look at it
<pr0ton> faraday?
meiwxx has quit [Remote host closed the connection]
<havenwood> pr0ton: I like httpclient a lot. Never tried logging with it though so I don't have much to offer.
monkegjinni has quit [Ping timeout: 245 seconds]
generalissimo has quit [Read error: No route to host]
benlieb has joined #ruby
generalissimo has joined #ruby
<pr0ton> ah ok, i really like curl for it being so down to raw HTTP requests
<pr0ton> very useful for debugging
<havenwood> pr0ton: Ahh
<pr0ton> curl -v gives you so much info, it's very convenient
Zeeraw has quit [Quit: Computer has gone to sleep.]
<havenwood> pr0ton: Guess you get use a Ruby curl wrapper like curb or patron.
<havenwood> s/get/could
<pr0ton> thats a good choice too
m8 has joined #ruby
<pr0ton> or just do system "curl -v" :)
<havenwood> pr0ton: hehe
<pr0ton> not a bad choice! especially in a cap script where there are tons of system calls
DanKnox is now known as DanKnox_away
r0bglees0n has quit [Ping timeout: 276 seconds]
<havenwood> Yeah, if you know you're going to be on a POSIX system then shelling out can be lovely.
jcromartie has quit [Quit: Computer has gone to sleep.]
Spami has quit [Quit: This computer has gone to sleep]
altivec has joined #ruby
<havenwood> <3 Ruby as a Unix tool.
motto has quit [Ping timeout: 252 seconds]
tvw has joined #ruby
tvw has quit [Client Quit]
mjburgess has quit [Ping timeout: 248 seconds]
jwest has joined #ruby
stonevil has joined #ruby
tootubular has joined #ruby
tvw has joined #ruby
redstar1_1 has joined #ruby
machuga is now known as machuga|away
jkline_ is now known as jkline
ia___ has quit [Quit: ia___]
jcromartie has joined #ruby
headius has joined #ruby
adambeynon has joined #ruby
brian_000_ has joined #ruby
redstar1_ has quit [Ping timeout: 256 seconds]
Michael__ has quit [Remote host closed the connection]
sa1k0 has joined #ruby
bionhart has quit [Remote host closed the connection]
ivanoats has quit [Remote host closed the connection]
Michael__ has joined #ruby
failshell has quit [Remote host closed the connection]
bionhart has joined #ruby
elaptics is now known as elaptics`away
anonymuse has quit [Ping timeout: 256 seconds]
mjburgess has joined #ruby
Liquid-- has joined #ruby
brianherman has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby
sambao21 has joined #ruby
ivanoats has joined #ruby
BSaboia has quit [Quit: Leaving]
pr0ton has quit [Ping timeout: 256 seconds]
mocfive has joined #ruby
jmont has joined #ruby
<jkline> ok, now the result of `rake --version` depends on what directory I am in. WTF?
sambao21 has quit [Client Quit]
axl_ has joined #ruby
altivec has quit [Quit: Textual IRC Client: www.textualapp.com]
<LiquidInsect> jkline: you're using rbenv or rvm or soemthing similar, I assume?
niftylettuce has quit [Ping timeout: 256 seconds]
<jkline> LiquidInsect: I am using rvm, and I'm a noob. I've been having a problem (stack trace after failed test) with rake 10.0.4, which my research suggested was fixed in the latest beta, so I `gem install --version "=10.1.0.beta.3" rake`
sambao21 has joined #ruby
<jkline> now rake --version is 10.1.0.beta.3 like I expect, except in the directory for the gem I am trying to test (and experienced the bug), where it is still 10.0.4. Doh
vlad_starkov has quit [Read error: Connection reset by peer]
<LiquidInsect> right. So, rvm sets a ruby version per project (per directory or whereenver it finds a .ruby-version file
vlad_starkov has joined #ruby
icecandy has joined #ruby
<jkline> LiquidInsect: I don't think I have a .ruby-version file
<LiquidInsect> rvm can also use something called gemsets, which are a set of gems that are visible to the current ruby you're using
<LiquidInsect> jkline: .rvmrc maybe?
ToApolytoXaos has quit [Quit: Leaving]
<LiquidInsect> it's been a while since I used rvm, I don't know what all it uses
<Sou|cutter> it can use either
<jkline> I don't think I have a .rvmrc
k610 has quit [Quit: Leaving]
[0x1a] has quit [Ping timeout: 256 seconds]
<LiquidInsect> but 'rvm info' should tell you which ruby and gemset you're using currently
<jkline> I have two gemsets (default) and global
<Sou|cutter> either .rvmrc or the combo of .ruby-version and .ruby-gemset
<LiquidInsect> and that will probably be different in each of the directories you're talking about
johnnyfuchs1 has joined #ruby
johnnyfuchs1 has quit [Remote host closed the connection]
<LiquidInsect> if it finds no .rvmrc or .ruby-version in the CWD, it'll go up the directory stack until it finds one
Michael__ has quit [Remote host closed the connection]
Jackneill has quit [Read error: Operation timed out]
<jkline> ok, i'll search my home directory for .rvmrc files, but I don't think I have any.
<LiquidInsect> don't bother with that, use 'rvm info'
kofno has quit [Remote host closed the connection]
<jkline> rvm info is the same in both the "good rake version" and "bad rake version" directories
workmad3 has quit [Read error: Operation timed out]
johnnyfuchs1 has joined #ruby
<jkline> only diff is the "updated" seconds
kofno has joined #ruby
<LiquidInsect> and what does it say?
<Sou|cutter> is your test using bundler somehow, and does bundler specify the older version of rake?
<LiquidInsect> Sou|cutter: good point, but wouldn't that require using 'bundle exec'?
<LiquidInsect> unless he has some OTHER thing that sidesteps that
<LiquidInsect> I know there's a few of those out there
<jkline> Sou|cutter: yes, I am using Bundler,
* Sou|cutter nods to LiquidInsect
<LiquidInsect> jkline: aha
niftylettuce has joined #ruby
<LiquidInsect> so check your Gemfile and Gemfile.lock in each project
ia___ has joined #ruby
johnnyfuchs has quit [Ping timeout: 276 seconds]
<LiquidInsect> and look at which versions of rake are defined
devoldmx3 has joined #ruby
<jkline> LiquidInsect: yes, that is it. I did not know that Gemfile.lock was there, will update it.
Andreo__ has joined #ruby
<LiquidInsect> don't touch Gemfile.lock yourself...
<jkline> no? then how?
jmont has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 248 seconds]
<LiquidInsect> Set the version of rake that you want in Gemfile and then 'bundle update rake
Zeeraw has joined #ruby
<LiquidInsect> Gemfile.lock is automatically generated, it's not meant to be messed with
kofno has quit [Ping timeout: 248 seconds]
allaire has quit [Quit: allaire]
postmodern has joined #ruby
<jkline> Gemfile has only source line, and then "gemspec"
<jkline> my .gemspec file has spec.add_development_dependency "rake" with no version
<jkline> I guess I'll put one
<LiquidInsect> remove it from the gemspec file, your development dependencies should be in the Gemfile
Andreo_ has quit [Ping timeout: 252 seconds]
<LiquidInsect> in a group named development
ryannielson has quit [Quit: ryannielson]
<LiquidInsect> if you're going to use bundler, go all in
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
mityaz has quit [Quit: See ya!]
failshell has joined #ruby
<jkline> what about run time dependencies?
<LiquidInsect> should be in the default group
<jkline> and what does "all in" for Bundler imply?
<LiquidInsect> (which is to say in no group)
<LiquidInsect> I just mean, if you're going to use bundler, list your dependencies in the Gemfile
<LiquidInsect> not elsewhere
danslo has joined #ruby
bradhe has joined #ruby
<LiquidInsect> it's confusing to others working on your project. Obviously you can do whatever you want, but this is how most projects are set up
<LiquidInsect> but short solution is to list the version of rake you want whereever you're requiring it
<jkline> My goal is to create a gem and then an rpm from the gem. I don't need all the dependencies bundled into the same file, because each gem will have its own rpm. I don't understand the pros and cons of using a gemspec file vs a Gemfile. Can you please explain or recommend a document?
<LiquidInsect> bundler wouldn't do that anyway...
Guest52785 has quit [Remote host closed the connection]
Z_Mass has joined #ruby
<jkline> havenwood: thanks, reading...
<jkline> hey, whycats, I know that guy
brotatos has quit [Quit: WeeChat 0.4.1]
<LiquidInsect> so yeah, looks like you have it right
<LiquidInsect> just change the version of rake you're requiring in your gemspec
LennyLinux has joined #ruby
<jkline> LiquidInsect: that did produce the expected output from rake --version
<LiquidInsect> I've seen everyone just using Gemfiles lately. My bad.
<jkline> unfortunately it also still leaves a stack trace in the output...
<LiquidInsect> cool.
<LiquidInsect> :/
<jkline> This has been helpful for me to understand the gem world however
motto has joined #ruby
<jkline> I'm pretty sure I'm running into this problem https://github.com/jimweirich/rake/issues/198
mantas322 has joined #ruby
<mantas322> hi guys
<jkline> hi mantas322
pitzips has quit [Ping timeout: 256 seconds]
<mantas322> ruby novice here. I have an array object like array = [1,2,3,4]
<mantas322> can i append to this array
<LiquidInsect> yeah, 'array << 5' for instance
atyz has joined #ruby
<mantas322> array[4] = 5 and my new array will be array = [1,2,3,4,5]
<mantas322> oh
<mantas322> thanks
<mantas322> i'll try this
m8 has quit [Ping timeout: 248 seconds]
<mantas322> "<<"
yalue has quit [Read error: Connection reset by peer]
jrajav has joined #ruby
<mantas322> on an unrelated note: ruby is great for Project Euler!
<mantas322> big number limits "no in my ruby"
<mantas322> not*
<mantas322> :)
whowantstolivefo has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
jcromartie has quit [Quit: Computer has gone to sleep.]
<jlundy> hey guys
<jlundy> one more stupid question here
<jlundy> Im reading the a ruby OO tutorial and came across this code segment
<jlundy> def +(other) # Define + to do vector addition
<jlundy> end
<jlundy> Box.new(@width + other.width, @height + other.height)
<jlundy> so in theory it should be pulling the width and height from the box object Im passing in
<jlundy> but always seems to fail for me
atyz has quit [Ping timeout: 248 seconds]
Cultofmetatron has joined #ruby
<jlundy> claiming the width and height methods do not exist. Its not treating other.width as a variable
<jlundy> has the tutorial if you want to see the full class
<jlundy> Operator Overloading section
<Morrolan> Did you define the accessors?
rhys has joined #ruby
havenwood has quit [Remote host closed the connection]
<Morrolan> If yes - paste your code on one of the many pastebins. :)
ephemerian has quit [Read error: Operation timed out]
<jlundy> nope I didnt define an accessor
cj3kim has quit [Remote host closed the connection]
<jlundy> the code claims it should work as is. I would have expected "other.width" to get the width value from the second object
<Morrolan> Then the code there is probably at fault. You can use 'attr_reader :width, :height' to define read-only accessors, 'attr_writer :width, height' for write-only accessors, or 'attr_accessor :width, :height' for read- and write-accessors.
<Morrolan> (You could also define Box#width, Box#width= etc. yourself, but why do that if there's a convenient shortcut. :) )
Eiam has joined #ruby
pcarrier_ has quit [Ping timeout: 246 seconds]
<jlundy> Morrolan: thanks. I will look up attr_reader
<jlundy> <-- total ruby noob
monkegjinni has joined #ruby
wargasm has joined #ruby
marcgg_ has quit [Read error: Connection reset by peer]
Ortuna has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
marcgg has joined #ruby
<jlundy> created getWidth and getHeight methods and changed his other.width and other.height to use those instead and this makes much more sense now
<jlundy> thanks. :)
<Morrolan> That'll work too. :)
poga_ has joined #ruby
<Morrolan> Though in Ruby most people will simply use 'height' and 'height=' for their accessor methods.
<Morrolan> As for attr_reader, take a look at this: https://gist.github.com/Lavode/5680903
chrishough has quit [Quit: chrishough]
banister`sleep has quit [Remote host closed the connection]
Ortuna has quit [Client Quit]
<Morrolan> Those two classess will behave the same, attr_reader is simply a shortcut to create an accessor. (Same for attr_writer and attr_accessor)
jcromartie has joined #ruby
alexmreis has left #ruby [#ruby]
Kricir has quit [Remote host closed the connection]
<jlundy> cool thanks
Kricir has joined #ruby
icole has joined #ruby
_nitti has quit [Ping timeout: 276 seconds]
marr has joined #ruby
poga has quit [Ping timeout: 256 seconds]
gaahrdner has quit [Remote host closed the connection]
poga_ has quit [Remote host closed the connection]
sobering has left #ruby [#ruby]
poga has joined #ruby
gaahrdner has joined #ruby
miskander has quit [Quit: miskander]
Michael__ has joined #ruby
Cultofmetatron has quit [Remote host closed the connection]
DomKM has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
agjacome has quit [Quit: leaving]
slainer68 has joined #ruby
jerius_ has joined #ruby
kpshek has joined #ruby
Xeago has quit [Remote host closed the connection]
gaahrdner has quit [Ping timeout: 248 seconds]
miskander has joined #ruby
AgentWillyWonka has quit [Quit: Linkinus - http://linkinus.com]
jerius has quit [Ping timeout: 256 seconds]
jerius_ is now known as jerius
Zai00 has joined #ruby
brotatos has joined #ruby
Cultofmetatron has joined #ruby
DanKnox_away is now known as DanKnox
miclen has joined #ruby
emmanuelux has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
tymat has quit [Ping timeout: 252 seconds]
Michael__ has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby
Zai00 has quit [Quit: Zai00]
eldariof has quit [Ping timeout: 252 seconds]
Xeago has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
atyz has joined #ruby
geekbri has quit [Remote host closed the connection]
chrishough has joined #ruby
sailias has quit [Ping timeout: 245 seconds]
MrZYX is now known as MrZYX|off
jgrevich has quit [Read error: Operation timed out]
pcarrier_ has joined #ruby
jnoob22_ has quit [Remote host closed the connection]
nomenkun has quit [Remote host closed the connection]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
chandankumar has quit [Ping timeout: 264 seconds]
devoldmx has joined #ruby
razi has quit [Quit: Leaving.]
Todd has quit [Remote host closed the connection]
pr0ton has joined #ruby
mocfive has quit [Remote host closed the connection]
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
cantonic has joined #ruby
devoldmx3 has quit [Ping timeout: 252 seconds]
reset has joined #ruby
staafl has joined #ruby
jcromartie has quit [Quit: Computer has gone to sleep.]
yekta has joined #ruby
lucianosousa has quit [Quit: lucianosousa]
workmad3 has joined #ruby
rippa has quit [Ping timeout: 240 seconds]
daniel_- has quit [Ping timeout: 252 seconds]
greenarrow|2 has quit [Read error: Connection reset by peer]
daniel_- has joined #ruby
Michael__ has joined #ruby
atyz has quit [Quit: Leaving...]
Geometry9 has joined #ruby
fumbe has joined #ruby
Kricir has quit [Remote host closed the connection]
mantas322 has quit [Quit: Page closed]
ivanoats has quit [Remote host closed the connection]
tjkrusinski has joined #ruby
Lubinski has quit [Quit: Leaving]
ia___ has quit [Quit: ia___]
johnnyfuchs1 has quit [Remote host closed the connection]
timkohrumel has quit [Remote host closed the connection]
pitzips has joined #ruby
DanKnox is now known as DanKnox_away
timkohrumel has joined #ruby
johnnyfuchs has joined #ruby
stonevil has quit [Ping timeout: 248 seconds]
ARCADIVS has joined #ruby
krombr has joined #ruby
DanKnox_away is now known as DanKnox
darthdeu has joined #ruby
darthdeu has quit [Read error: Connection reset by peer]
darthdeu has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
brotatos has left #ruby ["WeeChat 0.4.1"]
darthdeu has quit [Read error: Connection reset by peer]
workmad3 has quit [Read error: Operation timed out]
hamburgerath has joined #ruby
includex has joined #ruby
tchebb has quit [Ping timeout: 256 seconds]
DanKnox is now known as DanKnox_away
tjkrusinski has quit [Ping timeout: 248 seconds]
ArchBeOS has quit [Remote host closed the connection]
boxmein has quit [Quit: >__ER#I!]
mocfive has joined #ruby
stonevil has joined #ruby
darthdeus has quit [Ping timeout: 264 seconds]
interactionjaxsn has joined #ruby
miclen has quit [Ping timeout: 248 seconds]
_ffio_ has joined #ruby
thomasfedb has quit [Ping timeout: 252 seconds]
tchebb has joined #ruby
brunoro has joined #ruby
mjburgess has quit [Ping timeout: 252 seconds]
ffio_ has quit [Ping timeout: 256 seconds]
lancepantz has quit [Ping timeout: 248 seconds]
darkapex has quit [Ping timeout: 264 seconds]
wmoxam has quit [Ping timeout: 256 seconds]
qkdt has joined #ruby
ivanoats has joined #ruby
sivoais has quit [Ping timeout: 256 seconds]
autumn has quit [Ping timeout: 246 seconds]
thomasfedb has joined #ruby
Appineer has quit [Remote host closed the connection]
Ortuna has joined #ruby
autumn has joined #ruby
sivoais has joined #ruby
<qkdt> hello what is respond_to in this code sample: a class? a function? the | thing | kinda confuses me :D
<qkdt> respond_to do |format|
<qkdt> format.html
<qkdt> end
<qkdt> format.any(:xml, :json) { render request.format.to_sym => @people }
emmanuelux has quit [Ping timeout: 248 seconds]
<qkdt> what is respond_to and |format|
mmitchell has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby
timonv has quit [Remote host closed the connection]
Geometry9 has left #ruby [#ruby]
jerius_ has joined #ruby
clevermatt has joined #ruby
ehaliewicz has joined #ruby
wargasm has quit [Ping timeout: 252 seconds]
kpshek has quit []
darkapex has joined #ruby
JZTech101 has quit [Ping timeout: 248 seconds]
evenix has quit [Remote host closed the connection]
jerius has quit [Ping timeout: 252 seconds]
jerius_ is now known as jerius
evenix has joined #ruby
atmosx has quit [Quit: And so the story goes…]
sivoais has quit [Ping timeout: 252 seconds]
Bleah has quit [Ping timeout: 248 seconds]
wereHamster has quit [Changing host]
wereHamster has joined #ruby
<lectrick> What if every class contained its own test suite? like in Classname.test for example?
Liquid-- has quit [Quit: Computer has gone to sleep.]
headius has quit [Read error: Operation timed out]
evenix has quit [Ping timeout: 248 seconds]
headius has joined #ruby
kpshek has joined #ruby
sivoais has joined #ruby
timonv has joined #ruby
saarinen has quit [Quit: saarinen]
Osc- has joined #ruby
saarinen has joined #ruby
<TTilus> lectrick: like this https://github.com/terotil/InlineExamples
spider-mario has quit [Read error: Connection reset by peer]
<sa1k0> a = false
<sa1k0> is a considered a string?
Osc- has quit [Client Quit]
<TTilus> lectrick: yes, it never got anywhere
fuzzyhorns has quit [Remote host closed the connection]
<TTilus> sa1k0: ruby is dynamically typed
emergion has joined #ruby
[m]adman has quit [Ping timeout: 256 seconds]
mawueli has joined #ruby
mawueli is now known as Guest4803
<TTilus> sa1k0: variable (here "a") is mere pointer to value with no type information, value has the type information
<TTilus> sa1k0: >> false.class
lushious has quit [Quit: "Spending the night in bed with your moms"]
jgarvey has quit [Remote host closed the connection]
<TTilus> => FalseClass
randomlogin has joined #ruby
<sa1k0> hmm
<sa1k0> Thanks dude
<TTilus> qkdt: respond_to is a method call
jonathanwallace has quit [Quit: WeeChat 0.4.0]
<qkdt> TTilus a method from a class? and also what is |format| in that context?
wargasm has joined #ruby
JustinAiken has quit [Quit: Leaving.]
sivoais has quit [Ping timeout: 252 seconds]
<TTilus> qkdt: a method in the context the code resides
<qkdt> oh
<TTilus> s/resides/is executed/
<TTilus> qkdt: looks like rails controller stuff
<qkdt> yes i wanted to learn rails but demoted myself to just ruby
<qkdt> because of these things i can't seem to understand xD
Guest4803 has quit [Remote host closed the connection]
<TTilus> qkdt: respond_to is an instance method of rails controller class
<qkdt> and what about |format|
sambao21 has joined #ruby
<TTilus> qkdt: do ... end is a block, which is a closure, you can think of it as unnamed function
<TTilus> qkdt: |format| is the parameter list of that function
Xeago_ has joined #ruby
<qkdt> soof the respond_to
<qkdt> yea it starts to make sense
niceguyjames has quit [Quit: Computer has gone to sleep.]
<TTilus> qkdt: so the unnamed function given to respond_to as parameter, takes one parameter
JZTech101 has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
sivoais has joined #ruby
<TTilus> qkdt: are you familiar with other languages?
<qkdt> just python
<qkdt> and a lil bit of C
cjs226 has quit [Quit: cjs226]
ariedler has quit [Remote host closed the connection]
<qkdt> so |format| is given to respond_to when the anonymous block reaches end?
<randomlogin> maybe someone can help me: performing a tls handshake i receive that error:
<randomlogin> "SSL_connect returned=1 errno=0 state=SSLv3 read server hello A: unexpected record (OpenSSL::SSL::SSLError)"
<randomlogin> what does it mean?
wesside has quit [Quit: Ice cream truck!]
Xeago has quit [Ping timeout: 276 seconds]
<jkline> qkdt: |format| is the parameter to the unnamed function block
wesside has joined #ruby
Eaven has quit [Remote host closed the connection]
pipework has quit [Remote host closed the connection]
<jkline> when you pass a block to a function or method you are requested a callback. The function or method, in this case respond_to, will execute your block. Sometimes more than once.
<jkline> when it calls your block it can pass in arguments just like a normal function, and those arguments are named inside the pipes
interactionjaxsn has quit [Remote host closed the connection]
pipework has joined #ruby
Azulinho has joined #ruby
<qkdt> jkline i think i understand now, i also red about blocks in a book
interactionjaxsn has joined #ruby
<qkdt> i will have to go throw it and read about it again because i didn't understand it properly
<qkdt> thank you for explanation
<jkline> that happens to me too :)
failshell has quit [Remote host closed the connection]
wesside has quit [Client Quit]
Michael__ has quit [Remote host closed the connection]
Azulinho has quit [Client Quit]
sivoais has quit [Ping timeout: 240 seconds]
<TTilus> qkdt: blocks are nice syntax for passing anonymous functions as parameter
<TTilus> qkdt: ruby has lambda too, in python you would use lambdas and inner functions to achieve things that are done with blocks in ruby
<qkdt> i see
Azulinho has joined #ruby
sivoais has joined #ruby
interactionjaxsn has quit [Ping timeout: 252 seconds]
snearch has joined #ruby
lucianosousa has joined #ruby
<TTilus> qkdt: and when you see keyword "yield", thats how you call the anonymous function which you have received as a parameter
forrest has quit [Quit: Leaving]
<qkdt> yea that is the easy way
<TTilus> qkdt: you see, ruby allows you to omit block parameter from method parameter list
tonini has joined #ruby
wesside has joined #ruby
Azulinho has quit [Client Quit]
<qkdt> there is also another way to call the anonymous function
Xeago_ is now known as Xeago
freerobby has quit [Quit: Leaving.]
<TTilus> qkdt: you can do either def foo; yield; end, or def foo(&block); block.call; end
<qkdt> exactly
<TTilus> they are basically the same thing
<qkdt> yea i wish the books would explain the things i just found out here
<qkdt> like the fact that |format| for example is just a parameter passed to the anonymous function from the respond_to method
<TTilus> now there is in fact three ways :)
<qkdt> xD
<TTilus> yield, #call and #()
ferdev has joined #ruby
<TTilus> and new stabby lambda syntax
johnnyfuchs1 has joined #ruby
<TTilus> ->{ 1+1 }.()
<qkdt> i never fully understood lambdas xD
workmad3 has joined #ruby
<qkdt> maybe some day
<TTilus> that ->{ 1+1 } is a function that does not take any arguments, calculates 1+1 and returns the result
Cultofmetatron has quit [Remote host closed the connection]
johnmilton has quit [Remote host closed the connection]
Azulinho has joined #ruby
kirun has quit [Quit: Client exiting]
<TTilus> the .() calls the function
timonv has quit [Remote host closed the connection]
<qkdt> yea it's the second type of block the one which is mostly used for one line code xD
<qkdt> of course that's not the real reason
<qkdt> it's because it has higher precedence then the do end block
lewis has quit [Remote host closed the connection]
<TTilus> there is a difference, { } is a block, ->{ } is lambda
tonini has quit [Ping timeout: 248 seconds]
<qkdt> oh
<qkdt> i didn't notice the ->
<TTilus> that -> is why its called "stabby" ;)
<qkdt> xD indeed
sivoais has quit [Ping timeout: 248 seconds]
<lectrick> TTilus: Nice, you wrote that eh
johnnyfuchs has quit [Ping timeout: 248 seconds]
[0x1a] has joined #ruby
graydot has joined #ruby
<TTilus> lectrick: looooong time ago
graydot has quit [Client Quit]
graydot has joined #ruby
havenwood has joined #ruby
<lectrick> Point 2: What if Ruby had C-compiled versions of immutable collection classes such as that implemented by Hamster in pure Ruby?
akells` has quit [Remote host closed the connection]
<lectrick> Point 3: If I override []=, why can't I return whatever I want? Why does Ruby force the assigned value to be returned even if I return something different?
axl_ has quit [Quit: axl_]
Michael__ has joined #ruby
noname001 has joined #ruby
sivoais has joined #ruby
lewis has joined #ruby
<TTilus> lectrick: it is an invariant in ruby that assignments return rhs
emergion has quit [Quit: Computer has gone to sleep.]
<TTilus> lectrick: plain design decision
<lectrick> TTilus: I guess that makes sense given that I can't override pure assignment
jbpros has quit [Quit: jbpros]
<lectrick> Although that could be pretty powerful
Michael__ has quit [Remote host closed the connection]
wesside has quit [Quit: Computer has gone to sleep.]
Michael__ has joined #ruby
jerius has quit [Read error: Operation timed out]
nezumi has joined #ruby
miskander has quit [Quit: miskander]
DanKnox_away is now known as DanKnox
niceguyjames has joined #ruby
nomenkun has joined #ruby
Inoperable is now known as Inoperabled
`brendan has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]
DaltonUS has quit [Quit: DaltonUS]
lewis has quit [Ping timeout: 276 seconds]
Kar- has quit [Remote host closed the connection]
freeayu has joined #ruby
Michael__ has quit [Ping timeout: 248 seconds]
bamdad has joined #ruby
<TTilus> lectrick: what would the default implementation of that look like?
freerobby has joined #ruby
Spami has joined #ruby
sivoais has quit [Ping timeout: 276 seconds]
<TTilus> lectrick: class Object; def =(rhs); ...; end; end
<TTilus> lectrick: fill in
chipotle has joined #ruby
<TTilus> lectrick: im just curious
c0rn has quit [Quit: Computer has gone to sleep.]
nomenkun has quit [Ping timeout: 240 seconds]
Spami has quit [Client Quit]
alex__c2022 has joined #ruby
alex__c2022 has quit [Client Quit]
sivoais has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
c0rn has joined #ruby
<lectrick> heh, yeah. self.replace(rhs) haha
<lectrick> TTilus: self.replace(rhs); return rhs; end (or alternately, return self; end) ;)
Spami has quit [Client Quit]
<lectrick> it is just odd that I can override []= but it doesn't matter what I return, even though that is a method invocation
adkron_ has joined #ruby
<TTilus> lectrick: i assume you are aware of the fundamental difference between "pure assignment" and []=
devoldmx3 has joined #ruby
codecop has quit [Remote host closed the connection]
Artheist has quit [Remote host closed the connection]
jtharris has quit [Quit: WeeChat 0.4.0]
<jkline> TTilus: I am not. what is the difference?
DanKnox is now known as DanKnox_away
l33 has quit [Remote host closed the connection]
dr0p has quit [Ping timeout: 264 seconds]
<TTilus> lectrick: it is balancing between surprising method writer by not passing return value and surprising method user by returning something totally unrelated from an expression that looks like an assignment
adkron has quit [Ping timeout: 256 seconds]
devoldmx has quit [Ping timeout: 248 seconds]
<TTilus> lectrick: surprising method writer was selected to be the least surprise
gaahrdner has joined #ruby
mikepack has quit [Remote host closed the connection]
sivoais has quit [Ping timeout: 240 seconds]
jrajav has quit [Quit: I tend to be neutral about apples]
<TTilus> jkline: a = 1 binds value 1 to name a, it is a core language level construct
banister`sleep has joined #ruby
<TTilus> jkline: a.b = 1 is syntactic sugar for a.b=(1) which is just another method call
qkdt has quit [Remote host closed the connection]
bean__ has quit [Quit: Textual IRC Client: www.textualapp.com]
adkron has joined #ruby
<nightfly> So variables in ruby aren't implemented as setting properties on some magical object?
<TTilus> jkline: same goes for a[b] = 1, which sugars a.[](b, 1)
alanjc has left #ruby [#ruby]
<workmad3> TTilus: invoke it as an assignment, it returns the rhs (as expected), invoke it as a method, it returns the method return (as expected) :)
<TTilus> nightfly: disappointed now? :)
alanjc has joined #ruby
RORgasm has quit [Read error: Connection reset by peer]
RORgasm_ has joined #ruby
bamdad has quit [Quit: bamdad]
<TTilus> workmad3: good correction!
kemist has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nightfly> Not dissapointed, just kind of suprised given how ruby is /very/ object oriented.
sivoais has joined #ruby
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
adkron_ has quit [Ping timeout: 248 seconds]
Ortuna has quit [Quit: Computer has gone to sleep.]
zigomir_ has quit [Ping timeout: 276 seconds]
atSetKey has left #ruby ["Leaving..."]
igaiga has joined #ruby
DanKnox_away is now known as DanKnox
<workmad3> nightfly: well, you can call 'binding' which gives you an object sort of like that
arya has quit [Ping timeout: 248 seconds]
<jkline> so if a is an object then a = 1 does not call the function = on a?
<banister`sleep> there is no '=' function in ruby
<jkline> method?
<banister`sleep> no
<jkline> " a.b = 1 is syntactic sugar for a.b=(1) which is just another method call" ?
<banister`sleep> no
<jkline> what am I missing?
<banister`sleep> it's just syntax
<banister`sleep> it happens at a lower level that method/function invocation
<banister`sleep> it's like in C
<TTilus> the difference between a = 1 and a.b = 1
<jkline> a.b = 1 means "set the value of a.b" right?
sqa_bm_ has joined #ruby
cantonic has quit [Ping timeout: 256 seconds]
<jkline> so like: teacher.name=TTilus
cantonic_ has joined #ruby
monkegjinni has quit [Remote host closed the connection]
<jkline> so teacher.name is a String
<banister`sleep> jkline: yeah, in that case it is, but that's the b= method, not a raw '='
ravster has left #ruby [#ruby]
<jkline> aaaah
ariedler has joined #ruby
freeayu has quit [Ping timeout: 276 seconds]
<TTilus> jkline: but "teacher.name" is not variable name
arya has joined #ruby
<jkline> ok, see.
<TTilus> jkline: ruby sees teacher.name=(TTilus)
<workmad3> jkline: a.b = c is different from a = c
<jkline> ok, got it.
sivoais has quit [Ping timeout: 248 seconds]
<TTilus> jkline: where "teacher" and "TTilus" are var names and "name=" method name
<jkline> you're calling a setter function that happens to have the name "name=" instead of something like "setName" that you might use in some other language
<workmad3> jkline: pretty much, yes
<jkline> ok
jbueza has quit [Quit: Leaving.]
crazymykl has quit [Read error: Connection reset by peer]
<jkline> now I have to go learn mocks
jbueza has joined #ruby
freeayu has joined #ruby
Davey has joined #ruby
mikewintermute_ has joined #ruby
dr0p has joined #ruby
crazymykl has joined #ruby
pskosinski has quit [Remote host closed the connection]
RORgasm_ is now known as RORgasm
mikewintermute has quit [Ping timeout: 252 seconds]
mikewintermute_ is now known as mikewintermute
sivoais has joined #ruby
pkondzior___ has joined #ruby
arya has quit [Ping timeout: 248 seconds]
atyz has joined #ruby
faulkner has quit [Read error: Operation timed out]
headius has quit [Quit: headius]
epochwolf has quit [Read error: Operation timed out]
x13378071 has quit [Read error: Operation timed out]
DomKM has quit [Read error: Connection reset by peer]
emmanuelux has joined #ruby
DomKM has joined #ruby
ahuman has quit [Read error: Operation timed out]
Davey has quit [Client Quit]
passcod has quit [Ping timeout: 240 seconds]
thomasfedb has quit [Ping timeout: 246 seconds]
rcs has quit [Ping timeout: 245 seconds]
splittingred has quit [Quit: splittingred]
awc737 has joined #ruby
pskosinski has joined #ruby
sgharms_ has quit [Read error: Operation timed out]
bmn has quit [Ping timeout: 245 seconds]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
ShapeShifter499 has quit [Ping timeout: 240 seconds]
darkapex has quit [Ping timeout: 252 seconds]
SegFaultAX has quit [Ping timeout: 260 seconds]
jjbohn has quit [Quit: Leaving...]
brendal has joined #ruby
arusso has quit [Ping timeout: 240 seconds]
shadoi has quit [Ping timeout: 245 seconds]
d_roge has quit [Ping timeout: 240 seconds]
ahuman has joined #ruby
sgharms has joined #ruby
Tarential has quit [Ping timeout: 264 seconds]
huoxito has joined #ruby
bmn has joined #ruby
Sou|cutter has quit [Ping timeout: 245 seconds]
sivoais has quit [Read error: Connection reset by peer]
rblackwe has quit [Ping timeout: 264 seconds]
shadoi has joined #ruby
faulkner has joined #ruby
wsterling has quit [Remote host closed the connection]
x1337807x has joined #ruby
rcs has joined #ruby
yekta has quit [Quit: yekta]
rblackwe has joined #ruby
arya has joined #ruby
RORgasm has quit [Remote host closed the connection]
gaahrdner has quit [Remote host closed the connection]
yekta_ has joined #ruby
yekta_ has quit [Client Quit]
ahuman has quit [Client Quit]
epochwolf has joined #ruby
ahuman has joined #ruby
akells` has joined #ruby
bamdad has joined #ruby
tjkrusin1ki has joined #ruby
thomasfedb has joined #ruby
razi has joined #ruby
arusso has joined #ruby
<sqa_bm_> How can I display screen shots for test reporting using rspec formatter? The general rspec formatter does not support screen shot display.
<joshu> i have a silly question well maybe it's not silly but here goes. is there a relatively easy way to have let's say a template pdf file which gets populated at specific parts by user input.
razi has quit [Client Quit]
<joshu> For instance the simplest example is a pdf file with one line of text which reads "Hello <name>" <name> is populated all by ruby?
rblackwe has quit [Ping timeout: 252 seconds]
Tarential has joined #ruby
motto has quit [Quit: Sto andando via]
faulkner has quit [Ping timeout: 248 seconds]
wharfrat has joined #ruby
DrForr__ has quit [Ping timeout: 248 seconds]
kpshek has quit []
rblackwe has joined #ruby
bradhe has quit [Remote host closed the connection]
arusso has quit [Changing host]
arusso has joined #ruby
bmn has quit [Ping timeout: 248 seconds]
choobie has quit [Ping timeout: 245 seconds]
v0n has quit [Ping timeout: 256 seconds]
DrForr_ has joined #ruby
<workmad3> joshu: no, but you can use Prawn to generate a pdf file with ruby
bamdad has quit [Client Quit]
saarinen has quit [Quit: saarinen]
arya has quit [Ping timeout: 248 seconds]
sgharms has quit [Ping timeout: 252 seconds]
digitalcake has joined #ruby
<joshu> workmad3 would i be able to have a pdf template with prawn and add to it?
<joshu> workmad3 thinking of a cover page type of thing
<workmad3> joshu: pdf isn't really something you can 'template' in the sense of having a file and inserting strings into it
Ortuna has joined #ruby
sgharms has joined #ruby
<joshu> workmad3 ok so prawn would be creating a pdf from scratch
<workmad3> joshu: yeah
SegFaultAX has joined #ruby
Soulcutter has joined #ruby
<workmad3> joshu: you could, I suppose, consider your file that generates the pdf with prawn as a 'template'
faulkner has joined #ruby
<workmad3> joshu: but it's not quite correct to think that way
wmoxam has joined #ruby
<joshu> workmad3 you mean say the ruby script would have some type of "template" block or similar
digitalcake has quit [Client Quit]
<joshu> workmad3 not really a template but i see what you mean
<joshu> hmm
<workmad3> joshu: no, the ruby script would contain the structure you want to build
<workmad3> joshu: using the prawn dsl
digitalcake has joined #ruby
<joshu> workmad3 yeah that's sort of what i meant
bmn has joined #ruby
ntus1017 has quit [Remote host closed the connection]
<apeiros_> you can also use webkit to convert html to pdf
lucianosousa has quit [Quit: lucianosousa]
<apeiros_> there's a ruby binding for a headless webkit to do that
<apeiros_> @ joshu & workmad
<workmad3> joshu: the issue with attempting to simply 'template' pdf is that the final file contains a lot of layout information which is dependent on the length of strings, the font, etc
<apeiros_> sadly webkit still does not support a couple of print-relevant css features
includex has quit [Quit: Leaving...]
<workmad3> apeiros_: I believe you don't get as much control over the output with that though ;)
<apeiros_> depends
<workmad3> apeiros_: it's more like a 'here's you page as some form of pdf, take it or leave it'
<apeiros_> don't know about webkit, we use princexml at work
<apeiros_> and there it's a) shitloads easier than doing prawn, and b) you get quite a lot of control
<joshu> workmad3 i jus found this http://stackoverflow.com/a/7114940/554352
generalissimo has quit [Remote host closed the connection]
<joshu> apeiros_ you create pdfs at work?
<apeiros_> a couple of dozens, yes
<joshu> and you use princexml?
<apeiros_> but as said, we use princexml, which costs ~3k
<joshu> oh ok
<joshu> hehe
Hanmac2 has joined #ruby
SegFaultAX has quit [Ping timeout: 240 seconds]
brunoro has quit [Ping timeout: 240 seconds]
<workmad3> joshu: that's the same solution as I just suggested
<workmad3> joshu: except that prawnto is an old rails plugin that integrates prawn into the rails 2 render pipeline
bradhe has joined #ruby
<joshu> workmad3 ok i'm just using plain ruby
<workmad3> joshu: so you create prawn 'templates' in rails parlance, which are simply ruby scripts using prawn to generate a pdf
<apeiros_> blerp
wmoxam has quit [Read error: Connection reset by peer]
<apeiros_> tying pdf generation to controllers was the worst I ever did
emmanuelux has quit [Ping timeout: 276 seconds]
ybart has quit [Quit: ybart]
fuzzyhorns has joined #ruby
arya has joined #ruby
theRoUS has quit [Ping timeout: 276 seconds]
<joshu> workmad3 so "they've had the ability to import another pdf for use as a "template" per se. " this is about importing an actual pdf file and adding to it?
Hanmac has quit [Ping timeout: 264 seconds]
<joshu> instead of replacing I can add if that's any different..sorry if i'm going in circles
<workmad3> joshu: if you read the comments on the first accepted answer you'll see someone saying 'there's no good or easy way to do that'
SegFaultAX has joined #ruby
sqa_bm_ has quit [Read error: Connection reset by peer]
sqa_bm has joined #ruby
<workmad3> joshu: and it really boils down to pdf being a format for laying things out, so it's not something you can easily create a template for and then 'slot in' values afterwards
<joshu> workmad3 ok dropping it. i'm googling prawn pdf creation form scratch to see how difficult it is to do something that looks decent
browndawg has joined #ruby
<workmad3> joshu: prawn is pretty easy to use IMO :)
browndawg has left #ruby [#ruby]
_Amaan has quit [Quit: _Amaan]
<workmad3> joshu: the other thing you could consider, if you feel a bit masochistic, would be to create a latex template
cofin has quit [Quit: cofin]
<workmad3> joshu: that's something you *can* template and then insert values into, then generate a pdf from it
wmoxam has joined #ruby
arya has quit [Read error: Connection reset by peer]
arya_ has joined #ruby
<joshu> workmad3 if you knew the type of shit i deal with on a daily basis…"masochistic" is an understatement :(
d_roge has joined #ruby
tootubular has quit [Quit: tootubular]
<workmad3> joshu: maybe have a look at latex then ;)
<joshu> workmad3 haha
<joshu> workmad3 are you a mac user?
<workmad3> I am
ShapeShifter499 has joined #ruby
<joshu> you have pages?
<workmad3> nope
<joshu> iwork pages?
yairgo has quit [Ping timeout: 276 seconds]
<joshu> ok have you seen the templates in pages?
<workmad3> no
<joshu> ok
<joshu> hehe
mocfive has quit [Remote host closed the connection]
rhys has quit [Quit: Leaving]
saarinen has joined #ruby
sqa_bm has quit [Ping timeout: 252 seconds]
<joshu> the crux is that i have a simple pdf template for use with a fucked up fax online system. that system only excepts…wait for it…doc and rtf. well guess what converting the pdf to those shitty formats looks like crap. furthermore the fax system requires certain tags that get populated and those are not functional when converting
ephemerian has joined #ruby
<workmad3> right... so rendering a pdf to an image and setting it as the background image in a .doc... no go? :)
devoldmx3 has quit [Ping timeout: 276 seconds]
<joshu> so being the macgyver i am as apeiros_ already knows what i'm working on…I started to think why don't i just build a system that populates the pdf myself
<Xeago> joshu: why pdf anyways?
digitalcake has quit [Quit: Leaving.]
<apeiros_> IME if the template doesn't change often, just recreating it in prawn/html is easier, faster and more reliable
<joshu> workmad3 hmmm.. what about adding fields on top of that image?
wmoxam has quit [Ping timeout: 248 seconds]
<workmad3> joshu: you could... it would probably be more horrendous than what you currently have though :P
<joshu> template is 92.3% always the same…what changes are subject, fax number, from, to, message
<joshu> Xeago how do you mean?
<apeiros_> joshu: those can be parametrized too
mocfive has joined #ruby
<joshu> apeiros_ exactly
<apeiros_> a change in template is if the layout changes
<Xeago> what is the requirement to use PDF?
<workmad3> if the template is pretty simple, just generate it with prawn and use that to stick in the values
<joshu> i already have that data ;)
<Xeago> in my experience RTF is quite easy to work with
<joshu> layout will be same, so templete is a single one only
arya_ has quit []
<joshu> Xeago I tried RTF but I was not able to recreate the layout so that it looked acceptable…i tried saving directly to RTF, converting from PDF to RTF. but I learnt that there are different RTF "versions" the fax provider only accepts the one you get on windows
emergion has joined #ruby
<joshu> TextEdit on Mac RTF differs from Windows RTF apparently
willob has joined #ruby
terrellt has quit [Ping timeout: 256 seconds]
<apeiros_> "standards"
<apeiros_> <3
<apeiros_> /sarcasm
<workmad3> apeiros_: you love standards
<apeiros_> I love standards. I hate "standards".
tomzx_mac has joined #ruby
arya has joined #ruby
gasbakid has quit [Read error: Connection reset by peer]
<apeiros_> hm, I need a new monitor. back when I bought this one, it wasn't an issue that it only had one input…
gstamp has joined #ruby
whowantstolivefo has quit [Ping timeout: 248 seconds]
<joshu> if only companies thought about the services they build and offer things would be different but unfortunately very few do
F1skr has quit [Quit: WeeChat 0.4.1]
jlast has quit [Ping timeout: 276 seconds]
xardas has quit [Ping timeout: 276 seconds]
arya has quit [Read error: Connection reset by peer]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
jztech101_ has joined #ruby
atyz has quit [Read error: Connection reset by peer]
Michael__ has joined #ruby
devoldmx has joined #ruby
atyz has joined #ruby
digitalcake has joined #ruby
arya_ has joined #ruby
JZTech101 has quit [Ping timeout: 248 seconds]
jnoob22 has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
bamdad has joined #ruby
monkegjinni has joined #ruby
justsee has quit [Ping timeout: 248 seconds]
saarinen has quit [Quit: saarinen]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
darkapex has joined #ruby
digitalcake has left #ruby [#ruby]
freerobby has quit [Quit: Leaving.]
igaiga has quit [Remote host closed the connection]
daniel_- has quit [Quit: WeeChat 0.4.1]
<joshu> btw thanks for all the suggestions I'm currently investigating what to do
monkegjinni has quit [Remote host closed the connection]
Inside has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
alex__c2022 has joined #ruby
mocfive has quit [Remote host closed the connection]
mocfive has joined #ruby
ner0x has joined #ruby
alvaro_o has joined #ruby
cofin has joined #ruby
alvaro_o has quit [Read error: Connection reset by peer]
chipotle has quit [Quit: cya]
ephemerian has left #ruby [#ruby]
alex__c2022 has quit [Ping timeout: 248 seconds]
pcarrier_ has quit [Ping timeout: 252 seconds]
mattp_ has joined #ruby
devoldmx3 has joined #ruby
denken has quit [Quit: poof]
<Xeago> ah the rtf version lock ;)
<Xeago> always a pain to walk into :\
speakingcode has quit [Ping timeout: 248 seconds]
pcarrier_ has joined #ruby
speakingcode has joined #ruby
atyz has quit [Read error: Connection reset by peer]
devoldmx has quit [Ping timeout: 276 seconds]
atyz has joined #ruby
atyz has quit [Remote host closed the connection]
<ner0x> How can I make accessible variables inside a class?
<ner0x> Er.. from outside of a class.
<ner0x> Record.STATUS_LIST = ['list', 'of', 'status', 'types'] etc.
bamdad has quit [Quit: bamdad]
brian_000_ has quit [Quit: Leaving]
tjkrusin1ki has quit [Ping timeout: 252 seconds]
brianherman has joined #ruby
<jkline> ner0x: attr_reader: STATUS_LIST ?
<apeiros_> ner0x: Record.STATUS_LIST is a method, not a variable
<apeiros_> obj.foo is *always* a method call
<ner0x> Hm...
<ner0x> def STATUS_LIST; [stuff]; end then
tommyvyo has quit [Quit:]
<apeiros_> def STATUS_LIST=(value); …; end
<apeiros_> for assignment
<ner0x> apeiros_: I'd want it a constant.
<ner0x> apeiros_: So no assignment I assume?
<apeiros_> then you can't use .
<apeiros_> constants are resolved using ::
IceDragon has joined #ruby
<ner0x> Oh. Well how do I do that?
<apeiros_> Record::STATUS_LIST = value
<ner0x> apeiros_: Set from inside the Model I mean.
<apeiros_> though, SCREAMING_CAMEL is fugly IMO
<apeiros_> ner0x: what stops you?
arya_ has quit []
<apeiros_> constants must be on a module or class
nwertman has joined #ruby
Michael__ has quit [Remote host closed the connection]
rads has quit [Quit: rads]
<ner0x> Oh so you really just put it... er..
* ner0x tries it.
pskosinski has quit [Quit: pskosinski]
<ner0x> Wow.
<ner0x> I'm dumb.
<ner0x> class Thing; STATUS_LIST = [1234]; end; Thing::STATUS_LIST => [1234]; <-- win.
baroquebobcat has quit [Quit: baroquebobcat]
<ner0x> I'm wondering if this sort of thing would be better put in a DB and references though.
predator217 has joined #ruby
Xeago has quit [Remote host closed the connection]
johnnyfuchs1 has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
jnoob22_ has joined #ruby
predator117 has quit [Ping timeout: 264 seconds]
Ortuna has quit [Quit: Computer has gone to sleep.]
xcv has joined #ruby
Cyrus has joined #ruby
jnoob22 has quit [Ping timeout: 241 seconds]
freerobby has joined #ruby
twoism has quit [Remote host closed the connection]
gaahrdner has joined #ruby
Michael__ has joined #ruby
marr has quit [Ping timeout: 248 seconds]
staafl has quit [Ping timeout: 252 seconds]
slainer68 has quit [Remote host closed the connection]
statarb3 has joined #ruby
l33 has joined #ruby
lancepantz_ has joined #ruby
lancepantz_ is now known as lancepantz
l33 has quit [Remote host closed the connection]
mattp_ has quit [Read error: Operation timed out]
banister`sleep is now known as sleep`sleep
statarb3 has quit [Client Quit]
LennyLinux has quit [Remote host closed the connection]
niklasb has quit [Ping timeout: 260 seconds]
gaahrdner has quit [Ping timeout: 252 seconds]
digitalcake has joined #ruby
freerobby has quit [Ping timeout: 252 seconds]
snearch has quit [Quit: Verlassend]
ffranz has quit [Quit: Leaving]
willob has quit [Ping timeout: 240 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
cofin has quit [Quit: cofin]
mixel has joined #ruby