apeiros changed the topic of #ruby-lang to: Ruby 2.1.0-p0; 2.0.0-p353; 1.9.3-p484: http://ruby-lang.org|| Paste >3 lines of text on http://gist.github.com || RubyConf 2013 at http://www.justin.tv/confreaks
<ljarvis> anoob: Time#at
<ljarvis> er Time::at
<anoob> ljarvis, thank you very much
<anoob> it worked like a charm ljarvis
FiXato|IkkeHer has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
seanlinsley has quit [Quit: …]
havenwood has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #ruby-lang
_tockitj has quit [Ping timeout: 248 seconds]
havenwood has quit [Ping timeout: 240 seconds]
<anoob> i've created a simple twitter parser ... i'm not (and don't want to) use the twitter api, it's just a simple application to practice ruby ... i'm a noob in ruby ... how could i "rubyfy" this code? http://tinyurl.com/my-twitter-scrapper-6
<anoob> suggestions are welcome!
Andrevan has joined #ruby-lang
<anoob> i know its brittle ... it depends on dom ... but i'm focussed in learning/practicing ruby itself ...
lfox has quit [Quit: ZZZzzz…]
threeifbywhiskey has joined #ruby-lang
threeifbywhiskey has quit [Client Quit]
<ljarvis> anoob: I think it's okay, I'd group the attr_readers into lists though
simoz14 has joined #ruby-lang
<anoob> ":attr_reader :foo, :bar" ... ?
<anoob> ops
<anoob> "attr_reader :foo, :bar"
<anoob> *
<ljarvis> indeed
<anoob> ljarvis, hum... i see
<ljarvis> also, your classes are very basic right now, I'd consider using basic structs
<anoob> what do you mean by basic structs?
<ljarvis> anoob: ri Struct
<anoob> Nothing known about Struct
simoz15 has joined #ruby-lang
<ljarvis> heh
simoz13 has quit [Ping timeout: 245 seconds]
<ljarvis> you must not have ri docs installed properly, no biggy you can check it out online
<anoob> Debian Linux: "ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]"
<anoob> Debian sid ...
<anoob> I have it already installed
<ljarvis> yep
simoz14 has quit [Ping timeout: 240 seconds]
porternick has quit [Quit: porternick]
<anoob> ljarvis, thank you very much again
<ljarvis> np!
<anoob> tweet, for example, will have a method called is_retweet ...
<ljarvis> bbiab
<anoob> i think i'll create methods in my models ...
<atmosx> anoob: you do that
<anoob> tweet and twitter_profile model classes ...
<anoob> so, a struct wouldn't work in this case, right ljarvis?
<anoob> sorry, i'm a php developer ... learning ruby ...
<atmosx> anoob: php is the devil
<atmosx> shou
<anoob> atmosx, i does work :)
<anoob> it does work, i meant
<atmosx> anoob: php or Struct.new?
<anoob> php atmosx, hehehe
<atmosx> anoob: I know, half hte intenret sits on php (facebook + wordpress)
bzalasky has joined #ruby-lang
<anoob> i like computer programming, atmosx ... ruby and php are just tools
<anoob> but that's my humble opinion
<anoob> hehehe
bzalasky has quit [Remote host closed the connection]
<lianj> sorry, couldn't resist
<anoob> lianj, lol
simoz15 has quit [Ping timeout: 240 seconds]
Senjai`work is now known as Senjai
<anoob> so, thank you guys ... you helped me a lot
<anoob> nice to meet you
<anoob> i must go now
anoob has quit [Quit: Page closed]
centrx has joined #ruby-lang
vlad_starkov has joined #ruby-lang
centrx has quit [Client Quit]
centrx has joined #ruby-lang
|jemc| has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Write error: Connection reset by peer]
cnivolle has joined #ruby-lang
havenwood has joined #ruby-lang
nathanstitt has joined #ruby-lang
cnivolle has quit [Client Quit]
ecnalyr has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
SteveBenner09 has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
SteveBenner09 has quit [Client Quit]
ivanskie has quit [Ping timeout: 245 seconds]
tkuchiki has joined #ruby-lang
benanne has quit [Quit: kbai]
jsullivandigs has quit [Remote host closed the connection]
jsrn has quit [Quit: Leaving]
elliotec_ has quit [Remote host closed the connection]
RoxasShadowRS has quit [Read error: Connection reset by peer]
coca_rails has joined #ruby-lang
mykoweb has joined #ruby-lang
camilleldn has joined #ruby-lang
atmosx has quit [Quit: Lost in trance]
nathanstitt has quit [Quit: I growing sleepy]
mykoweb has quit [Remote host closed the connection]
marr has quit [Ping timeout: 272 seconds]
mykoweb has joined #ruby-lang
asdfoo has joined #ruby-lang
mykoweb has quit [Ping timeout: 272 seconds]
<asdfoo> Hi all. I'm installing ruby-1.8.7-p374.tar.gz as non-privileged user (using --prefix). Getting a working binary but header-files (prefix/include) are missing. Can anyone help?
Cakey has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #ruby-lang
mykoweb has joined #ruby-lang
jsullivandigs has joined #ruby-lang
MrZYX is now known as MrZYX|off
coca_rails has quit [Remote host closed the connection]
<centrx> asdfoo, Is it possible there is a ruby-dev file to download?
coca_rails has joined #ruby-lang
kfpratt has quit [Ping timeout: 252 seconds]
<asdfoo> centrx, thanks. but i need to build the specific ruby version from scratch (including matching headers). any idea?
<centrx> What do you mean the header files are missing
spuk has joined #ruby-lang
<asdfoo> after configure, make, make install, there is no include directory below the --prefix basedir. passenger will then complain about missing header files when building the apache module.
coca_rails has quit [Ping timeout: 240 seconds]
porternick has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
<centrx> asdfoo, I'll download it and see what I can find
kfpratt has joined #ruby-lang
setmeaway has quit [Ping timeout: 248 seconds]
imperator has quit [Ping timeout: 260 seconds]
<centrx> asdfoo, Try just pointing it to the directory where ruby-1.8.7-p374.tar.gz was extracted to
vlad_starkov has joined #ruby-lang
<centrx> asdfoo, That is how the files match up for me comparing my Debian package ruby2.0-dev and the file I downloaded
<centrx> asdfoo, The .h files are just in the root of the source directory
Andrevan has quit [Quit: WeeChat 0.4.2-rc1]
<asdfoo> Shouldn't make install move them below a directory of --prefix basedir?
<centrx> I doubt it, that doesn't sound like normal practice
vlad_starkov has quit [Read error: Connection reset by peer]
nisstyre has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
camillel_ has joined #ruby-lang
camilleldn has quit [Read error: Connection reset by peer]
elliotec has joined #ruby-lang
<asdfoo> I used export GCC_INCLUDE_DIR to point to the unpacked tar.gz. Still ./passenger-install-apache2-module says: can't find header files for ruby
mehlah has quit [Quit: Leaving...]
elliotec has quit [Remote host closed the connection]
kfpratt has quit [Remote host closed the connection]
|jemc| has joined #ruby-lang
elliotec has joined #ruby-lang
havenwood has quit [Ping timeout: 248 seconds]
enkristoffer has joined #ruby-lang
porternick has quit [Quit: porternick]
coca_rails has joined #ruby-lang
elliotec has quit [Ping timeout: 252 seconds]
camillel_ has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
camilleldn has joined #ruby-lang
vlad_starkov has joined #ruby-lang
bzalasky has joined #ruby-lang
VTLob has quit [Quit: VTLob]
vlad_starkov has quit [Read error: Connection reset by peer]
mistym has quit [Remote host closed the connection]
asdfoo has quit [Ping timeout: 245 seconds]
mistym has joined #ruby-lang
amclain has joined #ruby-lang
mistym has quit [Remote host closed the connection]
camilleldn has quit [Remote host closed the connection]
camilleldn has joined #ruby-lang
camilleldn has quit [Ping timeout: 272 seconds]
_mtr has joined #ruby-lang
sepp2k has quit [Read error: Connection reset by peer]
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
coca_rails has quit [Remote host closed the connection]
cored has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby-lang
Oloryn_lt2 has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
Oloryn_lt21 has quit [Ping timeout: 252 seconds]
em0ral has joined #ruby-lang
elliotec has quit [Ping timeout: 252 seconds]
simoz15 has joined #ruby-lang
seanlinsley has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
patriciomacadden has joined #ruby-lang
arBmind1 has joined #ruby-lang
havenwood has joined #ruby-lang
elliotec has joined #ruby-lang
arBmind has quit [Ping timeout: 252 seconds]
RobertBirnie has joined #ruby-lang
_mtr has quit [Ping timeout: 245 seconds]
_mtr has joined #ruby-lang
ikrima has joined #ruby-lang
simoz15 has quit [Ping timeout: 272 seconds]
<Lewix> do hashes have a method similar to #compact
<Lewix> in case the key is nil
kitak has joined #ruby-lang
<bougyman> recursively or just top-level?
<r0bglees0n> >> {nil: 1}.delete(nil)
<eval-in> r0bglees0n => nil (https://eval.in/94974)
ecnalyr has quit [Remote host closed the connection]
<r0bglees0n> it might be an idea to consider not letting that insert happen though
<r0bglees0n> pretty unusual key
ecnalyr has joined #ruby-lang
<bougyman> I think you meant: if the value is nil, right?
<havenwood> Lewix: If a key is `nil`, you can simply `#delete` it.
<havenwood> >> hash = {nil => 'hrm', aim: true}; hash.delete(nil); hash
<eval-in> havenwood => {:aim=>true} (https://eval.in/94975)
<Lewix> see what i mean
<havenwood> There can be only one.
<Lewix> it does not return the hash
<Lewix> delete return the key
<Lewix> r0bglees0n: , bougyman thanks
<Lewix> havenwood: i want it to return the hash
<havenwood> >> {nil => 'hrm', aim: true}.delete_if { |k, _| k.nil? }
<eval-in> havenwood => {:aim=>true} (https://eval.in/94978)
ecnalyr has quit [Ping timeout: 240 seconds]
<havenwood> Lewix: Less efficient ^
kitak has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
<Lewix> havenwood: thanks
mucker has joined #ruby-lang
<r0bglees0n> Lewix: you don't need it to return the hash
<r0bglees0n> keep a reference to it
<r0bglees0n> i cant imagine a world with a hash literal and a nil key
<Lewix> r0bglees0n: yea i wasnt thinking
<Lewix> line 95
cored has quit [Ping timeout: 240 seconds]
ikrima has quit [Quit: Computer has gone to sleep.]
<r0bglees0n> Lewix: what is the source of h[nil] = "x"
<r0bglees0n> it doesn't really make sense to let happen
ikrima has joined #ruby-lang
<|jemc|> my mind is drawing a blank and I don't know what to call it to google it: what is the syntax to generate the array of symbols from a space-separated list surrounded by some square brackets and preceded by a %?
<Lewix> sprintf
<havenwood> |jemc|: %i
<|jemc|> havenwood: thanks
<havenwood> np
ecnalyr has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
ecnalyr has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
postmodern has quit [Quit: Leaving]
lsegal has joined #ruby-lang
symm-_ has joined #ruby-lang
brownies_ has joined #ruby-lang
symm- has quit [Read error: Connection reset by peer]
brownies has quit [Read error: Operation timed out]
_mtr has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cakey has quit [Ping timeout: 240 seconds]
kurko_ has quit [Quit: Computer has gone to sleep.]
mistym has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
threeifbywhiskey has joined #ruby-lang
<threeifbywhiskey> How does one overload Fixnum#>>?
<threeifbywhiskey> Wow... never mind.
hahuang65 has quit [Ping timeout: 252 seconds]
threeifbywhiskey has quit [Client Quit]
havenwood has quit [Ping timeout: 240 seconds]
bzalasky has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
mistym has joined #ruby-lang
nathanstitt has joined #ruby-lang
patriciomacadden has quit [Quit: Textual IRC Client: www.textualapp.com]
kurko_ has joined #ruby-lang
<Lewix> #!/usr/bin/env ruby
<Lewix> #!/bin/sh
<Lewix> I tried both then chmod +x file but no luck
havenwood has joined #ruby-lang
charliesome has joined #ruby-lang
<centrx> ...
simoz15 has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
<Lewix> centrx: i wanna run my file without 'ruby'
kurko_ has quit [Quit: Computer has gone to sleep.]
<Lewix> havenwood: any idea?
<|jemc|> #!/usr/bin/env ruby is the right shebang
elliotec has quit [Ping timeout: 252 seconds]
<|jemc|> but without more information about what your snag is, no one can help
yfeldblum has joined #ruby-lang
<Lewix> |jemc|: snag?
<|jemc|> the issue you're having
<|jemc|> the error message you see
saneax_ has joined #ruby-lang
saneax_ is now known as sanjayu
<Lewix> ./fer.rb: line 19: end: command not found
<Lewix> a bunch of those
sanjayu is now known as Guest40948
jonahR has joined #ruby-lang
<|jemc|> put it in a paste somewhere
<|jemc|> (just not in the channel)
<Lewix> i mean that what i just mentioned previously with different line numbers
Guest40948 has quit [Client Quit]
<Lewix> there's no much to that
ikrima has quit [Quit: Computer has gone to sleep.]
<|jemc|> well, if you're unwilling to go to the trouble of putting it in a pastebin, it's unlikely anyone will want to go to the trouble of helping you
saneax__ has joined #ruby-lang
* |jemc| goes back to solving his own problems
<Lewix> |jemc|: next time just ignore me, instead of wasting your time
<|jemc|> if you wish
<Lewix> |jemc|: I do not wish, that's a suggestion
<Lewix> |jemc|: if you don't see that i provided enough information, you don't need to tell me. ignore me
<centrx> Lewix, Well there must be something more to the story because #!/usr/bin/env ruby works fine on my system
yfeldblum has quit [Remote host closed the connection]
jonahR has left #ruby-lang [#ruby-lang]
yfeldblum has joined #ruby-lang
<Lewix> centrx: Im not sure what happened. i took a pee, came back, and it's working now
<Lewix> weird
<centrx> Makes sense
<r0bglees0n> lol
<r0bglees0n> i gotta try that
em0ral has quit [Read error: Connection reset by peer]
mistym has quit [Remote host closed the connection]
mucker has quit [Remote host closed the connection]
Barrin6 has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
x0nic has quit [Read error: Operation timed out]
Lewix has quit [Remote host closed the connection]
saneax__1 has joined #ruby-lang
Lewix has joined #ruby-lang
wallerdev has joined #ruby-lang
mucker has joined #ruby-lang
x0nic has joined #ruby-lang
saneax__ has quit [Quit: Lost terminal]
vlad_starkov has joined #ruby-lang
ikrima has joined #ruby-lang
Barrin6 has left #ruby-lang ["Leaving"]
mistym has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
mistym has quit [Remote host closed the connection]
drbrain has quit [Ping timeout: 272 seconds]
simoz15 has quit [Ping timeout: 240 seconds]
nathanstitt has quit [Quit: I growing sleepy]
musty has joined #ruby-lang
yfeldblum has joined #ruby-lang
Asher has joined #ruby-lang
camilleldn has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
camilleldn has quit [Ping timeout: 248 seconds]
vlad_starkov has quit [Remote host closed the connection]
mucker has quit [Remote host closed the connection]
mucker has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
mucker has quit [Ping timeout: 252 seconds]
mykoweb has joined #ruby-lang
shinnya has joined #ruby-lang
Lewix has joined #ruby-lang
eval-in has quit [Remote host closed the connection]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eval-in has joined #ruby-lang
ahmedelgabri has joined #ruby-lang
eval-in has quit [Remote host closed the connection]
mykoweb has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
digs has joined #ruby-lang
digs is now known as Guest95432
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblu_ has joined #ruby-lang
Guest95432 has quit [Ping timeout: 245 seconds]
rahul_j has joined #ruby-lang
bzalasky has joined #ruby-lang
skade has joined #ruby-lang
amclain has quit [Quit: Leaving]
elliotec has joined #ruby-lang
jsullivandigs has joined #ruby-lang
ahmedelg_ has joined #ruby-lang
|jemc| has quit [Ping timeout: 260 seconds]
ahmedelgabri has quit [Ping timeout: 264 seconds]
centrx has quit [Quit: Leaving]
workmad3 has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 260 seconds]
segy has quit [Ping timeout: 248 seconds]
mistym has joined #ruby-lang
yfeldblu_ has quit [Read error: Connection reset by peer]
segy has joined #ruby-lang
mistym has quit [Ping timeout: 240 seconds]
rahul_j has quit [Quit: rahul_j]
rahul_j has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
symm-_ has quit [Ping timeout: 252 seconds]
simi has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby-lang
iliketurtles has joined #ruby-lang
iliketurtles has quit [Excess Flood]
iliketurtles has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
toretore has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
symm- has joined #ruby-lang
Cakey has joined #ruby-lang
symm-_ has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
fragamus has joined #ruby-lang
symm- has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
saneax__1 has quit [Read error: Connection reset by peer]
saneax has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
phansch has joined #ruby-lang
skade has quit [Remote host closed the connection]
skade has joined #ruby-lang
mistym has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
iliketurtles has joined #ruby-lang
iliketurtles has quit [Excess Flood]
yfeldblum has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
ahmedelgabri has joined #ruby-lang
ahmedelgabri has quit [Remote host closed the connection]
ahmedelgabri has joined #ruby-lang
jsullivandigs has joined #ruby-lang
dik_dak has quit [Quit: Leaving]
jsullivandigs has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
ahmedelg_ has quit [Ping timeout: 264 seconds]
eval-in has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 248 seconds]
wallerdev has quit [Quit: wallerdev]
vinhbachsy has joined #ruby-lang
RoxasShadowRS has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
yfeldblum has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
arBmind1 has quit [Quit: Leaving.]
vinhbachsy has quit []
<ljarvis> moin
<apeiros> moin
<ljarvis> apeiros: working today?
<apeiros> I'm in my bed, watching people play hearthstone
<apeiros> wouldn't call that "working"
<ljarvis> :D
<apeiros> I will eventually. but on private stuff :)
<apeiros> you?
<ljarvis> aye me too
<ljarvis> just woke up to start.. finding that part hard
<apeiros> after ~6y finally working on a webframework again :D
<ljarvis> uh oh
coca_rails has joined #ruby-lang
<apeiros> there are not enough of them!
<ljarvis> agreed
<apeiros> na, it's a special purpose framework
<apeiros> even more opinionated than rails in the days :)
<ljarvis> what's the special purpose?
<apeiros> mobile webapp dev, the server side of things
coca_rails has quit [Read error: Connection reset by peer]
coca_rails has joined #ruby-lang
<apeiros> providing a clean setup for json/ajax resources and compilation of "screens" (html), sass, haml and images into a single .html.gz file + manifest (for offline use)
<ljarvis> interesting
<apeiros> that is, the manifest is for offline use
<apeiros> the compilation into a single file is for fast loading despite the high latency 3g/4g networks have
Voker57 has quit [Remote host closed the connection]
benanne has joined #ruby-lang
saneax has quit [Ping timeout: 252 seconds]
elliotec has quit [Remote host closed the connection]
phansch_ has joined #ruby-lang
saneax_ has joined #ruby-lang
phansch has quit [Ping timeout: 248 seconds]
jsullivandigs has joined #ruby-lang
jerrytgarcia has quit [Quit: WeeChat 0.4.2]
yfeldblum has quit [Read error: Connection reset by peer]
jsullivandigs has quit [Ping timeout: 240 seconds]
phansch_ is now known as phansch
mistym has quit [Remote host closed the connection]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
nXqd has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has quit [Remote host closed the connection]
skade has joined #ruby-lang
charliesome has joined #ruby-lang
relix has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
rahul_j has joined #ruby-lang
benlovell has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
setmeaway has joined #ruby-lang
jsullivandigs has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 260 seconds]
ralphunter has joined #ruby-lang
jerrytgarcia has joined #ruby-lang
relix has joined #ruby-lang
<ralphunter> too much swag to comprehend
ralphunter has quit [Quit: leaving]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Remote host closed the connection]
symm-_ has quit [Ping timeout: 260 seconds]
mark| has quit [Quit: ZNC - http://znc.in]
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
VTLob has joined #ruby-lang
prc has quit [Ping timeout: 240 seconds]
jsrn has joined #ruby-lang
yfeldblum has joined #ruby-lang
MrZYX|off is now known as MrZYX
sree has joined #ruby-lang
yfeldblum has quit [Ping timeout: 248 seconds]
DouweM has joined #ruby-lang
rippa has joined #ruby-lang
gix has quit [Read error: Connection reset by peer]
benlovell has quit [Quit: leaving]
gix has joined #ruby-lang
sree has quit []
gix- has joined #ruby-lang
gix has quit [Disconnected by services]
phansch has quit [Ping timeout: 272 seconds]
judofyr has joined #ruby-lang
frank_o has joined #ruby-lang
cored has joined #ruby-lang
<frank_o> Hi, I got this `first_time_visiting?` helper method in my application controller. But how come in my views, I can't nest one first_time_visiting inside another? Please see https://gist.github.com/vsername/8615139
sepp2k has joined #ruby-lang
camilleldn has joined #ruby-lang
ahmedelg_ has joined #ruby-lang
saneax_ has quit [Quit: leaving]
<apeiros> frank_o: a) #rubyonrails, b) you should state the precise error. not just "some error happened".
<frank_o> apeiros: Thanks
<apeiros> oh, you're a cross-poster
phansch has joined #ruby-lang
ahmedelgabri has quit [Ping timeout: 252 seconds]
frank_o was kicked from #ruby-lang by apeiros [if you cross-post, at the very least announce that fact in every channel where you cross-post. this is only a warning.]
coca_rails has quit [Remote host closed the connection]
frank_o has joined #ruby-lang
<frank_o> I was gonna say actually
<frank_o> "I hope this is not too Rails specific. But #rubyonrails on a sat morning is DEAD"
<frank_o> but i got distracted by something else :(
<apeiros> next time, say it beforehand. also don't forget to say it over there too.
<frank_o> yep got it
Lewix has joined #ruby-lang
camilleldn has quit [Remote host closed the connection]
camilleldn has joined #ruby-lang
fusi0n has joined #ruby-lang
<yorickpeterse> http://bropages.org/ wat
<yorickpeterse> also morning
mistym has joined #ruby-lang
<apeiros> nice idea, but why call it "bro"? *sobs*
<MrZYX> alias to the rescue!
<yorickpeterse> apeiros: because dude bro, only bros code of course
<frank_o> mistym :D
<yorickpeterse> it's just not for the ladies bro, dude
<yorickpeterse> brooooooo
<yorickpeterse> grrrr
<apeiros> yo momma codes
<apeiros> there, I said it
<frank_o> Misty mornin', don't see no sun; I know you're out there somewhere having fun. There is one mystery - yea-ea-eah - I just can't express: To give your more, to receive your less.
<frank_o> One of my good friend said, in a reggae riddim, "Don't jump in the water, if you can't swim."
<frank_o> felt like singing :P
<frank_o> im done tho
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
mistym has quit [Ping timeout: 245 seconds]
<yorickpeterse> apeiros: no she doesn't
<yorickpeterse> she runs a B&B
<apeiros> dunno what that is
<apeiros> bed & breakfast?
<yorickpeterse> bed & breakfast
cored has quit [Ping timeout: 248 seconds]
rahul_j has quit [Quit: rahul_j]
kotk has joined #ruby-lang
fusi0n has quit [Quit: .]
Cakey has quit [Ping timeout: 245 seconds]
Cakey has joined #ruby-lang
vlad_starkov has joined #ruby-lang
yfeldblum has joined #ruby-lang
rob_ has joined #ruby-lang
<rob_> hi
<rob_> does anyone here use clamp? i'm trying to work out how to access an option thats not part of a sub command when using sub commands..
<rob_> i have this: http://hastebin.com/pofehuraje.rb and would like to access 'config_file' in either of the execute methods but for some reason it doesnt seem to work..
yfeldblum has quit [Ping timeout: 252 seconds]
jonahR has joined #ruby-lang
rahul_j has joined #ruby-lang
jonahR has quit [Client Quit]
nXqd has quit [Ping timeout: 265 seconds]
fusi0n has joined #ruby-lang
Cumol has joined #ruby-lang
mrgrieve1 has quit [Remote host closed the connection]
fusi0n has quit [Client Quit]
ikrima has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Remote host closed the connection]
rahul_j has quit [Quit: rahul_j]
frank_o has quit [Read error: Connection reset by peer]
simi has joined #ruby-lang
elia has joined #ruby-lang
imperator has joined #ruby-lang
skade has joined #ruby-lang
arBmind has joined #ruby-lang
ikrima has joined #ruby-lang
patriciomacadden has joined #ruby-lang
jsrn has quit [Quit: Leaving]
jsrn has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
mucker has joined #ruby-lang
yfeldblum has joined #ruby-lang
elia has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
Cumol has quit [Quit: Textual IRC Client: www.textualapp.com]
plurt has joined #ruby-lang
mehlah has joined #ruby-lang
simi has quit [Ping timeout: 252 seconds]
Lewix has quit [Remote host closed the connection]
mucker has quit [Remote host closed the connection]
mucker has joined #ruby-lang
sree has joined #ruby-lang
mucker has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby-lang
sree has quit []
mistym has joined #ruby-lang
mistym has quit [Ping timeout: 245 seconds]
frank_o_ has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
Cakey has quit [Ping timeout: 272 seconds]
tbuehlmann has joined #ruby-lang
yfeldblum has joined #ruby-lang
patriciomacadden has quit [Ping timeout: 260 seconds]
patriciomacadden has joined #ruby-lang
yfeldblum has quit [Ping timeout: 241 seconds]
heftig has joined #ruby-lang
micalexander has joined #ruby-lang
micalexander has quit [Remote host closed the connection]
imperator has left #ruby-lang ["Leaving"]
ahmedelgabri has joined #ruby-lang
rippa has joined #ruby-lang
ahmedelg_ has quit [Ping timeout: 252 seconds]
phansch_ has joined #ruby-lang
phansch has quit [Ping timeout: 264 seconds]
yatish27 has joined #ruby-lang
skade has quit [Remote host closed the connection]
skade has joined #ruby-lang
phracker has joined #ruby-lang
Cakey has joined #ruby-lang
frank_o_ has quit [Ping timeout: 264 seconds]
kotk has quit [Read error: Connection reset by peer]
patriciomacadden has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
Cakey has quit [Ping timeout: 245 seconds]
mbj has joined #ruby-lang
mbj has quit [Client Quit]
yatish27 has quit [Ping timeout: 245 seconds]
diegoviola has joined #ruby-lang
yfeldblum has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
patriciomacadden has joined #ruby-lang
chouhoulis has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
yfeldblu_ has quit [Ping timeout: 245 seconds]
diegoviola has quit [Quit: WeeChat 0.4.2]
RobertBirnie has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
yatish27 has joined #ruby-lang
bin7me has joined #ruby-lang
micalexander has joined #ruby-lang
patriciomacadden has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
micalexander has quit [Ping timeout: 272 seconds]
skade has quit [Quit: Computer has gone to sleep.]
judofyr has quit [Read error: Connection reset by peer]
judofyr has joined #ruby-lang
wallerdev has joined #ruby-lang
mucker has joined #ruby-lang
Voker57 has joined #ruby-lang
frank_o_ has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistym has joined #ruby-lang
sree has joined #ruby-lang
dsferreira has quit [Ping timeout: 272 seconds]
patriciomacadden has joined #ruby-lang
nathanstitt has joined #ruby-lang
mistym has quit [Ping timeout: 252 seconds]
lcdhoffman has joined #ruby-lang
lcdhoffman has quit [Client Quit]
hahuang65 has joined #ruby-lang
lcdhoffman has joined #ruby-lang
sree has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 252 seconds]
plurt has quit [Quit: Computer has gone to sleep.]
frank_o_ has quit [Quit: Lost terminal]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
patriciomacadden has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
robmiller has joined #ruby-lang
pabs has quit [Remote host closed the connection]
enkristoffer has quit [Quit: ❤]
patriciomacadden has joined #ruby-lang
havenwood has quit []
abang has joined #ruby-lang
jsullivandigs has joined #ruby-lang
sree has joined #ruby-lang
mbj has joined #ruby-lang
abang has left #ruby-lang [#ruby-lang]
alekst has joined #ruby-lang
stonerfish has joined #ruby-lang
wallerdev has joined #ruby-lang
charlies_ has joined #ruby-lang
phracker has quit [Ping timeout: 260 seconds]
charliesome has quit [Ping timeout: 265 seconds]
mbj has quit [Quit: leaving]
ahmedelg_ has joined #ruby-lang
ahmedelgabri has quit [Read error: Connection reset by peer]
lcdhoffman has quit [Quit: lcdhoffman]
sree is now known as hack_programmer
hack_programmer is now known as new_programmer
yfeldblum has joined #ruby-lang
rahul_j has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Ping timeout: 252 seconds]
Aditya has joined #ruby-lang
DEac-_ has quit [Read error: Connection reset by peer]
Aditya has quit [Client Quit]
DouweM has quit [Quit: Leaving...]
DEac- has joined #ruby-lang
phracker has joined #ruby-lang
DEac- has quit [Read error: Connection reset by peer]
jsullivandigs has quit [Ping timeout: 253 seconds]
bzalasky has joined #ruby-lang
vlad_sta_ has quit [Remote host closed the connection]
danijoo has joined #ruby-lang
DEac- has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
mistym has joined #ruby-lang
yatish27 has joined #ruby-lang
sepp2k has quit [Read error: Connection reset by peer]
phracker has quit [Ping timeout: 252 seconds]
Lewix has joined #ruby-lang
yatish27 has quit [Ping timeout: 245 seconds]
mistym has quit [Ping timeout: 245 seconds]
toretore has quit [Quit: Leaving]
fuhgeddaboudit has quit [Ping timeout: 248 seconds]
fuhgeddaboudit has joined #ruby-lang
jonahR has joined #ruby-lang
ahmedelg_ has quit []
ahmedelgabri has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 252 seconds]
ahmedelgabri has quit [Client Quit]
jonahR has quit [Quit: jonahR]
jsullivandigs has joined #ruby-lang
yfeldblum has joined #ruby-lang
centrx has joined #ruby-lang
lcdhoffman has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
yfeldblum has quit [Ping timeout: 245 seconds]
centrx has quit [Client Quit]
centrx has joined #ruby-lang
centrx has quit [Read error: Connection reset by peer]
cx has joined #ruby-lang
centrx has joined #ruby-lang
robmiller has quit [Quit: robmiller]
judofyr_ has joined #ruby-lang
judofyr has quit [Read error: Connection reset by peer]
Barrin6 has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
skade has joined #ruby-lang
robmiller has joined #ruby-lang
denden47 has joined #ruby-lang
<denden47> hello everyone
Squarepy has joined #ruby-lang
<denden47> I would like to learn ruby and was wondering where was the best place to start
jsullivandigs has quit [Ping timeout: 245 seconds]
diegoviola has joined #ruby-lang
<r0bglees0n> denden47: hey, that is a very hard question to answer, i could suggest a few books but how you learn best is really dependent on you
vlad_starkov has joined #ruby-lang
<denden47> I would say books, any help would be greatly appreciated
<r0bglees0n> the most "authorative" may be this one, it was co-authored by the creator of ruby, http://shop.oreilly.com/product/9780596516178.do
<lianj> denden47: new to programming or just another language for you?
<r0bglees0n> i didnt use any books to learn ruby, but just IRC/blogs/google. I bought many books, but never read them
phansch_ has quit [Ping timeout: 252 seconds]
<denden47> fairly new to programming
<apeiros> denden47: write code
<apeiros> the more, the better
<r0bglees0n> yeah
<r0bglees0n> indeed
<lianj> yea, and read
<r0bglees0n> thats the best approach
<lianj> (code)
<r0bglees0n> write more so than read
<r0bglees0n> you can theorize all day
<denden47> i saw this one learn ruby the hard way is it any good
<denden47> it says the same thing write code
<r0bglees0n> i havent read it
<r0bglees0n> i believe it may be from zedshaw, who is a good author
fuhgeddaboudit has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
<lianj> i always suggest rubykoans.com but maybe only to people who know programming a bit already
<lianj> maybe learn ruby the hard way and then koans
<lianj> also the hard way isn't the hard way. more like the bit saner way
<denden47> ok cool thanks guys
<denden47> well am off to do rather than talk about doing
<denden47> i will be back for sure when i need more help
<denden47> laters
RobertBirnie has joined #ruby-lang
denden47 has quit []
new_programmer has quit []
miqui has quit [Ping timeout: 265 seconds]
fuhgeddaboudit has quit [Ping timeout: 265 seconds]
bzalasky has quit [Remote host closed the connection]
marr has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 264 seconds]
mistym has joined #ruby-lang
phansch_ has joined #ruby-lang
closer has quit [Ping timeout: 256 seconds]
havenwood has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
closer has joined #ruby-lang
lsegal has joined #ruby-lang
snarfmason has joined #ruby-lang
mistym_ has joined #ruby-lang
enebo has joined #ruby-lang
mistym has quit [Ping timeout: 248 seconds]
symm- has joined #ruby-lang
yfeldblum has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
_tockitj has joined #ruby-lang
stonerfish has quit [Ping timeout: 245 seconds]
stonerfish has joined #ruby-lang
diegoviola has quit [Ping timeout: 240 seconds]
miqui has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
toretore has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
anulman has quit [Quit: Leaving.]
linc01n has quit [Ping timeout: 265 seconds]
Lewix has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
linc01n has joined #ruby-lang
atmosx has joined #ruby-lang
kurko_ has joined #ruby-lang
nisstyre has quit [Quit: Leaving]
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
anulman has joined #ruby-lang
kurko__ has joined #ruby-lang
kurko_ has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
kalleth has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
kalleth has joined #ruby-lang
yfeldblum has joined #ruby-lang
<kalleth> 'installing ruby 2.1.0'
* kalleth waits
<centrx> Go on...
kurko_ has joined #ruby-lang
<atmosx> lol
* apeiros goes on
<atmosx> that could be an xkcd
sepp2k has joined #ruby-lang
vlad_starkov has joined #ruby-lang
judofyr_ has quit [Remote host closed the connection]
judofyr has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 252 seconds]
kurko__ has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
judofyr has quit [Ping timeout: 264 seconds]
nvg has joined #ruby-lang
patriciomacadden has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dik_dak has joined #ruby-lang
RobertBirnie has joined #ruby-lang
Squarepy has quit [Quit: Leaving]
RobertBirnie has quit [Ping timeout: 248 seconds]
havenwood has joined #ruby-lang
symm- has quit [Ping timeout: 240 seconds]
rahul_j has quit [Quit: rahul_j]
shado has joined #ruby-lang
<shado> anyone mind helping me with a stupid equality question?
<centrx> Sure
bergin has joined #ruby-lang
<shado> everything I've googled so far says that I should override == (or eql?)
<shado> I get that
<shado> but how they say to do it is essentially check the class type and then check member values.
<shado> when I implement that(2 or 3 different ways) I always get a stack level too deep error
<apeiros> shado: gist an example, including input and error
waxjar has quit [Read error: Operation timed out]
waxjar has joined #ruby-lang
<shado> same error if eql? contains "self.class == other.class && self.value == other.value"
<shado> same error if other is first operand instead of self.
rahul_j has joined #ruby-lang
<shado> feel free to pull out the inheritance if you want to run it yourself.
kurko__ has joined #ruby-lang
<apeiros> shado: I don't think this is a reproducable example. I don't even see the `value` method
<shado> attr_accessor :value above it?
judofyr has joined #ruby-lang
<apeiros> that's in a different class
<shado> what?
<apeiros> Stats::Group defines #value
<shado> right.
<apeiros> Stats defines ==
<shado> that's what I instantiated
<shado> oh, so that's my problem :)
<shado> whoops.
<shado> it's supposed to apply to the group
kurko_ has quit [Ping timeout: 265 seconds]
<apeiros> well, that's not what you told ruby :)
<apeiros> you told ruby that your class Group ends at line 16
rahul_j has quit [Client Quit]
<shado> yeah, I earn a few lashes of the wet noodle for that one
judofyr_ has joined #ruby-lang
<shado> thanks :)
judofyr has quit [Ping timeout: 248 seconds]
Squarepy has joined #ruby-lang
anulman has quit [Ping timeout: 240 seconds]
<shado> told you it was stupid ;-)
judofyr_ has quit [Ping timeout: 240 seconds]
enebo has quit [Quit: enebo]
mbj has joined #ruby-lang
anulman has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
symm- has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
KM has quit [Ping timeout: 252 seconds]
MouseTheLuckyDog has joined #ruby-lang
vlad_starkov has joined #ruby-lang
havenwood has joined #ruby-lang
judofyr has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
Squarepy has quit [Quit: Leaving]
kurko_ has joined #ruby-lang
prc has joined #ruby-lang
kurko__ has quit [Ping timeout: 245 seconds]
bergin has quit []
bergin has joined #ruby-lang
simi has joined #ruby-lang
bergin has left #ruby-lang [#ruby-lang]
bergin has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
bergin has left #ruby-lang [#ruby-lang]
bergin has joined #ruby-lang
bergin has quit []
x0f_ has joined #ruby-lang
bzalasky has joined #ruby-lang
clamstar has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
x0f has quit [Ping timeout: 264 seconds]
judofyr has quit [Remote host closed the connection]
judofyr has joined #ruby-lang
_tockitj has quit [Ping timeout: 252 seconds]
judofyr has quit [Ping timeout: 252 seconds]
toretore has quit [Quit: This computer has gone to sleep]
mistym_ has quit [Remote host closed the connection]
ikrima has quit [Quit: Computer has gone to sleep.]
elliotec has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
bzalasky has joined #ruby-lang
havenwood has quit [Ping timeout: 245 seconds]
elliotec has joined #ruby-lang
mbj has quit [Ping timeout: 264 seconds]
judofyr has joined #ruby-lang
centrx has quit [Quit: Leaving]
Elico has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mbj has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
judofyr has quit [Ping timeout: 252 seconds]
stonerfish has quit [Quit: Leaving.]
mucker has quit [Remote host closed the connection]
mucker has joined #ruby-lang
kurko__ has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
phansch_ has quit [Read error: Operation timed out]
kurko_ has quit [Ping timeout: 272 seconds]
mucker has quit [Ping timeout: 260 seconds]
enebo has joined #ruby-lang
mucker has joined #ruby-lang
phansch_ has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
phansch_ has quit [Client Quit]
stonerfish has joined #ruby-lang
bzalasky has quit []
matp has quit [Quit: Bye!]
hahuang65 has quit [Ping timeout: 272 seconds]
matp has joined #ruby-lang
havenwood has joined #ruby-lang
havenwood has quit [Ping timeout: 252 seconds]
agile is now known as v
judofyr has joined #ruby-lang
enebo has quit [Quit: enebo]
elia has joined #ruby-lang
cba has quit [Ping timeout: 246 seconds]
mucker has quit [Remote host closed the connection]
judofyr has quit [Ping timeout: 272 seconds]
mucker has joined #ruby-lang
vlad_starkov has joined #ruby-lang
havenwood has joined #ruby-lang
mucker has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
jerrytgarcia has quit [Quit: WeeChat 0.4.2]
stonerfish has quit [Quit: Leaving.]
hahuang65 has joined #ruby-lang
havenwood has quit [Ping timeout: 260 seconds]
lfox has joined #ruby-lang
hahuang65 has quit [Ping timeout: 264 seconds]
cba has joined #ruby-lang
KM has joined #ruby-lang
ndejay has joined #ruby-lang
<ndejay> l
ndejay has quit [Client Quit]
mykoweb has joined #ruby-lang
mbj has quit [Quit: leaving]
mykoweb has quit [Remote host closed the connection]
charlies_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tylersmith has joined #ruby-lang
judofyr has joined #ruby-lang
mistym has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
nvg has quit [Remote host closed the connection]
judofyr has quit [Ping timeout: 252 seconds]
marr has quit [Ping timeout: 260 seconds]
mistym has quit [Ping timeout: 245 seconds]
KevinK has joined #ruby-lang
mbj has joined #ruby-lang
bergin has joined #ruby-lang
bergin has left #ruby-lang [#ruby-lang]
havenwood has joined #ruby-lang
havenwood has quit [Ping timeout: 260 seconds]
hfp is now known as hfp`away
alekst has quit [Quit: Computer has gone to sleep.]
knu has quit [Ping timeout: 252 seconds]