aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/rack
Commit message (Collapse)AuthorAgeFilesLines
...
* Introduce Rails MetalJoshua Peek2008-12-161-0/+21
| | | | | | | | | | | | | | | | | | | # 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`
* Require rack/utils explicitlyJeremy Kemper2008-12-031-0/+2
|
* Move debugger into middlewareJoshua Peek2008-11-251-0/+21
|
* Added rack logger middleware that tails the environment logJoshua Peek2008-08-191-0/+28
|
* Added Rack middleware to handle static files.Joshua Peek2008-06-011-0/+35