Contributed Rack Middleware and Utilities

This package includes a variety of add-on components for Rack, a Ruby web server interface:

Use

Git is the quickest way to the rack-contrib sources:

git clone git://github.com/rack/rack-contrib.git

Gems are available too:

gem install rack-contrib

Requiring 'rack/contrib' will add autoloads to the Rack modules for all of the components included. The following example shows what a simple rackup (config.ru) file might look like:

require 'rack'
require 'rack/contrib'

use Rack::Profiler if ENV['RACK_ENV'] == 'development'

use Rack::ETag
use Rack::MailExceptions

run theapp

Links

rack-contrib on GitHub

<github.com/rack/rack-contrib>

Rack

<rack.rubyforge.org/>

Rack On GitHub

<github.org/rack/rack>

rack-devel mailing list

<groups.google.com/group/rack-devel>

[Validate]

Generated with the Darkfish Rdoc Generator 2.