Xzyx987X has quit [Read error: Connection reset by peer]
robotmay has quit [Remote host closed the connection]
Xzyx987X has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 240 seconds]
shevy2 has joined #ruby-lang
shevy2 is now known as shevy
Banistergalaxy has joined #ruby-lang
pandora17 has joined #ruby-lang
behr has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 256 seconds]
Banistergalaxy has joined #ruby-lang
behr has quit [Remote host closed the connection]
hexreel has joined #ruby-lang
francisfish has joined #ruby-lang
crekev has joined #ruby-lang
robotmay has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
gnufied has quit [Quit: Leaving.]
gasbakid__ has joined #ruby-lang
gasbakid has quit [Read error: Operation timed out]
brianpWins has quit [Quit: brianpWins]
vmoravec has joined #ruby-lang
gnufied has joined #ruby-lang
tjadc has joined #ruby-lang
<Tasser>
postmodern, I'd say take a look at rails
heftig has joined #ruby-lang
cdt has joined #ruby-lang
yugui is now known as yugui_zzz
sora_h is now known as s0ra_h
jarib has quit [Excess Flood]
jarib has joined #ruby-lang
romeroabelleira has joined #ruby-lang
tomzx_ has joined #ruby-lang
tomzx has quit [Ping timeout: 245 seconds]
tomzx_ is now known as tomzx
workmad3 has joined #ruby-lang
Kevin___ has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 256 seconds]
crekev has quit [Remote host closed the connection]
rippa has quit [Ping timeout: 250 seconds]
iamlacroix has quit [Remote host closed the connection]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
s0ber has quit [Read error: Connection reset by peer]
Banistergalaxy has joined #ruby-lang
futurechimp has joined #ruby-lang
TheHunter_1039 has joined #ruby-lang
ViperMaul has quit [Ping timeout: 244 seconds]
postmodern has quit [Quit: Leaving]
adambeynon has joined #ruby-lang
ramonmaruko has quit [Remote host closed the connection]
ramonmaruko has joined #ruby-lang
adambeynon has quit [Client Quit]
adambeynon has joined #ruby-lang
pygmael has quit [Read error: Connection reset by peer]
pygmael has joined #ruby-lang
pandora17 has quit [Quit: Leaving]
woollyams has joined #ruby-lang
heftig_ has joined #ruby-lang
heftig has quit [Ping timeout: 272 seconds]
jarib has quit [Excess Flood]
jarib has joined #ruby-lang
ramonmaruko has quit [Ping timeout: 245 seconds]
srbartlett has joined #ruby-lang
d3vic3 has quit [Ping timeout: 260 seconds]
d3vic3 has joined #ruby-lang
gnufied1 has joined #ruby-lang
gnufied has quit [Read error: Connection reset by peer]
beiter has joined #ruby-lang
ramonmaruko has joined #ruby-lang
kedare has joined #ruby-lang
shevy has quit [Ping timeout: 244 seconds]
dejongge has joined #ruby-lang
gasbakid__ has quit [Read error: Operation timed out]
QaDeS has joined #ruby-lang
gasbakid__ has joined #ruby-lang
shevy has joined #ruby-lang
dankest has quit [Read error: Connection reset by peer]
Dan- has joined #ruby-lang
sepp2k has joined #ruby-lang
s0ra_h is now known as sora_h
<zzak>
good morning!
Guedes_out is now known as Guedes
robbyoconnor has quit [Ping timeout: 244 seconds]
tRAS has quit [Quit: Mother, did it need to be so high?]
Guedes has quit [Ping timeout: 265 seconds]
Guedes has joined #ruby-lang
s0ber has joined #ruby-lang
beiter has quit [Quit: beiter]
Constant_ has joined #ruby-lang
Constant_ has quit [Remote host closed the connection]
<rue>
Meh
<TTilus>
is capturing stdin, stdout, stderr and process exit status possible with plain 1.8.7 (stdlib)
<TTilus>
looks like i need open4 or 1.9.x
<rue>
You could see what open4 does
S2kx has joined #ruby-lang
<rue>
It’s possible
S1kx has quit [Ping timeout: 256 seconds]
tRAS has joined #ruby-lang
<jammi>
do you know of any attempts to create an ExecJS environment by keeping a socket open between a nodejs instance and ruby, ruby being the parent process
<jammi>
and feeding js to be evaluated through the socket
<shevy>
jammi sounds like a cool idea, dont know of any project that tries that tho
<jammi>
therubyracer and such approaches (integrating a js vm into the same process as ruby) seems to be a flaky idea. re-executing a nodejs instance is wasteful and slow
<jammi>
shevy: ok, I might implement something like that when I get some spare time then
<jammi>
could become something to execute stuff with in other intepreters in a similar way
<bnagy>
not sure I'd do it with Socket
<bnagy>
but I guess it depends on what your target interpreter supports
<jammi>
could be done by piping too; keeping a pool of other-lang processes waiting for input and reading their output
denysonique has joined #ruby-lang
<bnagy>
that doesn't scale so well though
tla has quit [Read error: Connection reset by peer]
<bnagy>
someone is eventually going to want the JS engine on a different machine
<jammi>
which would be wasteful, but at least each would start clean and there wouldn't be an initial wait for each as long as there are processes ready in the pool
tla has joined #ruby-lang
tla_ has joined #ruby-lang
tla has quit [Read error: Connection reset by peer]
tla has joined #ruby-lang
tla_ has quit [Read error: Connection reset by peer]
<bnagy>
jammi: looks like nodejs has 0mq bindings. w00t.
<bnagy>
use that :)
<jammi>
as for sockets, distribution with tcp sockets would scale well and providing unix sockets locally (where supported) could work
romeroabelleira has quit [Remote host closed the connection]
<bnagy>
no, actually tcp sockets suck balls
tla has quit [Read error: Connection reset by peer]
<jammi>
I think a pool would be required anyway for any high-throughput system
tla has joined #ruby-lang
tla has quit [Read error: Connection reset by peer]
tla has joined #ruby-lang
<jammi>
a disposable pool of workers might be the simplest, most straight-forward and generic approach, as one would work equally well for practically any intepreter/compiler that is stdin/stdout -savvy
tla has quit [Read error: Connection reset by peer]
<jammi>
whether each pool were distributed or not
tla has joined #ruby-lang
tla_ has joined #ruby-lang
tla has quit [Read error: Connection reset by peer]
tla_ has quit [Read error: Connection reset by peer]
tla has joined #ruby-lang
rippa has joined #ruby-lang
tla_ has joined #ruby-lang
tla has quit [Read error: Connection reset by peer]
kyrylo has quit [Ping timeout: 248 seconds]
jarib has quit [Excess Flood]
gasbakid__ has quit [Quit: Quitte]
gasbakid has joined #ruby-lang
jarib has joined #ruby-lang
dv310p3r has quit [Ping timeout: 272 seconds]
heftig_ has quit [Quit: leaving]
<youngin>
Guys that have things that can't be taught
apeiros_ has joined #ruby-lang
romeroabelleira has joined #ruby-lang
singpolyma has joined #ruby-lang
mark_locklear has joined #ruby-lang
gnufied1 has quit [Remote host closed the connection]
gnufied has joined #ruby-lang
zwerg has joined #ruby-lang
iamlacroix has joined #ruby-lang
QaDeS has quit [Quit: Ex-Chat]
jperry2 has joined #ruby-lang
woollyams has quit [Quit: Computer has gone to sleep.]
Hakon|mbp has joined #ruby-lang
heftig has joined #ruby-lang
Defusal has quit [Read error: Connection reset by peer]
soahccc` is now known as soahccc
Defusal has joined #ruby-lang
Defusal has quit [Changing host]
Defusal has joined #ruby-lang
chrismcg is now known as zz_chrismcg
tla_ has quit [Remote host closed the connection]
tomzx has quit [Ping timeout: 272 seconds]
romeroabelleira has quit [Remote host closed the connection]
tRAS has quit [Ping timeout: 244 seconds]
romeroabelleira has joined #ruby-lang
tRAS has joined #ruby-lang
enebo has joined #ruby-lang
banister has joined #ruby-lang
mistym has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
tommyvyo has joined #ruby-lang
zz_chrismcg is now known as chrismcg
lolmaus has joined #ruby-lang
romeroabelleira has quit [Remote host closed the connection]
jxie has quit [Quit: leaving]
<lolmaus>
Is it true that instead of doing `def assign(block_var); @inst_var = block_var; end` i can simply do `def assign; @inst_var; end` with the same result? Like `my_object.assign "whatever"`
lolmaus was kicked from #ruby-lang by apeiros_ [if you ask in multiple channels, disclose that fact up-front. inform channels about answers you git. just cross-posting is rude.]
<heftig>
looksirdroids: no
<heftig>
er, oops
srbartlett has quit [Remote host closed the connection]
tRAS has quit [Quit: Mother, did it need to be so high?]
<TheHunter_1039>
newb question - In a class, how do you know when use :symbols with attr_accessor oppose to just a variable name? - so attr_accessor :height vs attr_accessor height ?
chimkan_ has quit [Ping timeout: 260 seconds]
carloslopes has joined #ruby-lang
gix has quit [Ping timeout: 260 seconds]
<TheHunter_1039>
figured it out. i'm an idiot. should have known
romeroabelleira has joined #ruby-lang
perryh is now known as perryh_away
<Defusal>
does anyone actually use BrB?
gix has joined #ruby-lang
robbrit has joined #ruby-lang
mstratman has joined #ruby-lang
elux has joined #ruby-lang
voker57 has quit [Ping timeout: 272 seconds]
sora_h is now known as s0ra_h
TheHunter_1039 has left #ruby-lang [#ruby-lang]
TheHunter_1039 has joined #ruby-lang
s0ra_h is now known as sora_h
dalekurt has joined #ruby-lang
crudson has joined #ruby-lang
mistym has quit [Remote host closed the connection]
dv310p3r has joined #ruby-lang
tRAS has joined #ruby-lang
rmascarenhas has joined #ruby-lang
gokul has joined #ruby-lang
heftig has quit [Quit: leaving]
ConstantineXVI has quit [Remote host closed the connection]
romeroabelleira has quit [Remote host closed the connection]
DefV has quit [Ping timeout: 272 seconds]
DefV has joined #ruby-lang
romeroabelleira has joined #ruby-lang
chrismcg is now known as zz_chrismcg
dustacio has joined #ruby-lang
dustacio has quit [Client Quit]
A124 has quit [Quit: Leaving.]
lsegal has joined #ruby-lang
mistym has joined #ruby-lang
tbuehlmann has joined #ruby-lang
pabloh has joined #ruby-lang
outoftime has joined #ruby-lang
zz_chrismcg is now known as chrismcg
<pabloh>
is there a gem or library for sending serialized ruby objects over pipes?
<pabloh>
(i know about drb, but i'm looking for something simpler)
<outoftime>
pabloh: why not just use Marshal?
ConstantineXVI has joined #ruby-lang
<pabloh>
outoftime: i think Marshal only solve the problem partially
<outoftime>
pabloh: well it solves the serialization problem : )
<pabloh>
yup :P
<pabloh>
:)
<outoftime>
pabloh: you can probably just use newlines to distinguish messages over the pipe
<pabloh>
outoftime: sure?
<workmad3>
if you want simpler, do you really need to serialize the entire object? or could you not transfer via json or some other text format?
<pabloh>
outoftime: i have no idea how Marshar encodes objets
<pabloh>
objects*
romeroabelleira has quit [Read error: Connection reset by peer]
<workmad3>
(serializing entire objects always makes me wary as it tends to be much more fragile than just using a data interchange format :) )
<pabloh>
workmad3: ideally i would want any kind of object, except for lambda which are throublesome anyway...
<pabloh>
lambas*
romeroabelleira has joined #ruby-lang
<outoftime>
pabloh: my guess is that the built-in marshalling would output data with no newlines. however, you can define your own marshaling format for your objects, so i guess there are no guarantees
<outoftime>
pabloh: +1 on workmad3's comment, though.
<workmad3>
pabloh: how about YAML then? that supports type declarations
<pabloh>
outoftime: righth
romeroabelleira has quit [Remote host closed the connection]
<pabloh>
workmad3: can u cover every possible object just with YAML?
<outoftime>
pabloh: you could always, say, base64 encode the marshalled object, then you can easily delimit
<pabloh>
outoftime: that could work
slyphon_away has joined #ruby-lang
<outoftime>
pabloh: Yajl might be a good approach, since you can stream the encode/decode over the pipe
slyphon_away is now known as slyphon
<pabloh>
outoftime: Yajl, u mean yaml?
<outoftime>
pabloh: no, Yajl -- a streaming JSON encoder/decoder (also very fast)
krohrbaugh has joined #ruby-lang
<outoftime>
pabloh: and non-prettified JSON definitely won't contain newline characters
<pabloh>
outoftime: dind't know about Yajl, if it can detect delimiters by itsel it could be handy
<pabloh>
outoftime: i don't want to implement a protocol by myself
<outoftime>
pabloh: nah you'd still have to break out each line, but at least you can stream the output to the pipe, then a newline
<outoftime>
pabloh: similarly you could read from the pipe and stream into a Yajl decoder until you hit a newline
<outoftime>
pabloh: would be pretty simple methinks
<pabloh>
outoftime: could work...
<pabloh>
outoftime: know anything else about Yajl's json format?
<outoftime>
pabloh: JSON is JSON. by the way, I think I'm wrong about you having to handle newlines
<pabloh>
i mean, is json with or without the newlines?
<outoftime>
pabloh: search the README for "multiple"
<pabloh>
outoftime: ok
bryancp has joined #ruby-lang
<pabloh>
outoftime: memory usage is a bit high :(
<pabloh>
for Yalj parser
<outoftime>
pabloh: it's Ruby : )
banister has quit [Quit: Page closed]
hynkle has joined #ruby-lang
bglusman has joined #ruby-lang
looksirdroids has quit [Ping timeout: 245 seconds]
jacobwg has joined #ruby-lang
dejongge has quit [Quit: Leaving.]
slyphon has quit [Ping timeout: 245 seconds]
carloslopes has quit [Ping timeout: 245 seconds]
Fullmoon has joined #ruby-lang
Fullmoon has quit [Client Quit]
retro|cz has joined #ruby-lang
looksirdroids has joined #ruby-lang
Kevin___ has quit [Remote host closed the connection]
thone has joined #ruby-lang
thone_ has quit [Ping timeout: 272 seconds]
jxie has joined #ruby-lang
<gnufied>
yajl is mostly C
<gnufied>
it is just a wrapper around libyajl
gokul has quit [Quit: Leaving]
imperator has joined #ruby-lang
<pabloh>
outoftime: it's seems is pretty easy to (without Yalj) using Ruby's JSON, and IO#gets and IO#puts, as long the JSON encoder never add a newline inside the string
ViperMaul has joined #ruby-lang
<outoftime>
pabloh: sure, the advantage of Yajl is you can stream the output into the pipe as it encodes
<outoftime>
pabloh: and decode as you read out of the pipe
macmartine has joined #ruby-lang
<pabloh>
outoftime: can u be sure if JSON module won't put a newline at the stream?
<outoftime>
pabloh: it shouldn't ever have a newline, no
<pabloh>
outoftime: that's part of JSON's standard?
<outoftime>
pabloh: I couldn't tell you that with authority.
<pabloh>
ok
<pabloh>
thx anyway :)
<outoftime>
pabloh: just based on my experience, unless you ask for prettified JSON, it won't have newlines
tsou has joined #ruby-lang
lolmaus has quit []
headius has joined #ruby-lang
bfreeman has quit [Quit: bfreeman]
slyphon has joined #ruby-lang
|Vargas| has quit [Quit: ...]
<imperator>
good morning
Austin__ has joined #ruby-lang
romeroabelleira has joined #ruby-lang
<imperator>
why does git status sometimes show my repo x commits ahead of master, when it's not?
petercooper has joined #ruby-lang
<slyphon>
imperator: i hit the EPIC MEAL TIME of 1.8.7 threading bugs yesterday
<slyphon>
8 hrs of beating my head against the keyboard
<slyphon>
"How is my C extension corrupting things *this badly*!?"
<imperator>
slyphon, ouch
<slyphon>
"It's *gotta* be my code"
gsav has joined #ruby-lang
futurechimp has quit [Ping timeout: 252 seconds]
Skif_home has joined #ruby-lang
urbanmonk has joined #ruby-lang
nahhh has joined #ruby-lang
<slyphon>
jesus
<slyphon>
could vim's diff colors get any more eye stabby?
solars has quit [Read error: Operation timed out]
Skif has quit [Ping timeout: 240 seconds]
<rking>
slyphon: There's like 10,000 color schemes to choose from.
<slyphon>
rking: yes, i know, but vimdiff is horrid in EVERY SINGLE ONE
<rking>
Hehe
<slyphon>
white text on a BRIGHT MAGENTA background is bad
futurechimp has joined #ruby-lang
heftig has joined #ruby-lang
romeroabelleira has quit [Remote host closed the connection]
nahhh has quit [Quit: nahhh]
soahccc is now known as soahccc`
vmoravec has quit [Quit: Leaving]
Dan- has quit [Quit: Leaving...]
rolfb has quit [Quit: Leaving...]
Clordio has joined #ruby-lang
savage- has quit [Remote host closed the connection]
sora_h is now known as s0ra_h
cesario__ has joined #ruby-lang
dkannan_ has joined #ruby-lang
msch has quit [Read error: Operation timed out]
dkannan has quit [Read error: Operation timed out]
cesario has quit [Read error: Operation timed out]
dbussink has quit [Read error: Operation timed out]
cldwalker has quit [Read error: Operation timed out]
dbussink has joined #ruby-lang
knu has quit [Ping timeout: 255 seconds]
knu has joined #ruby-lang
<singpolyma>
What would people reccomend an an HTML sanitizer for Ruby these days?
ViperMaul has quit [Ping timeout: 255 seconds]
tRAS has quit [Quit: Mother, did it need to be so high?]
<crankharder>
I can't find "_original_to_s" in any part of rails, which leads me to believe it's part of BigDecimal in ruby, but I can't find it there either... any idea where this method is defined?
<apeiros_>
pabloh: en-/decodes an integer in binary
francisfish has quit [Remote host closed the connection]
tRAS has joined #ruby-lang
<apeiros_>
hm, wonder why I used I instead of N… should change that (it's old code I refurbished, that one slipped…)
<burgestrand>
Anybody know if there’s a way to define a custom FFI type that accepts *any* object, not just objects of a specific type?
mike3 has left #ruby-lang [#ruby-lang]
<burgestrand>
I managed to work around it by setting the type to pointer and defining Object#to_ptr, but it’s kind of ugly. :p
<pabloh>
apeiros_: the diff would be that 'N' always uses big endian and 'I' uses the "endianess" from your PC?
<pabloh>
s/from/for
<apeiros_>
pabloh: yes
<pabloh>
ok
<apeiros_>
aka native endian
<apeiros_>
for forking it doesn't matter
<pabloh>
sure
<apeiros_>
since a fork won't be cross-architecture
<pabloh>
is just a bit more correct to use N
<pabloh>
but would work anyway
<pabloh>
with I
romeroabelleira has joined #ruby-lang
hynkle has joined #ruby-lang
cdt has quit [Quit: Ex-Chat]
rolfb has joined #ruby-lang
<apeiros_>
not more correct
<apeiros_>
but more stable if you share data across a network
<apeiros_>
on the same machine, I should be faster. but probably only academically.
<pabloh>
apeiros_: would that code works under 64 bits?
buhhhh has joined #ruby-lang
dfr|mac has joined #ruby-lang
<apeiros_>
sure
jnimety has joined #ruby-lang
jnimety has quit [Client Quit]
<pabloh>
only if u send something smaller than 4GB :P
dalekurt has quit [Read error: Connection reset by peer]
dalekurt has joined #ruby-lang
mrsolo has joined #ruby-lang
<apeiros_>
correct. the serialized size is at max 4gb
<apeiros_>
means the raw data is even less
workmad3 has quit [Ping timeout: 272 seconds]
petercooper has quit [Remote host closed the connection]
<drbrain>
I concur, just use N (or n)
<drbrain>
had the UDP growl protocol Just Used N it wouldn't need special code to handle swapping endianness
bryancp has quit [Remote host closed the connection]
mrsolo has quit [Quit: Leaving]
Hakon|mbp has quit [Quit: Leaving...]
mrsolo has joined #ruby-lang
futurechimp has quit [Quit: Leaving]
Hakon|mbp has joined #ruby-lang
Hakon|mbp has quit [Client Quit]
d3vic3 has quit [Quit: leaving]
iamlacroix has quit [Remote host closed the connection]
retro|cz has quit [Ping timeout: 265 seconds]
iamlacroix has joined #ruby-lang
tla has joined #ruby-lang
ViperMaul has joined #ruby-lang
iamlacroix has quit [Ping timeout: 245 seconds]
d3vic3 has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
publicvoid_ has joined #ruby-lang
virunga has joined #ruby-lang
headius has quit [Quit: headius]
thorncp has left #ruby-lang [#ruby-lang]
apeiros has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
iamlacroix has joined #ruby-lang
bryancp has joined #ruby-lang
qpingu has quit [Quit: Leaving.]
qpingu has joined #ruby-lang
krz has joined #ruby-lang
qpingu has quit [Client Quit]
qpingu has joined #ruby-lang
slyphon has quit [Ping timeout: 245 seconds]
Dreamer3 has quit [Ping timeout: 252 seconds]
adambeynon has quit [Quit: adambeynon]
VGoff is now known as VGoff_afk
gouthamvel has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
dkannan_ has left #ruby-lang [#ruby-lang]
robotmay has joined #ruby-lang
dkannan has joined #ruby-lang
workmad3 has joined #ruby-lang
Dreamer3 has joined #ruby-lang
wmoxam has joined #ruby-lang
dv310p3r has quit [Ping timeout: 272 seconds]
headius has joined #ruby-lang
romeroabelleira has quit [Remote host closed the connection]
Dreamer3__ has joined #ruby-lang
Dreamer3__ has quit [Max SendQ exceeded]
Hakon|mbp has joined #ruby-lang
Dreamer3 has quit [Ping timeout: 248 seconds]
Boohbah has joined #ruby-lang
hexreel is now known as hermano
iamlacroix has quit [Remote host closed the connection]
Dreamer3 has joined #ruby-lang
hermano is now known as hexreel
Boohbah has quit [Remote host closed the connection]
Boohbah has joined #ruby-lang
Dreamer3 has quit [Ping timeout: 256 seconds]
<crankharder>
sorta academic question here: Say I have class Base ; end and then I do klass = Class.new(Base). what would you call klass? "class definition"? "dynamic class"?
<yxhuvud>
no, you should not have class Base.
<crankharder>
that's besides the point
kain has quit [Read error: Connection reset by peer]
iamlacroix has joined #ruby-lang
<shevy>
klass downcased? I would call that a variable
kain has joined #ruby-lang
<robbrit>
crankharder: you could call it an anonymous class
<robbrit>
i'd call it a class object
harukomoto has joined #ruby-lang
<shevy>
hmm
<shevy>
a "class object"?
<andrewvos>
You're a class object.
dalekurt has quit [Read error: Connection reset by peer]
cantonic has quit [Quit: cantonic]
<erikh>
I'm a classy object
iamlacroix has quit [Remote host closed the connection]
<apeiros>
crankharder: a class
<apeiros>
and if you don't assign it to a constant, you *can* say an anonymous class. but the anonymity isn't that relevant.
workmad3 has quit [Ping timeout: 272 seconds]
iamlacro_ has joined #ruby-lang
gregf has quit [Remote host closed the connection]
<deryl>
shevy, i haven't had any issues with it so far throwing a slew of different projects at it from rails based apps to plain ruby apps from different people and myself. i didn't go looking for incompatibilities mind you, howevere everything so far has run just fine if that is of *anY* use
hynkle has quit [Quit: hynkle]
ridders24 has joined #ruby-lang
kyrylo has quit [Ping timeout: 244 seconds]
<deryl>
erikh, yes. something to do with ca_file https.ca_cert = ca_file iirc (line 358 i think it is in lib/gist.rb)
<shevy>
yeah man I am peering at everything in distrust so far, but it seems I am really on 1.9.3 now hmmmm
mstratman has quit [Quit: mstratman]
<deryl>
erikh, nothing back from defunkt in channel or on gist Issues. could just be busy, however, it has been a bit
hynkle has joined #ruby-lang
tommyvyo has quit [Quit: Computer has gone to sleep.]
tommyvyo has joined #ruby-lang
tommyvyo has quit [Remote host closed the connection]
<erikh>
I don't know who made 1.9.3 warning clean but someone buy them a beer
<drbrain>
elux: if you don't get a speedy response here you may want to try #rubyonrails
<drbrain>
erikh: I helped
<imperator>
erikh, pssh, they did it by suppressing many of them
<elux>
thx
<erikh>
imperator: still man, that's a lot of work
<erikh>
drbrain: I owe you a beer!
<erikh>
I probably owe you a few beers regardless
woollyams has quit [Quit: Computer has gone to sleep.]
<singpolyma>
elux: headers are in env
<elux>
singpolyma: yea i thought so too.. but i can find em in there
ConstantineXVI has joined #ruby-lang
<singpolyma>
use Rack::Request.new(env) or whatever to parse them nicer
mrsolo has quit [Quit: Leaving]
<elux>
cool thanks
<elux>
custom headers too..?
<elux>
like if i make a request with the header "X-Blah: someval"
<elux>
i now see it as env['HTTP_X_BLAH'] which is good..
imperator has left #ruby-lang ["Leaving"]
<andrewvos>
HTTP_X ALL THE THINGS
<elux>
lol
<elux>
YES
JoelMcCracken has quit [Ping timeout: 244 seconds]
bryancp has quit [Remote host closed the connection]
Defusal has quit [Read error: Connection reset by peer]
crekev has joined #ruby-lang
savage-_ has joined #ruby-lang
mistym has quit [Remote host closed the connection]
savage- has quit [Ping timeout: 245 seconds]
krzkrzkrz has joined #ruby-lang
krz has quit [Ping timeout: 244 seconds]
krzkrzkrz is now known as krz
brianpWins has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
elux has quit [Quit: Bye!]
outoftime has quit [Quit: Leaving]
chimkan_ has quit [Quit: chimkan_]
Defusal has joined #ruby-lang
Defusal has quit [Read error: Connection reset by peer]
<freedrull>
i'm trying to do a class_eval in an active_record callback. does anyone know enough about how active_record callbacks work to know why this wouldn't work? https://gist.github.com/2705583
srbartlett has quit [Remote host closed the connection]
gsav has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
rmascarenhas has joined #ruby-lang
lele has quit [Ping timeout: 272 seconds]
apeiros has quit [Remote host closed the connection]
lele has joined #ruby-lang
postmodern has joined #ruby-lang
enebo has quit [Quit: enebo]
crekev has quit [Quit: crekev]
kyrylo has joined #ruby-lang
kyrylo has joined #ruby-lang
dfr|mac has quit [Remote host closed the connection]
mistym has joined #ruby-lang
bryancp has joined #ruby-lang
hynkle_ has joined #ruby-lang
Nisstyre is now known as trollstyre
hynkle has quit [Ping timeout: 245 seconds]
hynkle_ is now known as hynkle
solars has quit [Ping timeout: 244 seconds]
agarie has joined #ruby-lang
Harzilein_ has left #ruby-lang [#ruby-lang]
harukomoto has left #ruby-lang [#ruby-lang]
Watcher7 has joined #ruby-lang
srbartlett has joined #ruby-lang
<andrewvos>
freedrull: That's a bit weird what you're trying to do.
bglusman has quit [Remote host closed the connection]
<andrewvos>
freedrull: Why are you doing it after the item gets saved?
<andrewvos>
freedrull: Why not just def job_owner?
havenn has joined #ruby-lang
<countdigi>
i would like to do something in spec_helper.rb where i want to capture the filename of the spec that is currently running
<freedrull>
andrewvos: eh, job_owner_type isn't known until the object is created
<countdigi>
is that possible?
s0ra_h is now known as sora_h
<countdigi>
even though eg wiki_spec.rb is calling spec_helper.rb, __FILE__ in spec_helper.rb reports back ../../spec_helper.rb
<countdigi>
I want to get the name wiki_spec.rb but from within lexical context of spec_helper.rb
<andrewvos>
freedrull: Your point being?
WillMarshall has joined #ruby-lang
<rue>
andrewvos: That supply capitalism rules?
gregf has quit [Quit: WeeChat 0.3.7]
havenn has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
dv310p3r has quit [Ping timeout: 248 seconds]
IPGlider has quit []
ivanoats has joined #ruby-lang
krzkrzkrz has joined #ruby-lang
enebo has joined #ruby-lang
krz has quit [Ping timeout: 272 seconds]
krzkrzkrz is now known as krz
aef has quit [Remote host closed the connection]
aef has joined #ruby-lang
Guest25836 has quit [Remote host closed the connection]