ChanServ changed the topic of #ruby-lang to: Ruby 1.9.3-p125: http://ruby-lang.org | Paste >3 lines of text on http://pastie.org or use a gist
gsav has joined #ruby-lang
bfreeman has quit [Quit: bfreeman]
dejongge has joined #ruby-lang
cirwim has quit [Quit: Leaving.]
sailias has quit [Quit: Leaving.]
sailias has joined #ruby-lang
wmoxam has quit [Ping timeout: 240 seconds]
havenn has joined #ruby-lang
slyphon has quit [Quit: WeeChat 0.3.7]
cirwin has quit [Ping timeout: 245 seconds]
slyphon has joined #ruby-lang
sailias has quit [Ping timeout: 246 seconds]
yugui_zzz is now known as yugui
slyphon has quit [Quit: WeeChat 0.3.7]
ryanf has quit [Read error: Connection reset by peer]
ryanf has joined #ruby-lang
Z33K|Lux has joined #ruby-lang
TDJACR has joined #ruby-lang
krohrbaugh has joined #ruby-lang
tyre77 has quit [Quit: Leaving.]
havenn has quit [Remote host closed the connection]
macmartine has joined #ruby-lang
sailias has joined #ruby-lang
badfish129 has quit [Quit: badfish129]
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
yugui is now known as yugui_zzz
yugui_zzz is now known as yugui
neoesque has joined #ruby-lang
gix has quit [Ping timeout: 245 seconds]
dejongge has quit [Ping timeout: 252 seconds]
DEac-_ has quit [Ping timeout: 272 seconds]
seanstickle has quit [Quit: Nihil sub sole novum]
gix has joined #ruby-lang
savage- has quit [Remote host closed the connection]
ilyam has quit [Quit: ilyam]
mrsolo has quit [Quit: Leaving]
DEac- has joined #ruby-lang
Dreamer3 has quit [Quit: Leaving...]
brianpWins has quit [Quit: brianpWins]
bryancp_ has quit [Remote host closed the connection]
tyre77 has joined #ruby-lang
cczona has joined #ruby-lang
kurko_ has quit [Ping timeout: 265 seconds]
cczona has quit [Client Quit]
ben_m has quit [Quit: Leaving]
Sambalero has quit [Remote host closed the connection]
Sambalero has joined #ruby-lang
DEac- has quit [Ping timeout: 272 seconds]
jarred has quit [Quit: jarred]
igotnolegs has joined #ruby-lang
brianpWins has joined #ruby-lang
dvorak has joined #ruby-lang
brianpWins has quit [Remote host closed the connection]
bfreeman has joined #ruby-lang
iamlacroix has joined #ruby-lang
hynkle has joined #ruby-lang
hynkle has quit [Client Quit]
iamlacroix has quit [Remote host closed the connection]
tyre77 has quit [Quit: Leaving.]
carter_ has quit [Ping timeout: 250 seconds]
stardiviner has joined #ruby-lang
stardiviner has quit [Remote host closed the connection]
stardiviner has joined #ruby-lang
tyre77 has joined #ruby-lang
carter_ has joined #ruby-lang
TDJACR has quit [Read error: Operation timed out]
igotnolegs has quit [Quit: Computer has gone to sleep.]
TDJACR has joined #ruby-lang
brianpWins has joined #ruby-lang
justinmcp has quit [Ping timeout: 244 seconds]
justinmcp has joined #ruby-lang
tyre77 has quit [Quit: Leaving.]
<zenspider> ruby -vcwe "m(42, :a => 1, :b => 2, *c)" # works on 1.8.7
<zenspider> but doesn't under 1.9?!?
DEac- has joined #ruby-lang
yugui is now known as yugui_zzz
Weems has joined #ruby-lang
Weems has quit [Changing host]
Weems has joined #ruby-lang
renato_ has quit [Quit: leaving]
jbsan has quit [Ping timeout: 245 seconds]
<zenspider> idgi
jbsan has joined #ruby-lang
umttumt has joined #ruby-lang
cirwim has joined #ruby-lang
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
rails is now known as Barkside
andrewhl has joined #ruby-lang
umttumt has quit [Remote host closed the connection]
ilyam has joined #ruby-lang
ilyam has quit [Client Quit]
<zenspider> RAWR! NO MORE FAILURES!
tyman has quit [Remote host closed the connection]
tyman has joined #ruby-lang
neocoin has quit [Remote host closed the connection]
awwaiid has quit [Ping timeout: 246 seconds]
awwaiid has joined #ruby-lang
ryanf has quit [Quit: leaving]
ryanf has joined #ruby-lang
tommyvyo has quit [Ping timeout: 272 seconds]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
tommyvyo has joined #ruby-lang
EvilJStoker has quit [Excess Flood]
EvilJStoker has joined #ruby-lang
dhruvasagar has joined #ruby-lang
cirwim has left #ruby-lang [#ruby-lang]
cirwim has joined #ruby-lang
Brainix has joined #ruby-lang
sailias has quit [Ping timeout: 240 seconds]
andrewhl has quit [Remote host closed the connection]
Caius has quit [Ping timeout: 252 seconds]
dfr|mac has joined #ruby-lang
zz_wasnotrice is now known as wasnotrice
coryf has joined #ruby-lang
Caius has joined #ruby-lang
ryanf has quit [Ping timeout: 250 seconds]
kvirani has quit [Remote host closed the connection]
umttumt has joined #ruby-lang
naz has joined #ruby-lang
coryf has quit [Remote host closed the connection]
ivanoats has quit [Quit: ivanoats]
ivanoats has joined #ruby-lang
ryanf has joined #ruby-lang
perryh_away is now known as perryh
perryh is now known as perry
macmartine has quit [Quit: macmartine]
yugui_zzz is now known as yugui
<zenspider> 1.9 parsing! suck it bitches!
nicknasty has joined #ruby-lang
nicknasty has quit [Remote host closed the connection]
woollyams has quit [Read error: Connection reset by peer]
brianpWins has quit [Quit: brianpWins]
jxie has quit [Quit: leaving]
<erikh> zenspider: !
<erikh> nice dude
yugui is now known as yugui_zzz
<zenspider> still have a lot of tests to write (that I don't know how to write)
<zenspider> :(
jxie has joined #ruby-lang
jxie has quit [Client Quit]
<zenspider> but I'm down to 32 lines of structural diff with the 1.9.3 parser
<zenspider> the last commit took me 5 days :/
jxie has joined #ruby-lang
yugui_zzz is now known as yugui
woollyams has joined #ruby-lang
msaffitz has joined #ruby-lang
hahuang65 has joined #ruby-lang
hahuang65 has quit [Client Quit]
cirwim has left #ruby-lang [#ruby-lang]
woollyams has quit [Quit: Computer has gone to sleep.]
dalekurt has quit [Quit: Zzz...]
jesly has joined #ruby-lang
Caius has quit [Ping timeout: 252 seconds]
hakunin_ is now known as hakunin
mistym has quit [Remote host closed the connection]
brianpWins has joined #ruby-lang
gja has joined #ruby-lang
gja has quit [Changing host]
gja has joined #ruby-lang
ivanoats has quit [Quit: Leaving...]
TheHunter_1039 has quit [Quit: TheHunter_1039]
codewrangler has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
ryanf has quit [Ping timeout: 248 seconds]
jesly has quit [Ping timeout: 246 seconds]
macmartine has joined #ruby-lang
robbyoconnor has joined #ruby-lang
achamian has joined #ruby-lang
jesly has joined #ruby-lang
macmartine has quit [Read error: Connection reset by peer]
macmartine has joined #ruby-lang
yugui is now known as yugui_zzz
jesly has quit [Ping timeout: 248 seconds]
banisterfiend has quit [Remote host closed the connection]
banisterfiend has joined #ruby-lang
bglusman_ has quit [Remote host closed the connection]
Taranis_ has joined #ruby-lang
Taranis has quit [Ping timeout: 248 seconds]
kgrz has joined #ruby-lang
ryanf has joined #ruby-lang
naz has quit [Read error: Connection reset by peer]
neocoin has joined #ruby-lang
achamian has quit [Ping timeout: 244 seconds]
jxie has quit [Ping timeout: 244 seconds]
jxie has joined #ruby-lang
achamian has joined #ruby-lang
achamian has quit [Remote host closed the connection]
macmartine has quit [Read error: Connection reset by peer]
macmartine has joined #ruby-lang
yxhuvud has joined #ruby-lang
zmack has joined #ruby-lang
sepp2k has joined #ruby-lang
ryanf has quit [Quit: leaving]
ramonmaruko has quit [Remote host closed the connection]
ramonmaruko has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 244 seconds]
wasnotrice is now known as zz_wasnotrice
burgestrand has quit [Quit: Leaving.]
nertzy has quit [Quit: This computer has gone to sleep]
macmartine has quit [Quit: macmartine]
xtagon has quit [Ping timeout: 264 seconds]
ryanf has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
Barkside is now known as rails
ruurd has quit [Quit: Leaving...]
toretore has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
scientes has quit [Quit: Leaving]
cantonic has quit [Quit: cantonic]
dfr|mac has quit [Remote host closed the connection]
shang` has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
banisterfiend has joined #ruby-lang
cantonic has joined #ruby-lang
Ark444 has joined #ruby-lang
tzvi has joined #ruby-lang
rushed has joined #ruby-lang
rue_XIV has joined #ruby-lang
sei has joined #ruby-lang
s0ber_ has joined #ruby-lang
postmodern has quit [*.net *.split]
tzvi|work has quit [*.net *.split]
Axsuul has quit [*.net *.split]
canton7 has quit [*.net *.split]
knu has quit [*.net *.split]
kalleth has quit [*.net *.split]
Torrieri has quit [*.net *.split]
sora_h has quit [*.net *.split]
indeterminate has quit [*.net *.split]
s0ber has quit [*.net *.split]
hinbody has quit [*.net *.split]
musl has quit [*.net *.split]
frem has quit [*.net *.split]
tris has quit [*.net *.split]
flebel has quit [*.net *.split]
L0rdShrek has quit [*.net *.split]
hackeron has quit [*.net *.split]
rue has quit [*.net *.split]
jorgenpt has quit [*.net *.split]
conceal_rs_ has quit [*.net *.split]
ged has quit [*.net *.split]
L0rdShrek has joined #ruby-lang
s0ber_ is now known as s0ber
hinbody has joined #ruby-lang
postmodern has joined #ruby-lang
kitallis has joined #ruby-lang
jorgenpt has joined #ruby-lang
veex has joined #ruby-lang
<veex> how do I sort the created method data by most recent within the #index method?
hackeron has joined #ruby-lang
knu has joined #ruby-lang
ged has joined #ruby-lang
NeVeR_ has joined #ruby-lang
Ark444 has left #ruby-lang [#ruby-lang]
<bnagy> wat?
piyush_ has joined #ruby-lang
ged has quit [Excess Flood]
segy_ has quit [Ping timeout: 245 seconds]
<banisterfiend> bnagy: naggdogg!
kalleth has joined #ruby-lang
<bnagy> sup banisterfiend
Axsuul has joined #ruby-lang
<bnagy> veex: what "created method data" and #index on which class?
<veex> I have a trips and a drivers controller. I can create a trip and it will save by adding the newly saved trip to the bottom of the list.
<banisterfiend> bnagy: i'm not sure, i keep forgetting, sometimes my mind is skimming along the surface but then it slips into a crevasse and i cant get it out again for ages. Right now im sitting here in a stupor trying to remember what i was doing, i swear it was something important
<veex> What do I need to add to the trips controller index or show method within Rails to sort those trips by adding the most recent to the top of the list instead :)
<bnagy> veex: ok well to the extent that makes any sense at all
<bnagy> a) if it's a rails question, #rubyonrails
<bnagy> b) unshoft will add an item to the start of a list (Array etc)
<bnagy> *unshift
<erikh> unshaft
<erikh> it's a bad mutha....
ged has joined #ruby-lang
<bnagy> I wish I could, that would make debugging a lot easier
msaffitz has quit [Quit: Computer has gone to sleep.]
<bnagy> find . -name \*.rb | xargs unshaft
flebel has joined #ruby-lang
<erikh> heh
<bnagy> my new hobby -> find . -name \*.rb | xargs ruby -wc | grep -v SYNTAX OK | wc -l -> 0
<bnagy> it's fussy about brackets I never thought were important, it turns out
Torrieri has joined #ruby-lang
conceal_rs_ has joined #ruby-lang
<veex> hmm bnagy
<bnagy> oh, also ruby -wc breaks the pipeline if it finds an actual syntax error (as opposed to warning) which is retarded
ruurd has joined #ruby-lang
sora_h has joined #ruby-lang
frem has joined #ruby-lang
<bnagy> banisterfiend: do some trolling, that will cheer you up
<bnagy> I'm playing retarded ipad games instead of actually working, which is possibly worse :(
Z33K|Lux has quit []
<bnagy> in between debugging stupid win64 alignment issues
tris has joined #ruby-lang
Torrieri has quit [Remote host closed the connection]
<bnagy> in other news I am _almost_ ready to cough up for a sublime text license
tris has quit [Excess Flood]
solars has joined #ruby-lang
<banisterfiend> bnagy: use emacs
<banisterfiend> :P
<bnagy> when hell freezes over
<bnagy> VIM 4 LYFE MOFO
musl has joined #ruby-lang
<bnagy> 15:20 < bnagy> banisterfiend: do some trolling, that will cheer you up <-- oh I see what you did, there
<banisterfiend> hehe
<banisterfiend> trolling in my blood
<ruskie> all editors suck... just use clay tablets
gnufied has joined #ruby-lang
<bnagy> well that's all computers are, really
<bnagy> just very fancy ones
tris has joined #ruby-lang
ramonmaruko has quit [Read error: Connection reset by peer]
msaffitz has joined #ruby-lang
segy has joined #ruby-lang
segy has quit [Changing host]
segy has joined #ruby-lang
apeiros_ has joined #ruby-lang
ramonmaruko has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
woollyams has joined #ruby-lang
cantonic has quit [Quit: cantonic]
cantonic has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
gix has quit [Ping timeout: 248 seconds]
gnufied has joined #ruby-lang
gix has joined #ruby-lang
ryanf has quit [Quit: leaving]
francisfish has joined #ruby-lang
_br_ has joined #ruby-lang
_br_ has quit [Client Quit]
francisfish has quit [Ping timeout: 252 seconds]
francisfish has joined #ruby-lang
rolfb has joined #ruby-lang
_br_ has joined #ruby-lang
msaffitz has quit [Quit: Computer has gone to sleep.]
zmack has quit [Remote host closed the connection]
_br_ has quit [Quit: Bye, thanks for all the fish.]
Burgestr_ has joined #ruby-lang
Burgestr_ has quit [Client Quit]
_br_ has joined #ruby-lang
ruurd has quit [Quit: Linkinus - http://linkinus.com]
Mikoangelo has quit [Read error: Operation timed out]
piyush_ has quit [Ping timeout: 246 seconds]
wallerdev has quit [Quit: wallerdev]
ruurd has joined #ruby-lang
AlHafoudh has joined #ruby-lang
_br_ has quit [Quit: Bye, thanks for all the fish.]
Mikoangelo has joined #ruby-lang
AlHafoud_ has joined #ruby-lang
AlHafoud_ has quit [Client Quit]
AlHafoudh has quit [Ping timeout: 264 seconds]
AlHafoudh has joined #ruby-lang
sora_h is now known as s0ra_h
kgrz has quit [Quit: kgrz]
perry is now known as perryh_away
mssola has joined #ruby-lang
qwerxy has joined #ruby-lang
robotmay has joined #ruby-lang
future_chimp has joined #ruby-lang
piyush_ has joined #ruby-lang
zmack has joined #ruby-lang
Criztian has joined #ruby-lang
workmad3 has joined #ruby-lang
jmcphers has quit [Ping timeout: 252 seconds]
zmack_ has joined #ruby-lang
jmcphers has joined #ruby-lang
zmack has quit [Ping timeout: 246 seconds]
s0ra_h is now known as sora_h
kith has quit [Ping timeout: 252 seconds]
cdt has joined #ruby-lang
chendo_ has joined #ruby-lang
asio has joined #ruby-lang
matti has joined #ruby-lang
banisterfiend has joined #ruby-lang
Brainix has quit [Ping timeout: 245 seconds]
banisterfiend has quit [Remote host closed the connection]
threedaymonk has quit [Ping timeout: 260 seconds]
ltd- has quit [Ping timeout: 260 seconds]
threedaymonk has joined #ruby-lang
ltd- has joined #ruby-lang
future_chimp has quit [Read error: Operation timed out]
rushed has quit [Quit: rushed]
<veex> where's my boy erikh
future_chimp has joined #ruby-lang
SubSpawn has joined #ruby-lang
charliesome has joined #ruby-lang
dhruvasagar has joined #ruby-lang
banisterfiend has joined #ruby-lang
jarib has quit [Excess Flood]
jarib has joined #ruby-lang
TheHunter_1039 has joined #ruby-lang
d3vic3 has quit [Ping timeout: 248 seconds]
d3vic3 has joined #ruby-lang
tonni has quit [Remote host closed the connection]
Pip has joined #ruby-lang
Hakon|mbp has quit [Remote host closed the connection]
Hakon|mbp has joined #ruby-lang
sora_h is now known as s0ra_h
Hakon|mbp has quit [Client Quit]
Torrieri has joined #ruby-lang
Torrieri has quit [Changing host]
Torrieri has joined #ruby-lang
Torrieri has quit [Client Quit]
Torrieri has joined #ruby-lang
Torrieri has quit [Changing host]
Torrieri has joined #ruby-lang
zmack_ has quit [Read error: Connection reset by peer]
zmack has joined #ruby-lang
zmack_ has joined #ruby-lang
Taranis_ has quit [Quit: leaving]
zmack has quit [Ping timeout: 246 seconds]
_br_ has joined #ruby-lang
vectorshelve has joined #ruby-lang
Taranis has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 246 seconds]
_br_ has quit [Client Quit]
Torrieri has quit [Quit: Saliendo]
Torrieri has joined #ruby-lang
Torrieri has quit [Changing host]
Torrieri has joined #ruby-lang
dhruvasagar has joined #ruby-lang
tonni has joined #ruby-lang
_br_ has joined #ruby-lang
Torrieri has quit [Client Quit]
Torrieri has joined #ruby-lang
Torrieri has quit [Changing host]
Torrieri has joined #ruby-lang
s0ra_h is now known as sora_h
<oddmunds> maybe try?
<darix> vectorshelve: require 'active_support/all'
<darix> something.try.very.try.loong.try.to.try.write
Hakon|mbp has joined #ruby-lang
<darix> i leave it to you which module of activesupport implements it
S2kx has quit [Ping timeout: 244 seconds]
<darix> to find out ...
<vectorshelve> darix: thanks
S1kx has joined #ruby-lang
S1kx has joined #ruby-lang
<bnagy> vectorshelve: I thought you got banned?
<bnagy> like, for this, for being an inconsiderate asshole and crossposting long after you've been told repeatedly it's wrong
Pip has left #ruby-lang ["Leaving"]
kvirani has joined #ruby-lang
thone_ has quit [Read error: Operation timed out]
vectorshelve has left #ruby-lang [#ruby-lang]
banisterfiend has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby-lang
vesan has quit [Read error: Connection reset by peer]
shang` has quit [Remote host closed the connection]
workmad3 has quit [Quit: Lost terminal]
neoesque has quit [Quit: Bye!]
vesan has joined #ruby-lang
thone has joined #ruby-lang
umttumt has quit [Remote host closed the connection]
Torrieri has quit [Ping timeout: 244 seconds]
gsav has quit [Quit: leaving]
gsav has joined #ruby-lang
future_chimp has quit [Quit: This computer has gone to sleep]
tjadc has joined #ruby-lang
canton7 has joined #ruby-lang
<andrewvos> BURN
<banisterfiend> andrewvos: sup
<andrewvos> banisterfiend: hey dude
<banisterfiend> what burned
kurko_ has joined #ruby-lang
gsav has quit [Ping timeout: 248 seconds]
tjadc_ has joined #ruby-lang
zmack_ has quit [Read error: Connection reset by peer]
zmack has joined #ruby-lang
hackeron has quit [Read error: Operation timed out]
hackeron has joined #ruby-lang
piyush_ has quit [Ping timeout: 264 seconds]
future_chimp has joined #ruby-lang
gsav has joined #ruby-lang
chendo_ has quit [Quit: Computer has gone to sleep.]
future_chimp has quit [Ping timeout: 246 seconds]
rolfb has quit [Quit: Leaving...]
Defusal has quit [Read error: Connection reset by peer]
Defusal has joined #ruby-lang
jxie has quit [Quit: leaving]
mistym has joined #ruby-lang
TheHunter_1039 has quit [Quit: TheHunter_1039]
TheHunter_1039 has joined #ruby-lang
workmad3 has joined #ruby-lang
heftig has quit [Quit: leaving]
<andrewvos> banisterfiend: Was responding to what bnagy said.
stardiviner has quit [Ping timeout: 248 seconds]
tyre77 has joined #ruby-lang
mistym has quit [Remote host closed the connection]
kith has joined #ruby-lang
mistym has joined #ruby-lang
stardiviner has joined #ruby-lang
mistym has quit [Remote host closed the connection]
sailias has joined #ruby-lang
scampbell has joined #ruby-lang
dalekurt has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
vesan has quit [Read error: Connection reset by peer]
vesan has joined #ruby-lang
future_chimp has joined #ruby-lang
sailias has quit [Ping timeout: 246 seconds]
JustinCampbell has joined #ruby-lang
unixabg has joined #ruby-lang
dontbecold_ has quit [Quit: leaving]
tyre77 has quit [Ping timeout: 245 seconds]
tyre77 has joined #ruby-lang
fromhet has joined #ruby-lang
tyre77 has quit [Ping timeout: 264 seconds]
tyre77 has joined #ruby-lang
bglusman has joined #ruby-lang
yugui_zzz is now known as yugui
bglusman has quit [Read error: Connection reset by peer]
bglusman has joined #ruby-lang
postmodern has quit [Quit: Leaving]
kvirani has quit [Remote host closed the connection]
piyush_ has joined #ruby-lang
mistym has quit [Remote host closed the connection]
dv310p3r has joined #ruby-lang
agile has quit [Remote host closed the connection]
voker57 has quit [Remote host closed the connection]
unixabg has left #ruby-lang [#ruby-lang]
hynkle has joined #ruby-lang
heftig has joined #ruby-lang
yugui is now known as yugui_zzz
agile has joined #ruby-lang
yugui_zzz is now known as yugui
AlHafoudh has quit [Read error: Operation timed out]
kvirani has joined #ruby-lang
fgomez has quit [Quit: Lost terminal]
rolfb has joined #ruby-lang
rmascarenhas has joined #ruby-lang
gsav has quit [Ping timeout: 255 seconds]
kgrz has joined #ruby-lang
NeVeR_ has quit [Remote host closed the connection]
piyush_ has quit [Ping timeout: 246 seconds]
akira989 has joined #ruby-lang
kgrz has quit [Quit: kgrz]
outoftime has joined #ruby-lang
piyush_ has joined #ruby-lang
sailias has joined #ruby-lang
yugui is now known as yugui_zzz
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
savage- has joined #ruby-lang
d3vic3 has quit [Ping timeout: 265 seconds]
fgomez has joined #ruby-lang
d3vic3 has joined #ruby-lang
Pip has joined #ruby-lang
Pip has quit [Changing host]
Pip has joined #ruby-lang
<jMCg> This works in Ruby 1.9: http://sprunge.us/QdAZ but on 1.8 I'm getting: TypeError: can't convert Fixnum into String
<matti> jMCg: Better channel to ask about this is #puppet.
<matti> jMCg: Or, Google Group "Puppet Users" :)
<matti> jMCg: Show complete backtrace if possible.
<jMCg> matti: I'm not getting one.
<matti> jMCg: You can fire irb
<jMCg> I don't have access to all servers yet :O
<matti> jMCg: require 'facter'
<matti> jMCg: dom.max_memory.to_i maybe? ;]
<matti> Just a wild guess.
<jMCg> Oi.
<matti> ;d
<matti> But the format of this fact is going to be very weird.
<matti> And hard to work with in Puppet.
<matti> If you ineeed assemble it inside "guests"
macmartine has joined #ruby-lang
hinbody has quit [Ping timeout: 246 seconds]
<jMCg> matti: I know, we need some custom reports, and figured that foreman is the best way to do that. And the simplest start is to put them in facts.
<matti> jMCg: Fair enough. As there hardly is different way to get that sort of data in a structured manner.
<matti> jMCg: But then, you could yield JSON there :)
<matti> jMCg: Unless you just want it to show up in Foreman :)
<jMCg> matti: I don't know, I'll have to see what gets us closest to where we want to be.
<matti> jMCg: Also, you can test this fact in isolation. Put it in some directory and then: FACTERLIB=. facter -p
<matti> jMCg: Sure thing.
judofyr has joined #ruby-lang
hinbody has joined #ruby-lang
yugui_zzz is now known as yugui
freedrull has left #ruby-lang [#ruby-lang]
rmascarenhas has quit [Quit: leaving]
judofyr has quit [Remote host closed the connection]
hynkle_ has joined #ruby-lang
hynkle has quit [Quit: hynkle]
hynkle_ has quit [Client Quit]
hynkle has joined #ruby-lang
jxie has joined #ruby-lang
bfreeman has quit [Quit: bfreeman]
dfr|mac has joined #ruby-lang
Nekka has quit [Quit: WeeChat 0.3.8]
rue_XIV has left #ruby-lang [#ruby-lang]
rue has joined #ruby-lang
hynkle has quit [Client Quit]
hynkle has joined #ruby-lang
rippa has joined #ruby-lang
Nekka has joined #ruby-lang
enroxorz has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 250 seconds]
andrewhl has joined #ruby-lang
burgestrand1 has joined #ruby-lang
Nekka has quit [Quit: WeeChat 0.3.8]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
Guedes has quit [Excess Flood]
Guedes has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
fgomez has quit [Quit: Lost terminal]
ttilley_off is now known as ttilley
Sambalero has joined #ruby-lang
asahi has joined #ruby-lang
seoaqua has quit [Quit: Leaving]
lsegal has joined #ruby-lang
<asahi> hello, I'm getting a 500 => Net::HTTPInternalServerError, and I thought rescue Net::HTTPInternalServerError would rescue it, but that doesn't seem to be rescuing it
<banisterfiend> asahi: i dont belieev u
<canton7> asahi, code sample?
<asahi> so I have begin; <some code>; rescue Net::HTTPInternalServerError; next; rescue => e; binding.pry; end; but the general rescue is rescuing it. and when I inspect the exception, I see that it's Net::HTTPInternalServerError
Torrieri has joined #ruby-lang
Torrieri has quit [Changing host]
Torrieri has joined #ruby-lang
<banisterfiend> asahi: do u have pry-stack_explorer installed? if so u can 'up' through the call stack to find the source of the error
yugui is now known as yugui_zzz
<asahi> banisterfiend: I don't. I'll try it out
Pip is now known as Bib
Bib is now known as Pip
burgestrand1 has quit [Quit: Leaving.]
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
dfr|mac has quit [Remote host closed the connection]
brunocoelho has joined #ruby-lang
<asahi> is there a way for me to explicitly raise Net::HTTPInternalServerError for testing purposes?
outoftime has quit [Remote host closed the connection]
solars has quit [Ping timeout: 245 seconds]
cantonic has quit [Quit: cantonic]
gregmore_ has joined #ruby-lang
jxie has quit [Quit: leaving]
gregmoreno has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby-lang
tyre77 has quit [Quit: Leaving.]
jxie has joined #ruby-lang
hynkle has quit [Quit: Computer has gone to sleep.]
apeiros_ has joined #ruby-lang
hynkle has joined #ruby-lang
cjs226 has joined #ruby-lang
erics has joined #ruby-lang
gja has quit [Quit: This computer has gone to sleep]
Skif has quit [Ping timeout: 240 seconds]
coryf has joined #ruby-lang
kitallis has quit [Read error: Connection reset by peer]
piyush_ has quit [Ping timeout: 246 seconds]
zmack has quit [Remote host closed the connection]
shevy has quit [Ping timeout: 252 seconds]
ruurd has quit [Quit: Leaving...]
brianpWins has quit [Quit: brianpWins]
Criztian has quit [Remote host closed the connection]
kurko__ has joined #ruby-lang
<asahi> If the exception I'm getting is 500 => Net::HTTPInternalServerError, I should rescue it with rescue Net::HTTPInternalServerError, is that correct? not sure if it matters that there's a 500 there
kurko_ has quit [Ping timeout: 244 seconds]
erics has quit [Remote host closed the connection]
Skif has joined #ruby-lang
hynkle has quit [Quit: Computer has gone to sleep.]
<asahi> actually, if I do exception.class, I get Mechanize::ResponseCodeError, so maybe I should be rescuing that instead
rowanu has joined #ruby-lang
dasil003 has joined #ruby-lang
<dasil003> stupid rspec question...
<dasil003> is there a way to add additional details to a failure?
<dasil003> eg. I want to print out the line that is causing this spec to fail
heftig has quit [Quit: leaving]
jxie has quit [Quit: leaving]
savage- has quit [Remote host closed the connection]
hynkle has joined #ruby-lang
fgomez has joined #ruby-lang
hynkle has quit [Client Quit]
shevy has joined #ruby-lang
brunocoelho has quit [Remote host closed the connection]
hynkle has joined #ruby-lang
jxie has joined #ruby-lang
saLOUt has joined #ruby-lang
qwerxy has quit [Ping timeout: 244 seconds]
tjadc has quit [Read error: Connection reset by peer]
tjadc_ has quit [Read error: Connection reset by peer]
msaffitz has joined #ruby-lang
kurko___ has joined #ruby-lang
tbuehlmann has joined #ruby-lang
kurko__ has quit [Ping timeout: 265 seconds]
robotmay has quit [Remote host closed the connection]
Jay_Levitt has joined #ruby-lang
naz has joined #ruby-lang
bfreeman has joined #ruby-lang
brianpWins has joined #ruby-lang
headius has joined #ruby-lang
akira989 has quit [Remote host closed the connection]
umttumt has joined #ruby-lang
outoftime has joined #ruby-lang
indstry has joined #ruby-lang
ben_m has joined #ruby-lang
piyo has joined #ruby-lang
piyo has left #ruby-lang [#ruby-lang]
gnufied has quit [Quit: Leaving.]
wallerdev has quit [Quit: wallerdev]
d3vic3 has quit [Quit: leaving]
savage- has joined #ruby-lang
rmascarenhas has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
kurko__ has joined #ruby-lang
gsav has joined #ruby-lang
kurko___ has quit [Ping timeout: 244 seconds]
solars has joined #ruby-lang
dasil003_ has joined #ruby-lang
tzvi has quit [Read error: Connection reset by peer]
dasil003_ has quit [Client Quit]
TDJACR has quit [Ping timeout: 250 seconds]
rushed has joined #ruby-lang
fromhet has quit [Quit: fromhet]
dasil003 has quit [Ping timeout: 248 seconds]
umttumt has quit [Remote host closed the connection]
Torrieri has quit [Ping timeout: 255 seconds]
tzvi has joined #ruby-lang
singpolyma has quit [Remote host closed the connection]
tommyvyo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
sora_h is now known as s0ra_h
tyre77 has joined #ruby-lang
singpolyma has joined #ruby-lang
indstry has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
carloslopes has joined #ruby-lang
NeVeR_ has joined #ruby-lang
coryf is now known as acidreflux
gregf has quit [Quit: WeeChat 0.3.8]
workmad3 has quit [Ping timeout: 255 seconds]
future_chimp has quit [Quit: Leaving]
heftig has joined #ruby-lang
sockmonk has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
zz_wasnotrice is now known as wasnotrice
mrsolo has joined #ruby-lang
cirwin has joined #ruby-lang
tyre77 has quit [Read error: Connection reset by peer]
tyre771 has joined #ruby-lang
enroxorz has left #ruby-lang ["Leaving"]
zmack has joined #ruby-lang
msaffitz has quit [Quit: Computer has gone to sleep.]
rolfb has quit [Quit: Linkinus - http://linkinus.com]
naz has quit [Read error: Connection reset by peer]
Jake232 has joined #ruby-lang
bglusman has quit [Remote host closed the connection]
bglusman has joined #ruby-lang
bglusman has quit [Read error: Connection reset by peer]
youngin has joined #ruby-lang
bglusman has joined #ruby-lang
ruurd has joined #ruby-lang
rking has quit [Quit: BBIAB]
cdt has quit [Quit: Ex-Chat]
Sambalero has joined #ruby-lang
rking has joined #ruby-lang
rking has quit [Client Quit]
rking has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
Sambalero has joined #ruby-lang
hynkle has quit [Quit: Computer has gone to sleep.]
msaffitz has joined #ruby-lang
gregf has joined #ruby-lang
hynkle has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
gsav has quit [Ping timeout: 245 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
tbuehlmann has quit []
mrsolo has joined #ruby-lang
popsyx has joined #ruby-lang
popsyx has left #ruby-lang [#ruby-lang]
arooni-mobile has quit [Quit: Leaving]
arooni-mobile has joined #ruby-lang
gsav has joined #ruby-lang
akira989 has joined #ruby-lang
ryez_ has joined #ruby-lang
Asher has quit [Ping timeout: 252 seconds]
qpingu has joined #ruby-lang
Hakon|mbp has quit [Quit: Leaving...]
jtoy has joined #ruby-lang
dasil003 has joined #ruby-lang
<jtoy> what is the simplest way to output both to a log and stdout from ruby?
xtagon has joined #ruby-lang
sailias has quit [Ping timeout: 246 seconds]
dasil003 has quit [Remote host closed the connection]
Jake232 has quit [Ping timeout: 248 seconds]
Taranis has quit [Read error: Connection reset by peer]
Asher has joined #ruby-lang
Taranis has joined #ruby-lang
agilob has quit [Ping timeout: 252 seconds]
workmad3 has joined #ruby-lang
<Mon_Ouie> Yeah
jxie has quit [Ping timeout: 250 seconds]
agilob has joined #ruby-lang
<znowi> this is probably the longest ruby method name i've seen: get_current_head_and_filename_and_content_type_and_name_and_body
<znowi> :)
solars has quit [Ping timeout: 246 seconds]
<apeiros_> get_?
<apeiros_> get_?!?
<apeiros_> get_?!?!?
<apeiros_> HERESY!!!
qwerxy has joined #ruby-lang
workmad3 has quit [Ping timeout: 265 seconds]
qwerxy has quit [Client Quit]
<znowi> mistym: good one :)
<mistym> "good" one
lightcap has quit [Quit: Computer has gone to sleep.]
kvs has quit [Quit: ZNC - http://znc.in]
jaylevitt has joined #ruby-lang
mrsolo has quit [Quit: This computer has gone to sleep]
Jay_Levitt has quit [Ping timeout: 240 seconds]
jaylevitt has quit [Remote host closed the connection]
mrsolo has joined #ruby-lang
robotmay has joined #ruby-lang
solars has joined #ruby-lang
qwerxy has joined #ruby-lang
jxie has joined #ruby-lang
<Mon_Ouie> apeiros_: get_ prefix isn't always a bad thing — when instead of meaning "return" it means "fetch" e.g.
ryez_ has quit [Ping timeout: 245 seconds]
Jay_Levitt has joined #ruby-lang
jtoy has quit [Quit: jtoy]
<erikh> I once worked at a company that used obscenely long method names
<erikh> something about "self-documenting code"
<erikh> I wasn't there very long.
youngin has left #ruby-lang [#ruby-lang]
Brainix has joined #ruby-lang
jtoy has joined #ruby-lang
Brainix_ has joined #ruby-lang
Brainix_ has left #ruby-lang [#ruby-lang]
francisfish has joined #ruby-lang
akira989 has quit [Remote host closed the connection]
sailias has joined #ruby-lang
kvs has joined #ruby-lang
Brainix has quit [Ping timeout: 252 seconds]
andrewhl_ has joined #ruby-lang
Hakon|mbp has joined #ruby-lang
andrewhl has quit [Ping timeout: 265 seconds]
gsav has quit [Ping timeout: 265 seconds]
r0bby has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 265 seconds]
kyrylo has quit [Ping timeout: 246 seconds]
savage- has quit [Ping timeout: 264 seconds]
dasil003_ has joined #ruby-lang
Carnage\ has joined #ruby-lang
r0bby is now known as robbyoconnor
<apeiros_> Mon_Ouie: then call it fetch_ :-p
qwerxy has quit [Quit: offski]
akira989 has joined #ruby-lang
gsav has joined #ruby-lang
QaDeS has joined #ruby-lang
cirwin has quit [Ping timeout: 248 seconds]
gsav has quit [Quit: Lost terminal]
gsav has joined #ruby-lang
msaffitz has quit [Quit: Computer has gone to sleep.]
rippa has quit [Ping timeout: 246 seconds]
injekt has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
neocoin has quit [Remote host closed the connection]
jperry2 has quit [Ping timeout: 245 seconds]
cirwin has joined #ruby-lang
sepp2k has quit [Remote host closed the connection]
Sambalero has joined #ruby-lang
zmack has quit [Remote host closed the connection]
zmack has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
ttilley is now known as ttilley_off
zmack has quit [Ping timeout: 246 seconds]
ryez has quit [Ping timeout: 245 seconds]
wasnotrice is now known as zz_wasnotrice
andrewhl_ has quit [Remote host closed the connection]
sailias has quit [Ping timeout: 244 seconds]
badfish129 has joined #ruby-lang
NeVeR_ has quit [Remote host closed the connection]
msaffitz has joined #ruby-lang
lorinc has joined #ruby-lang
workmad3 has joined #ruby-lang
hynkle has quit [Quit: Computer has gone to sleep.]
kyrylo has joined #ruby-lang
kyrylo has quit [Changing host]
kyrylo has joined #ruby-lang
Carnage\ has quit [Read error: Connection reset by peer]
qwerxy has joined #ruby-lang
Carnage\ has joined #ruby-lang
hynkle has joined #ruby-lang
rmascarenhas has quit [Quit: leaving]
workmad3 has quit [Ping timeout: 240 seconds]
<zenspider> graph 2.5.1 released
yxhuvud has quit [Ping timeout: 246 seconds]
shevy has left #ruby-lang [#ruby-lang]
burgestrand has joined #ruby-lang
sockmonk has quit [Ping timeout: 272 seconds]
rowanu has quit [Ping timeout: 246 seconds]
nikky has joined #ruby-lang
qwerxy has quit [Quit: offski]
solars has quit [Ping timeout: 245 seconds]
nikky has quit [Quit: Changing server]
bglusman has quit [Remote host closed the connection]
nikky has joined #ruby-lang
workmad3 has joined #ruby-lang
hynkle has quit [Quit: Computer has gone to sleep.]
jperry2 has joined #ruby-lang
solars has joined #ruby-lang
jperry2 has quit [Client Quit]
headius has quit [Quit: headius]
rowanu has joined #ruby-lang
tbuehlmann has joined #ruby-lang
qwerxy has joined #ruby-lang
dasil003_ has quit [Remote host closed the connection]
dasil003 has joined #ruby-lang
andrewhl has joined #ruby-lang
badfish129 has quit [Ping timeout: 240 seconds]
deryl has quit [Ping timeout: 248 seconds]
akira989 has quit [Remote host closed the connection]
deryl has joined #ruby-lang
wpaulson has joined #ruby-lang
Jay_Levitt has quit [Read error: Operation timed out]
Criztian has joined #ruby-lang
qpingu has left #ruby-lang [#ruby-lang]
injekt has quit [Quit: Lost terminal]
mistym has quit [Remote host closed the connection]
QaDeS has quit [Quit: Ex-Chat]
scampbell has quit [Remote host closed the connection]
woollyams has quit [Quit: Computer has gone to sleep.]
Carnage\ has quit []
gsav has quit [Quit: Lost terminal]
solars has quit [Ping timeout: 248 seconds]
gsav has joined #ruby-lang
dv310p3r has quit [Ping timeout: 246 seconds]
neocoin has joined #ruby-lang
acidreflux has quit [Remote host closed the connection]
tubbo`cloud has quit [Quit: Connection closed for inactivity]
justinmcp has quit [Remote host closed the connection]
saLOUt has quit [Quit: Konversation terminated!]
gsav has quit [Ping timeout: 255 seconds]
mikefarmer has joined #ruby-lang
ios has joined #ruby-lang
ios has quit [Quit: Leaving]
workmad3 has quit [Ping timeout: 245 seconds]
choi has joined #ruby-lang
choi has left #ruby-lang [#ruby-lang]
fromhet has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
gsav has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
Pip has quit [Ping timeout: 255 seconds]
ruurd has quit [Quit: Leaving...]
ttilley_off is now known as ttilley
ttilley is now known as ttilley_off
lightcap has joined #ruby-lang
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
woollyams has joined #ruby-lang
robotmay has quit [Remote host closed the connection]
brianpWins has joined #ruby-lang
dasil003 has quit [Quit: dasil003]
tbuehlmann has quit []
outoftime has quit [Quit: Leaving]
jperry2 has joined #ruby-lang
gsav has quit [Ping timeout: 265 seconds]
rking has quit [Quit: BRB reloading IRC scripts didn't go so well.]
rking has joined #ruby-lang
kurko__ has quit [Quit: This computer has gone to sleep]
srbartlett has joined #ruby-lang
nertzy has joined #ruby-lang
qwerxy has quit [Quit: offski]
srbartlett has quit [Remote host closed the connection]
jperry2 has quit [Quit: jperry2]
kvirani has quit [Remote host closed the connection]
chendo_ has joined #ruby-lang
mikefarmer has quit [Remote host closed the connection]
chendo_ has quit [Ping timeout: 252 seconds]
wingy has joined #ruby-lang
wingy has left #ruby-lang [#ruby-lang]
Torrieri has joined #ruby-lang
fromhet has quit [Quit: fromhet]
ryanf has joined #ruby-lang
savage- has joined #ruby-lang
rking has quit [Quit: BRB because _`_ is pretty awesome and fixed my weechat issue.]
rking has joined #ruby-lang
mssola has quit [Quit: Konversation terminated!]
macmartine has quit [Quit: macmartine]
toretore has quit [Quit: Leaving]
yugui_zzz is now known as yugui
carloslopes has quit [Quit: Leaving.]
stardiviner has joined #ruby-lang
msaffitz has quit [Quit: Computer has gone to sleep.]
mistym has joined #ruby-lang
Torrieri has quit [Ping timeout: 244 seconds]
rking has quit [Quit: BRB again.]
rking has joined #ruby-lang
jperry2 has joined #ruby-lang
bfreeman has quit [Quit: bfreeman]