One of my recent challenges was to give every user a custom stylesheet they can generate to style their own page. This post shows how I did it: how to compile stylesheets with Rails and Sass at runtime, one file per user, and which hidden pitfalls I hit on the way, the biggest being asset caching in production.