[Away]x44x45x41x has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomaz_b has joined #ruby-lang
x44x45x41x4E has joined #ruby-lang
doppler has joined #ruby-lang
dhjondoh has quit [Ping timeout: 276 seconds]
dhjondoh has joined #ruby-lang
lytol has joined #ruby-lang
x44x45x41x4E has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
x44x45x41x4E has joined #ruby-lang
ur5us has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
vondruch has joined #ruby-lang
HayesHimself has joined #ruby-lang
vondruch has quit [Quit: Ex-Chat]
vondruch has joined #ruby-lang
dhjondoh has quit [Quit: dhjondoh]
futilegames has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
fujimura_ has quit [Remote host closed the connection]
allomov has quit [Remote host closed the connection]
allomov has joined #ruby-lang
Miphix has quit [Ping timeout: 252 seconds]
marr has joined #ruby-lang
fujimura has joined #ruby-lang
allomov has quit [Ping timeout: 244 seconds]
riotjone_ has joined #ruby-lang
riotjones has quit [Ping timeout: 240 seconds]
ur5us has quit [Remote host closed the connection]
Bertg has joined #ruby-lang
ta has joined #ruby-lang
loincloth has joined #ruby-lang
ta has quit [Ping timeout: 276 seconds]
yfeldblum has joined #ruby-lang
loincloth has quit [Ping timeout: 245 seconds]
allomov has joined #ruby-lang
bruno- has joined #ruby-lang
bruno- is now known as Guest46707
dhjondoh has joined #ruby-lang
allomov has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby-lang
elia has joined #ruby-lang
Guest46707 has quit [Ping timeout: 255 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
lytol has quit [Remote host closed the connection]
Nimf has joined #ruby-lang
iamninja_ has quit [Ping timeout: 264 seconds]
ta has joined #ruby-lang
gwendall has joined #ruby-lang
mikecmpbll has joined #ruby-lang
zillabags_ has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
zillabags has quit [Ping timeout: 272 seconds]
Iskarlar has joined #ruby-lang
michael_mbp has quit [Excess Flood]
zillabags has joined #ruby-lang
mikecmpbll has quit [Quit: ciao.]
michael_mbp has joined #ruby-lang
zillabags_ has quit [Ping timeout: 272 seconds]
yfeldblu_ has quit [Ping timeout: 245 seconds]
zillabags has quit [Ping timeout: 276 seconds]
doppler has quit [Quit: Page closed]
yfeldblum has joined #ruby-lang
tosbourn has joined #ruby-lang
charliesome has quit [Quit: zzz]
zillabags has joined #ruby-lang
leat has quit [Ping timeout: 256 seconds]
leat has joined #ruby-lang
<yorickpeterse>
morning
loincloth has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
Miphix has joined #ruby-lang
fujimura has joined #ruby-lang
loincloth has quit [Ping timeout: 256 seconds]
gwendall_ has joined #ruby-lang
allomov has joined #ruby-lang
postmodern has quit [Quit: Leaving]
fujimura has quit [Ping timeout: 248 seconds]
universa1 is now known as universal
universal is now known as universa1
leat has quit [Ping timeout: 256 seconds]
stamina has joined #ruby-lang
gwendall has quit [Ping timeout: 272 seconds]
leat has joined #ruby-lang
nedp has joined #ruby-lang
fujimura has joined #ruby-lang
lytol has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
lytol has quit [Ping timeout: 264 seconds]
canton7 has quit [Ping timeout: 265 seconds]
canton7 has joined #ruby-lang
canton7 has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
iamninja_ has joined #ruby-lang
allomov has quit [Ping timeout: 245 seconds]
fujimura has joined #ruby-lang
allomov has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
fujimura has joined #ruby-lang
canton7 has quit [Ping timeout: 265 seconds]
fujimura has quit [Ping timeout: 245 seconds]
arBmind1 has quit [Quit: Leaving.]
ottlikg has joined #ruby-lang
ottlikg has left #ruby-lang [#ruby-lang]
lloyd is now known as Lloyd
canton7 has joined #ruby-lang
canton7 has joined #ruby-lang
mikecmpbll has joined #ruby-lang
Lloyd is now known as lloyd
Newbie0086 has joined #ruby-lang
JaReAx has joined #ruby-lang
micmus has joined #ruby-lang
lloyd is now known as Lloyd
arBmind has joined #ruby-lang
zillabags has quit [Ping timeout: 272 seconds]
workmad3 has joined #ruby-lang
stamina has quit [Remote host closed the connection]
stamina has joined #ruby-lang
Newbie0086 has quit [Quit: 离开]
futilegames has quit [Quit: futilegames]
stef204 has joined #ruby-lang
araujo has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
Nimf has quit [Ping timeout: 272 seconds]
Mon_Ouie has quit [Ping timeout: 255 seconds]
Geoffroy has joined #ruby-lang
Geoffroy is now known as Aethelflaed
<Aethelflaed>
Hi, I'm having a problem with __send__ and public_send
<Aethelflaed>
They do not call the same method, any idea why ?
<yorickpeterse>
Not without an example
ohsix has quit [Ping timeout: 250 seconds]
jdeen has joined #ruby-lang
<jdeen>
Hi there. I have an question to ask you guys. Does it make sense to catch an exception to raise a more general exception. For example I have an app that connects through Thrift. I would like to catch all exceptions in te connect step and raise a more general SericeNotAvailableException.
<Aethelflaed>
jdeen: why not make other exceptions inherit from ServiceNotAvailableException? This way you can rescue just this type in the caller and it'll handle all your errors
<toretore>
jdeen: don't catch all exceptions; catch the ones that can be expected
<yorickpeterse>
Aethelflaed: not sure, maybe Mongoid overwrites public_send
<Aethelflaed>
would be strange, but I'll take a look
<Aethelflaed>
yorickpeterse: no, I just grepped it in the source and can't find any re-definition
tosbourn has quit [Remote host closed the connection]
duderonomy has joined #ruby-lang
<jdeen>
Aethelflaed: The thing is various errors might pop in and I would like an Sinatra app to simply show a common page that 'Remote Services are not available' kinda message. I also have an idea on what you said. To kind of have a layer in between to handle those specific errors and bubble up an exception that is a child of ServiceNotAvailableException. Then handle the other exceptions that are not connection oriented seperately. Need some thinking. Thanks alot
tosbourn has joined #ruby-lang
<jdeen>
toretore: Thanks. Ya I see the issue. Thanks for the warning.
<yorickpeterse>
Aethelflaed: maybe they overwrite "send" instead
<Aethelflaed>
yorickpeterse: It's the same with __send__ so I don't think
leat has quit [Ping timeout: 272 seconds]
leat has joined #ruby-lang
<Aethelflaed>
yorickpeterse: I updated my post on stackoverflow with an exmple with both send, public_send and __send__. Also, I tested with ruby 2.0.0 & 2.2.0, same behavior
gwendall_ has quit [Remote host closed the connection]
lytol has joined #ruby-lang
lytol has quit [Ping timeout: 250 seconds]
ohsix has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #ruby-lang
gwendall has joined #ruby-lang
stamina has quit [Quit: WeeChat 1.1.1]
caseypatrickdris has joined #ruby-lang
allomov_ has joined #ruby-lang
allomov has quit [Read error: Connection reset by peer]
loincloth has joined #ruby-lang
loincloth has quit [Ping timeout: 244 seconds]
caseypatrickdris has quit [Ping timeout: 250 seconds]
bruno- has joined #ruby-lang
tosbourn has quit []
<Aethelflaed>
yorickpeterse: I think I found the problem, they undef almost every methods to delegate to a target
Aethelflaed has quit [Quit: Page closed]
leat has quit [Ping timeout: 265 seconds]
bruno- has quit [Ping timeout: 264 seconds]
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gwendall has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
Bertg has joined #ruby-lang
araujo has quit [Quit: Leaving]
leat has joined #ruby-lang
gwendall has joined #ruby-lang
gwendall_ has joined #ruby-lang
gwendall has quit [Ping timeout: 272 seconds]
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pepperbreath has quit [Read error: Connection reset by peer]
dhjondoh has quit [Quit: dhjondoh]
jdeen has joined #ruby-lang
futilegames has joined #ruby-lang
pullphinger has joined #ruby-lang
jwaldrip_ has joined #ruby-lang
iamninja_ has quit [Quit: WeeChat 1.1.1]
victortyau has joined #ruby-lang
riotjones has quit [Remote host closed the connection]
riotjones has joined #ruby-lang
dzejrou has joined #ruby-lang
arBmind has joined #ruby-lang
anjen has joined #ruby-lang
bruno- has joined #ruby-lang
lytol has joined #ruby-lang
lytol has quit [Ping timeout: 276 seconds]
qba73 has joined #ruby-lang
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anjen has quit [Quit: anjen]
Vivex has quit [Read error: Connection reset by peer]
sgambino has joined #ruby-lang
fujimura has joined #ruby-lang
Vivex has joined #ruby-lang
djellemah has joined #ruby-lang
whippythellama has joined #ruby-lang
fujimura has quit [Ping timeout: 276 seconds]
b_hoffman has quit [Quit: b_hoffman]
djellemah_ has joined #ruby-lang
enebo has joined #ruby-lang
havenwood has joined #ruby-lang
ascarter has joined #ruby-lang
loincloth has joined #ruby-lang
djellemah has quit [Ping timeout: 246 seconds]
ascarter has quit [Max SendQ exceeded]
nathanstitt has joined #ruby-lang
ta has joined #ruby-lang
djellemah_ is now known as djellemah
ascarter has joined #ruby-lang
nertzy has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby-lang
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomaz_b has quit [Ping timeout: 248 seconds]
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby-lang
allomov_ has quit [Remote host closed the connection]
allomov has joined #ruby-lang
sgambino has joined #ruby-lang
jwaldrip_ has quit [Read error: Connection reset by peer]
fsvehla has quit [Quit: fsvehla]
havenwood has quit []
allomov has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
ta has quit [Remote host closed the connection]
k3asd` has joined #ruby-lang
wwwbukolaycom has joined #ruby-lang
jwaldrip has joined #ruby-lang
riotjones has quit [Remote host closed the connection]
nertzy has quit [Quit: This computer has gone to sleep]
k3asd` has quit [Quit: leaving]
bruno- has quit [Ping timeout: 276 seconds]
jwaldrip_ has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jwaldrip has quit [Ping timeout: 245 seconds]
ascarter has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby-lang
k3asd` has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
caseypatrickdris has quit [Remote host closed the connection]
caseypatrickdris has joined #ruby-lang
jwaldrip__ has joined #ruby-lang
ascarter has joined #ruby-lang
jwaldrip_ has quit [Ping timeout: 245 seconds]
b_hoffman has joined #ruby-lang
caseypatrickdris has quit [Ping timeout: 250 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lytol has joined #ruby-lang
k3asd` has quit [Quit: leaving]
ta has joined #ruby-lang
lytol has quit [Ping timeout: 255 seconds]
hahuang65 has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
|jemc| has joined #ruby-lang
skade has joined #ruby-lang
slawrence00 has joined #ruby-lang
bruno- has joined #ruby-lang
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Asher has quit [Quit: Leaving.]
Asher has joined #ruby-lang
nertzy has joined #ruby-lang
gwendall has joined #ruby-lang
ta has quit [Remote host closed the connection]
|jemc| has quit [Ping timeout: 256 seconds]
anjen has joined #ruby-lang
DivineEntity has quit [Quit: Lost terminal]
|jemc| has joined #ruby-lang
benhuda has joined #ruby-lang
<benhuda>
hello
rcvalle has joined #ruby-lang
<benhuda>
i'm trying to find the official Amazon Mechanical Turk SDK for Ruby - but i'm finding all kinds of abandoned gems - can anyone point me to the right direction?
HayesHimself has quit [Quit: My Mac has gone to sleep. ZZZzzz…]