I created a controller to serve dynamic stylesheets, so I can use the image_tag helper and add some cache control.
The problem is that every time the css file is loaded
or one can use session :off anyways (even in Rails 3) :
session :off
https://github.com/kares/session_off
class StylesheetsController < ActionController::Base session :off # for all actions in this controller end