yatish27 has quit [Remote host closed the connection]
Miphix has joined #ruby-lang
michaeldeol has quit [Ping timeout: 240 seconds]
postmodern has quit [Quit: Leaving]
<chrisseaton>
dingus_khan: what's your question about it?
dingus_khan has quit [Read error: Connection reset by peer]
dingus_khan has joined #ruby-lang
ascarter has joined #ruby-lang
vintik has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
jxpx777_ has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
jxpx777 has quit [Ping timeout: 250 seconds]
centrx has quit [Quit: Mead error: Connection reset by beer]
nathanstitt has joined #ruby-lang
hellangel7 has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
dingus_khan has quit [Read error: Connection reset by peer]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wallerdev has joined #ruby-lang
amerine has quit [Quit: Computer has gone to sleep.]
shinnya has quit [Ping timeout: 250 seconds]
jbardin has quit [Quit: jbardin]
koderok has joined #ruby-lang
dingus_khan has joined #ruby-lang
willdrew has joined #ruby-lang
willdrew has quit [Client Quit]
lcdhoffman has quit [Quit: lcdhoffman]
djbkd has quit [Remote host closed the connection]
koderok has quit [Quit: koderok]
emmesswhy has joined #ruby-lang
agarie has joined #ruby-lang
tectonic has joined #ruby-lang
ponch_ has quit [Remote host closed the connection]
dexkiki has joined #ruby-lang
mykoweb has joined #ruby-lang
<stardiviner>
What the difference between += and x.concat ? like the following code: x = "hello" ; x += " world" ; x.concat " world" ;
64MAAHYAY has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
<stardiviner>
In Ruby code, you quite often see the trick of using an expression like array.map(&:method_name) as a shorthand form of array.map { |element| element.method_name }. How exactly does it work?
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
<dexkiki>
For concat vs +, + returns a new string and concat works on the current string
<dexkiki>
not sure about the array.map question
<stardiviner>
dexkiki: I see.
<stardiviner>
dexkiki: thanks for your answer
<diegoviola>
array.map(&:method) calls :method on all the elements from the array, no?
<diegoviola>
#map also prints the output instead of just iterating on it
<diegoviola>
#each would just iterate (won't print anything)
mykoweb has quit [Ping timeout: 246 seconds]
djbkd has joined #ruby-lang
<stardiviner>
diegoviola: this answer is very detailed. Thanks
BubonicPestilenc has joined #ruby-lang
<diegoviola>
glad i could help
jdecuirm has joined #ruby-lang
<jdecuirm>
Hi all!
<jdecuirm>
I need some help to understand Ruby variables
Cakey has joined #ruby-lang
<dexkiki>
hi. ask away
<jdecuirm>
for example, what are best practices to use class variables
djbkd has quit [Ping timeout: 240 seconds]
<dexkiki>
if a value is shared by all instances of a class, then you should use class variable
<dexkiki>
for example, if the class Square, then @@sides= 4
<jdecuirm>
oh i see
<jdecuirm>
something like standar for all instance variables?
<dexkiki>
of a different usage is if you need to keep track how many instances of a class there are
<dexkiki>
so if you have class People @@num_people = 0. and for every People.new, add one to @@num_people
<dexkiki>
yeah thats one way to use them
<jdecuirm>
Ok cool! thanks for the help dexkiki
toastynerd has joined #ruby-lang
<dexkiki>
ultimately it's up to you to see if it's appropriate or not.
<dexkiki>
np
<jdecuirm>
i am in my way to learn ruby so i can get rails i need a backend for an ios app i'm developing
<jdecuirm>
but i remember that i will suffer with push notifications but first i need to tackle the server side
jxpx777_ has quit [Quit: Leaving...]
<dexkiki>
nice. ive never built a mobile app. a responsive website yeah
brooks has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brooks has quit [Client Quit]
brooks has joined #ruby-lang
brooks has quit [Client Quit]
jxpx777 has joined #ruby-lang
<jdecuirm>
Wow, and what do you thing about rails?
spuk has quit [Ping timeout: 255 seconds]
<jdecuirm>
I had some advices here!, for example instead of mysql, postgrade sql
<jdecuirm>
instead of apache server, nginx server
<jdecuirm>
the output format is JSON
toastynerd has quit [Remote host closed the connection]
dingus_khan has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
<jdecuirm>
To tell you the truth i am not a server side guy, and as i have never developed for web, i guess that's why i'm having problems
spuk has joined #ruby-lang
<jdecuirm>
in fact, most people told me to begin with php and phpcake for my purpose
eeezkil has quit [Read error: Connection reset by peer]
<dexkiki>
I haven't used other frameworks besides rails.
<dexkiki>
But i really like it. after you ge tthe hang of it's structure, it really helps organize your code when you're starting out
<jdecuirm>
i see
<jdecuirm>
i guess the hard part that i am facing is
<jdecuirm>
how much ruby to do rails
<jdecuirm>
i took many courses and read two books of ruby
<dexkiki>
i think the most important thing is to choose one framework and stick with it
toastynerd has joined #ruby-lang
<dexkiki>
michael hartl book i think only has one chapter on ruby
<dexkiki>
and its in like ch 4
<jdecuirm>
oh
<dexkiki>
so arguably not much. however if you want to add more features, then knowing more ruby helps
<jdecuirm>
yes it's true
dingus_khan has quit [Ping timeout: 240 seconds]
<jdecuirm>
the first part i guess
<jdecuirm>
is to achieve CRUD
Hinkdogg has quit [Quit: Computer has gone to sleep.]
<jdecuirm>
create read update delete, when that happens i guess i will concern more in other functions
<jdecuirm>
What book or course can you suggest me to Rails?
Hinkdogg has joined #ruby-lang
TrueJet has joined #ruby-lang
<dexkiki>
i used michael hartl. i'm a book guy and i found it really helpful. its important to do the code with the book. i didnt use any other source to learn rails. not containing individual problems and stuff. so im not sure how good the others are
<dexkiki>
which ruby books did you read
CaptainJet has quit [Ping timeout: 264 seconds]
dingus_khan has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
Hinkdogg has quit [Ping timeout: 240 seconds]
<jdecuirm>
i read to code ruby the hard way
<jdecuirm>
aaaand
dingus_khan has joined #ruby-lang
<jdecuirm>
programming ruby 1.9 2.0 the pragmatic programmer's guide
<dexkiki>
that second one is pretty classic. i havent read it tho
<dexkiki>
i gtg. gl on your stuff
dexkiki has quit [Quit: Page closed]
mjboselowitz has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
hellangel7 has quit [Remote host closed the connection]
priodev has quit [Ping timeout: 255 seconds]
magikfx__ has joined #ruby-lang
priodev has joined #ruby-lang
snsei has joined #ruby-lang
danijoo has joined #ruby-lang
michaeldeol has joined #ruby-lang
magikfx__ has quit [Ping timeout: 272 seconds]
charliesome has joined #ruby-lang
lcdhoffman has joined #ruby-lang
snsei has quit [Remote host closed the connection]
agarie has quit [Remote host closed the connection]
hellangel7 has quit [Max SendQ exceeded]
agarie has joined #ruby-lang
hellangel7 has joined #ruby-lang
yfeldblum has quit [Ping timeout: 272 seconds]
nhmood has joined #ruby-lang
hellangel7 has quit [Read error: Connection reset by peer]
<nhmood>
anyone have any experience with rufus-scheduler
saarinen has joined #ruby-lang
agarie has quit [Ping timeout: 246 seconds]
mistym_ has quit [Remote host closed the connection]
koderok has quit [Quit: koderok]
jxpx777 has joined #ruby-lang
centrx has quit [Quit: Mead error: Connection reset by beer]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola has quit [Remote host closed the connection]
TrueJet has quit []
kaiwren has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
agarie has joined #ruby-lang
ari-_-e has joined #ruby-lang
mistym has joined #ruby-lang
sduckett has quit [Ping timeout: 264 seconds]
jdecuirm has quit [Read error: Connection reset by peer]
JohnBat26 has joined #ruby-lang
agarie has quit [Remote host closed the connection]
amclain has quit [Quit: Leaving]
emmesswhy has quit [Quit: This computer has gone to sleep]
michaeldeol has joined #ruby-lang
agarie has joined #ruby-lang
saarinen has quit [Quit: saarinen]
agarie has quit [Remote host closed the connection]
torrieri has joined #ruby-lang
torrieri has quit [Ping timeout: 246 seconds]
_ht has joined #ruby-lang
agarie has joined #ruby-lang
<kuanding>
is it safe to upgrade GCC after upgrading Ruby to 2.1.2? I used “brew install gcc” and it’s taken over 10 minutes, I’m not sure if this is normal.
mistym has quit [Remote host closed the connection]
mistym has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
mistym has quit [Client Quit]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ari-_-e>
gcc is kind of a big deal
apeiros has quit [Read error: Connection reset by peer]
arBmind has joined #ruby-lang
apeiros has joined #ruby-lang
worm` has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
Jaood has joined #ruby-lang
Jaood has left #ruby-lang [#ruby-lang]
symm- has joined #ruby-lang
agarie has quit [Remote host closed the connection]
<kuanding>
ari-_-e: should I terminate the GCC installation process, uninstall Ruby and reinstall GCC and then Ruby?
<ari-_-e>
brew compiles stuff right?
<ari-_-e>
or no?
<kuanding>
it won’t pass “make bootstrap”
relix has joined #ruby-lang
<kuanding>
the heading of terminal are showing “cc1plus”, I suppose that means the compiler isn’t working correctly?
emmesswhy has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
apeiros has quit [Ping timeout: 240 seconds]
vintik has quit [Remote host closed the connection]
toastynerd has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
mistym has joined #ruby-lang
mistym has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
[spoiler] has joined #ruby-lang
solars has joined #ruby-lang
tbuehlmann has joined #ruby-lang
kaiwren has quit [Quit: kaiwren]
mistym has joined #ruby-lang
symm- has quit [Ping timeout: 240 seconds]
skade has joined #ruby-lang
apeiros has joined #ruby-lang
bffff_ has quit [Quit: Connection closed for inactivity]
skade has quit [Quit: Computer has gone to sleep.]
AKASkip has joined #ruby-lang
skade has joined #ruby-lang
dingus_khan has quit []
vondruch has joined #ruby-lang
sMecKs has quit [Read error: Connection reset by peer]
kaiwren has joined #ruby-lang
AKASkip has quit [Ping timeout: 250 seconds]
skade has quit [Ping timeout: 245 seconds]
clauswitt has joined #ruby-lang
marr has joined #ruby-lang
clauswit_ has joined #ruby-lang
yfeldblum has joined #ruby-lang
clauswitt has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
kyb3r_ has joined #ruby-lang
spastorino has quit [Quit: Connection closed for inactivity]
cantonic has quit [Quit: cantonic]
Forgetful_Lion has joined #ruby-lang
|jemc| has quit [Ping timeout: 272 seconds]
skade has joined #ruby-lang
ddv has joined #ruby-lang
ddv has quit [Changing host]
AKASkip has joined #ruby-lang
InfraRuby has joined #ruby-lang
worm` has quit [Ping timeout: 260 seconds]
tectonic has quit []
hramrach has quit [Ping timeout: 264 seconds]
skade has quit [Read error: Connection reset by peer]
sepp2k has joined #ruby-lang
qba73 has joined #ruby-lang
worm` has joined #ruby-lang
skade has joined #ruby-lang
InfraRuby has left #ruby-lang [#ruby-lang]
skade has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby-lang
vondruch has quit [Ping timeout: 260 seconds]
Atttwww has quit [Ping timeout: 245 seconds]
hramrach has joined #ruby-lang
skade has joined #ruby-lang
worm` has quit [Read error: Connection reset by peer]
<stardiviner>
This is a lambda, -> (a, b) {print a, b} ["Hello world", " hi"] But I don't understand the ["hello world", "hi"] part, What happens here?
skade has quit [Read error: Connection reset by peer]
<apeiros>
stardiviner: Proc#[] is an alias for Proc#call
<DefV>
Proc#[] calls the lambda
<apeiros>
i.e., -> (a, b) {print a, b}.call("Hello world", " hi") # does the same as the above
<apeiros>
also .() would work the same too
<apeiros>
>> -> (a, b) {print a, b}.("Hello world", " hi")
<stardiviner>
apeiros: I see. So the -> (a, b) {print a, b} is the Proc object. then it call #[] method?
<apeiros>
correct
<stardiviner>
apeiros: thanks
<apeiros>
the # in Proc#call / Proc#[] is "documentation-speak", it means "instance method"
<stardiviner>
apeiros: right,
arBmind has joined #ruby-lang
<yorickpeterse>
morning
jhass|off is now known as jhass
michd is now known as MichD
jds has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
emmesswhy has quit [Quit: Leaving]
yfeldblum has quit [Ping timeout: 255 seconds]
worm` has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
jhass is now known as jhass|off
jhass|off is now known as jhass
arBmind has joined #ruby-lang
worm` has quit [Ping timeout: 245 seconds]
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby-lang
corecode_ has left #ruby-lang ["ERC Version 5.3 (IRC client for Emacs)"]
<sluukkonen>
btw, is there a good reason why it's proc.call(foo) and not just proc.(foo)?
<sluukkonen>
that one always seemed a bit weird to me
<sluukkonen>
err, I mean proc(foo)
dangerousdave has joined #ruby-lang
Payl has joined #ruby-lang
<Payl>
Hi! I ported part of Ruby (bignum.c Division) info Delphi, into another bignum library (because it's division was slow). Anyone know what license I have to use for module now? My bignum library has MPL 1.1/LGPL3. Thanks!
kyb3r_ has quit [Read error: Connection reset by peer]
<yorickpeterse>
sluukkonen: because if you use `proc(foo)` then `proc` should be a method
<yorickpeterse>
which it isn't
skade has joined #ruby-lang
<apeiros>
sluukkonen: proc.(foo) works, as shown above
<apeiros>
personally I find it an atrocity, though
<sluukkonen>
oh it does? I've always just used .call
<Silex>
I think they should only allow .call and remove the [] and .() notation
<Silex>
the laters are unexpected
<stardiviner>
I have an expression kk = true and false. Is there a way to print it out ? Because use: puts kk = true and false will get true, instead of false which it should be.
<Hanmac>
hey for the MRI ruby source, what is the difference between default_gems ("defs/default_gems") and bundled gems ("gems/bundled_gems") ? because i am curios that there might be default gems that depend on bundled gems?
skade has quit [Read error: Connection reset by peer]
jonathan_alban has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jonathan_alban has joined #ruby-lang
stef_204 has joined #ruby-lang
Miphix has quit [Quit: Leaving]
workmad3 has quit [Ping timeout: 255 seconds]
stamina has joined #ruby-lang
kaiwren has quit [Quit: kaiwren]
kaiwren has joined #ruby-lang
InfraRuby has left #ruby-lang [#ruby-lang]
skade has joined #ruby-lang
hakunin_ has joined #ruby-lang
sharpmac_ has joined #ruby-lang
tkuchiki has joined #ruby-lang
bin7me has joined #ruby-lang
arBmind1 has joined #ruby-lang
maloik has joined #ruby-lang
Pain has joined #ruby-lang
wmoxam_ has joined #ruby-lang
nopc0de has quit [Ping timeout: 245 seconds]
kaiwren has quit [Read error: Connection reset by peer]
tkuchiki_ has quit [Ping timeout: 245 seconds]
stardiviner has quit [Ping timeout: 245 seconds]
arBmind has quit [Ping timeout: 240 seconds]
maloik_ has quit [Ping timeout: 240 seconds]
gix has quit [Ping timeout: 240 seconds]
sharpmachine has quit [Ping timeout: 240 seconds]
wmoxam has quit [Ping timeout: 240 seconds]
hakunin has quit [Ping timeout: 240 seconds]
symm- has joined #ruby-lang
skade has quit [Ping timeout: 272 seconds]
nopc0de has joined #ruby-lang
jxie has quit [Read error: Connection reset by peer]
gix has joined #ruby-lang
jxie has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
clauswit_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tkuchiki has quit [Read error: Connection reset by peer]
tkuchiki_ has joined #ruby-lang
tkuchiki_ has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
skade has joined #ruby-lang
tkuchiki has quit [Ping timeout: 260 seconds]
skade has quit [Read error: Connection reset by peer]
skade_ has joined #ruby-lang
skade_ has quit [Read error: Connection reset by peer]
skade has joined #ruby-lang
skade has quit [Ping timeout: 255 seconds]
robbyoconnor has quit [Ping timeout: 260 seconds]
skade has joined #ruby-lang
symm- has quit [Quit: Leaving...]
symm- has joined #ruby-lang
robbyoconnor has joined #ruby-lang
kek has joined #ruby-lang
dangerousdave has joined #ruby-lang
kyb3r_ has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 250 seconds]
robbyoconnor has joined #ruby-lang
skade has quit [Ping timeout: 240 seconds]
thang has quit [Ping timeout: 250 seconds]
clauswitt has joined #ruby-lang
skade has joined #ruby-lang
thang has joined #ruby-lang
benlovell has quit [Ping timeout: 240 seconds]
sarkyniin has joined #ruby-lang
sarkyniin has quit [Client Quit]
skade has quit [Ping timeout: 244 seconds]
skade has joined #ruby-lang
BubonicPestile-1 has joined #ruby-lang
benlovell has joined #ruby-lang
BubonicPestilenc has quit [Ping timeout: 244 seconds]
bin7me has quit [Quit: WeeChat 0.4.3]
skade has quit [Quit: Computer has gone to sleep.]
Miphix has joined #ruby-lang
vondruch has joined #ruby-lang
<yorickpeterse>
Hanmac: you can not uninstall default Gems
<yorickpeterse>
Bundler Gems I'm not sure
<apeiros>
rm to the rescue!
<Hanmac>
hm because it seems the test-unit default gem might need the bundled power_assert ... hm
<yorickpeterse>
apeiros: the long term solution is to just stop using MRI :>
<yorickpeterse>
"just"
mjboselowitz has quit [Remote host closed the connection]
<apeiros>
no, that's the mid-term solution
<apeiros>
long term is "REINVENTING ALL THE LANGUAGES!!!"
ldnunes has joined #ruby-lang
lcdhoffman has joined #ruby-lang
<yorickpeterse>
just use Go
<yorickpeterse>
:>
<apeiros>
that's mid-term only too.
<apeiros>
reinventing programming languages is long-term imperative :D
benlovell has quit [Ping timeout: 244 seconds]
araujo has quit [Ping timeout: 244 seconds]
araujo has joined #ruby-lang
<sluukkonen>
imperative!? don't you know functional is the hot new thing :p
sarkyniin has joined #ruby-lang
<apeiros>
sluukkonen: I object!
Missphoenix has joined #ruby-lang
<whitequark>
I, object.
Miphix has quit [Ping timeout: 245 seconds]
sarkyniin has quit [Ping timeout: 245 seconds]
benlovell has joined #ruby-lang
jxie has quit [Quit: leaving]
<yorickpeterse>
whitequark: you write ocaml, you're biased
sarkyniin has joined #ruby-lang
elia has joined #ruby-lang
<whitequark>
Objective Caml.
<yorickpeterse>
I see what you did there
Forgetful_Lion has quit [Remote host closed the connection]
miqui has joined #ruby-lang
davispuh has quit [Remote host closed the connection]
<apeiros>
yorickpeterse: you meant "I C what you did there"?
<yorickpeterse>
Also, I feel it would have to be applied as a first-class citizen from the start, not an extra pair of legs bolted on later on
yorickpeterse has quit [Quit: The NSA took my baby]
yorickpeterse1 has joined #ruby-lang
yorickpeterse1 has quit [Changing host]
yorickpeterse1 has joined #ruby-lang
<sluukkonen>
as there is no way to import (so to say) namespaces in ruby
yorickpeterse1 is now known as yorickpeterse
<yorickpeterse>
soz, Failnode goofd
<yorickpeterse>
what did I miss?
<sluukkonen>
nothing
jperry has left #ruby-lang [#ruby-lang]
<maloik>
if I'm looking at importing 250k+ records from a db, changing/reformatting them into my own objects and saving them, what would be a good way of splitting this up into different processes to speed things up?
<yorickpeterse>
multi-threading
<yorickpeterse>
and don't use MRI for that
<yorickpeterse>
I'd split rows up into batches of, say, 1000
<maloik>
this is a one-time thing, I think MRI will be fine?
<yorickpeterse>
maloik: enjoy the GIL in that case
<maloik>
:/
r0bby_ has quit [Excess Flood]
<yorickpeterse>
Having said that, what database is this?
<maloik>
mysql
<yorickpeterse>
Ah ok, so no global table locks upon updates
r0bby_ has joined #ruby-lang
<yorickpeterse>
If that were the case concurrency wouldn't really help, you'd have workers fight over the lock
<yorickpeterse>
How many records are there exactly?
<yorickpeterse>
250k is not that much, you can probably do that in sequence just fnie
<yorickpeterse>
* fine
<yorickpeterse>
For Mongo on the other hand....
<maloik>
I've never gotten to the end (still debugging, db contains bad data here and there too) but so far it's taking about 45min or longer
<benlovell>
mongomg
[spoiler] has quit [Quit: Leaving]
fullybaked has joined #ruby-lang
r0bby_ has quit [Excess Flood]
r0bby_ has joined #ruby-lang
yatish27 has joined #ruby-lang
<yorickpeterse>
maloik: meh, 45min is not bad
<yorickpeterse>
also put some simple progress tracking in there
<maloik>
yea I just added a progressbar
<yorickpeterse>
Our latest Mongo migration, which was a month or 3 ago, took I think 2-3 days
<yorickpeterse>
can't really update Mongo in parallel because herp derp collection wide write locks
<maloik>
hmm, im not really sure how to split this thing up
<maloik>
must be friday :/
<yorickpeterse>
Then again that was an update on 50-something million documents
<yorickpeterse>
maloik: start with processing stuff in batches of N documents
<yorickpeterse>
opposed to one by one
<yorickpeterse>
That alone will save you lots of queries
jxie has joined #ruby-lang
<sluukkonen>
inserting the records in large enough batches is the biggest optimization you can do
InfraRuby has left #ruby-lang [#ruby-lang]
<sluukkonen>
the maximum batch size is limited by mysql's max_allowed_packet
<apeiros>
and then you should have access via __FILE__
<jeff_r>
apeiros I'll try that, thanks :)
<apeiros>
yw
karamazov has quit []
Cakey has quit [Ping timeout: 240 seconds]
amsi has quit [Ping timeout: 255 seconds]
jbardin has joined #ruby-lang
yalue has quit [Quit: Leaving]
hellangel7 has quit [Read error: Connection reset by peer]
s1kx has joined #ruby-lang
saarinen has joined #ruby-lang
lele has quit [Ping timeout: 260 seconds]
nofxx_ has quit [Ping timeout: 272 seconds]
r0bby_ has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
_ht has quit [Read error: Connection reset by peer]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vintik has joined #ruby-lang
ascarter has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
JohnFord has joined #ruby-lang
yfeldblum has quit [Ping timeout: 272 seconds]
lele has joined #ruby-lang
ascarter has joined #ruby-lang
agarie has quit [Remote host closed the connection]
loincloth has joined #ruby-lang
djbkd has joined #ruby-lang
agarie has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
Squarepy has quit [Quit: Leaving]
djbkd has quit [Ping timeout: 255 seconds]
amystephen has joined #ruby-lang
rickruby__ has left #ruby-lang [#ruby-lang]
rickruby has joined #ruby-lang
michaeldeol has joined #ruby-lang
mistym has joined #ruby-lang
jamesfordummies has joined #ruby-lang
djbkd has joined #ruby-lang
jamesfordummies has quit [Client Quit]
amsi has joined #ruby-lang
yatish27 has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
cantonic has quit [Read error: Connection reset by peer]
cantonic has joined #ruby-lang
InfraRuby has joined #ruby-lang
mjboselowitz has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jeff_r has quit []
dingus_khan has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ascarter has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
JohnFord has joined #ruby-lang
ascarter has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby-lang
jamesfordummies has joined #ruby-lang
mjboselowitz has joined #ruby-lang
ssimpkin has joined #ruby-lang
_elia has joined #ruby-lang
miqui has quit [Remote host closed the connection]
x0f has joined #ruby-lang
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JohnFord has joined #ruby-lang
x0f_ has quit [Ping timeout: 272 seconds]
apeiros has quit []
apeiros has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
yfeldblum has joined #ruby-lang
weems|mac has quit [Quit: weems|mac]
mjboselowitz has quit [Remote host closed the connection]
mjboselowitz has joined #ruby-lang
ta_ has quit [Ping timeout: 264 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
agarie has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
solars has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Remote host closed the connection]
charliesome_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michaeldeol has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
nofxx_ has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
cmhobbs has quit [Remote host closed the connection]
frank_o has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
austincb has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
agarie has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dingus_khan>
i think i have a stupid question: is there some relatively simple way to take a symbol that's passed as a parameter, that's the same name as a method, and convert it into a call to that method? am i insane?
dorei has joined #ruby-lang
<zenspider>
dingus_khan: what are you ACTUALLY trying to do?
<dingus_khan>
zenspider: the other ruby channel nailed it, __send__! d'oh
<dingus_khan>
i was basically trying to remember that, i think
<dingus_khan>
but in case i'm wrong again, i have a method that calls another class method to build a response hash, and instead of writing a case for each different protected method that might be called, i wanted to parse the method symbol specified and use it to make the appropriate call
marr has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
emmesswhy has joined #ruby-lang
djbkd has joined #ruby-lang
jds has quit [Quit: Connection closed for inactivity]
AKASkip has quit [Ping timeout: 272 seconds]
toastynerd has joined #ruby-lang
Hinkdogg has joined #ruby-lang
InfraRuby has left #ruby-lang [#ruby-lang]
djbkd has quit [Ping timeout: 255 seconds]
agarie has quit [Remote host closed the connection]
momomomomo_ has joined #ruby-lang
momomomomo_ has quit [Client Quit]
momomomomo has joined #ruby-lang
charliesome has joined #ruby-lang
momomomomo has quit [Client Quit]
momomomomo has joined #ruby-lang
mjboselowitz has quit [Remote host closed the connection]
Sgeo has joined #ruby-lang
mjboselowitz has joined #ruby-lang
momomomomo has left #ruby-lang [#ruby-lang]
momomomomo has joined #ruby-lang
ur5us has joined #ruby-lang
mjboselowitz has quit [Ping timeout: 272 seconds]
momomomomo has left #ruby-lang [#ruby-lang]
yfeldblum has joined #ruby-lang
momomomomo has joined #ruby-lang
jdecuirm has joined #ruby-lang
araujo has quit [Read error: Connection reset by peer]
<jdecuirm>
Hi
sepp2k has quit [Read error: Connection reset by peer]
araujo has joined #ruby-lang
<jdecuirm>
I'm just testing the irc chat app!
<jhass>
it doesn't work!
<jdecuirm>
lol hate you :c
yatish27 has quit [Remote host closed the connection]
shinnya has joined #ruby-lang
yatish27 has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]