This Scaling Rails episode led me to the Rack Contrib project on GitHub. This project contains some pretty neat middleware that can be a huge time-saver in developing Rails apps. I am going to use some of these for sure.
Middleware I am very interested in:
Rack::Locale – Detects the client locale using the Accept-Language request header and sets a rack.locale variable in the environment.
Rack::Sendfile – Enables X-Sendfile support for bodies that can be served from file.
Rack::TimeZone – Detects the clients timezone using JavaScript and sets a variable in Rack’s environment with the offset from UTC. (wow!)
Rack::Backstage – Returns content of specified file if it exists, which makes it convenient for putting up maintenance pages. (no more rewrite rules to maintain)
Rack::Access – Limit access based on IP address.
Also check out mine http://github.com/dolzenko/rack-static_fallback/tree/ , it solves the problem of bringing static assets from production environment to development differently from your http://github.com/tilsammans/capistrano_transmit/ recipies, so I though you might be interested
Interesting approach using Rack!