Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Introduce Rails Metal | Joshua Peek | 2008-12-16 | 1 | -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 explicitly | Jeremy Kemper | 2008-12-03 | 1 | -0/+2 | |
| | ||||||
* | Move debugger into middleware | Joshua Peek | 2008-11-25 | 1 | -0/+21 | |
| | ||||||
* | Added rack logger middleware that tails the environment log | Joshua Peek | 2008-08-19 | 1 | -0/+28 | |
| | ||||||
* | Added Rack middleware to handle static files. | Joshua Peek | 2008-06-01 | 1 | -0/+35 | |