You cannot post messages because only members can post, and you are not currently a member.
Description:
Discussion about Rack development.
|
|
|
"singleton can't be dumped" error when storing an object in session
|
| |
Hello everyone, I'm using Rack::Session::Cookie to store an object (a Sequel model returned by a database call) in the session. However, I'm getting a "singleton can't be dumped" error when trying to do so. What is the reason for this error? The interesting thing is, I only get the error when the Sequel object is... more »
|
|
bug report and unit test for infinite loop parsing Content-Disposion header
|
| |
Hi,
I created this
g...@github.com:paulrogers/rac k.git
showing a test that seems to have an infinite loop issue when parsing
a multipart form.
you can run the test using
bacon -I./lib:./test -a -t 'Rack::Multipart'
What seems to happen is that when parsing a header like this
Content-Disposition: inline; name=xml_product_config;... more »
|
|
unit test failures.
|
| |
Should I be worried about these?
Im trying to add a test for some problems Im seeing on multipart
messages, so want to start from a good state.
Thanks,
Paul
-----------
rack 1.4.1
ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin10.0]
on Mac OSx 10.6.8
Bacon::Error: ["VVVVVVVVVVVVVVVVVVVVVVV", "GGGGGGGGGGG", "ENDFOO",... more »
|
|
Rack's Arquitetura
|
| |
Hello,
I am doing a study about ruby's architectures of programs. I am
specially looking for digressions on architecture.
I wish this isn't an embarrassing question, but I want to know the
architectural failures of Hack.
Studying the source code I found on rack/handler/mongrel.rb, between... more »
|
|
How to use a rack middleware in rails application?
|
| |
Hi all, I'm currently developing a rails app that required to do cross side scripting with ajax. I've been google around and found this<[link]>rack middleware that used rack on doing proxy. However I have no idea on how to use it in my app. Please help, I'm using Rails 3.2.3. Thanks!... more »
|
|
Rack asynchronous responses with async.callback
|
| |
I am doing some work with JRuby that may need asynchronous HTTP support. There doesn't seem to be much documentation about this online, so I did some digging to see how the existing Rack async servers do things, and wrote up some documentation for myself. I thought maybe others would find it useful:... more »
|
|
UploadedFile: why mv (and never cp)?
|
| |
Rack::Multipart::UploadedFile. new uses FileUtils.copy_file.
This seems like a safe default. However, FileUtils.move is a better
option for many applications. When files are large, copying really
slows things down.
Is there interest in adding "move" behavior as an option?
|
|
Getting started submitting a patch
|
| |
I'm trying to get going with submitting a pull request but can't get the tests to run. My environment: ruby 1.9.3 rubygems 1.8.15 gems: bacon (1.1.0) bundler (1.0.22) test-spec (0.10.0) test-unit (2.4.7) ZenTest (4.6.2) Before I jump in too far, I want to make sure the test suite runs correctly. I run `rake test` , `rake spec`, `rake fulltest` and `specrb... more »
|
|
|