aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/rack.rb
Commit message (Collapse)AuthorAgeFilesLines
* Temporarily ship with ContentLength middleware.José Valim2011-05-201-4/+4
|
* Move Rails::Rack::Metal to Rails::Application::Metal and just add cascade if ↵José Valim2010-01-261-1/+0
| | | | any metal was declared.
* Default to sync instrumentation.José Valim2010-01-211-0/+1
|
* Move middleware builder back to Rails::Rack::Metal without losing the new ↵José Valim2010-01-171-2/+3
| | | | behavior.
* Cleanup junk metal and revise APIJoshua Peek2010-01-101-1/+0
| | | | | API Change: Returning a "X-Cascade: pass" header triggers the cascade instead of a 404 response.
* Rename Rails::Rack::Logger -> LogTailer. Speed up log mtime checks.Jeremy Kemper2008-12-181-1/+1
|
* Introduce Rails MetalJoshua Peek2008-12-161-0/+1
| | | | | | | | | | | | | | | | | | | # app/metal/poller.rb class Poller < Rails::Rack::Metal def call(env) if env["PATH_INFO"] =~ /^\/poller/ [200, {"Content-Type" => "application/json"}, Message.recent.to_json] else super end end end * There is a generator to help you get started `script/generate metal poller` * Also, metal bits can be ran standalone with rackup `rackup app/metal/poller.rb`
* Move debugger into middlewareJoshua Peek2008-11-251-0/+1
|
* Added rack logger middleware that tails the environment logJoshua Peek2008-08-191-0/+1
|
* Added Rack middleware to handle static files.Joshua Peek2008-06-011-0/+5