How to Render CSS Dynamically in Rails

Let‘s talk about how to render CSS dynamically with Ruby on Rails. Most of the time, you might think of CSS as a static asset. But sometimes you want dynamic CSS. Maybe end-user preferences, results of an A/B test, or some organizational data in the system should determine what styles to present. In this post, we‘ll talk about some techniques and considerations to accomplish this in Rails. In my…