News for hackers. Stuff that matters.
Re:Rack Middlewares To Turbocharge Your Ruby Webapps by utnick on Wednesday October 14, 2009 @07:05PM (#882335)
What middlewares are you guys using in production?

Most of these seem pretty gimicky.

Re:Rack Middlewares To Turbocharge Your Ruby Webapps by tierack on Wednesday October 14, 2009 @07:50PM (#882410)
They're mostly gimmicky because they were all made for a middleware contest. Even their gimmickiness doesn't really go against the goals of the contest, the primary one being "to encourage Ruby developers to explore the possibilities".

In the end, even if very few end up being actually useful, there will be plenty of good short examples using a variety of different Rack tricks.

That said. Rack::Cache. And I wrote myself for one site that displays some extra info if a request comes from certain IPs (i.e. mine).

Re:Rack Middlewares To Turbocharge Your Ruby Webapps by petercooper on Wednesday October 14, 2009 @07:07PM (#882341)
If I had to guess, I think Rack::Cache is very popular - http://tomayko.com/src/rack-cache/ - and not so gimmicky :)
Re:Rack Middlewares To Turbocharge Your Ruby Webapps by nakajima on Thursday October 15, 2009 @05:36AM (#883056)
I use Rack::Flash (http://github.com/nakajima/rack-flash) in a bunch of Sinatra apps.
Re:Rack Middlewares To Turbocharge Your Ruby Webapps by defied on Thursday October 15, 2009 @03:52AM (#882962)
I am using Rack::Deflater to gzip output, as there is no easy way to do this with lighttpd.