From db to css file?
问题 I have a small set of css items in a db table that I need to turn into a css file to be included on a page. How can I do this in Rails3? Is there a way I can call this directly from a stylesheet_link tag? Do I need to go through some ruby to open a file and output it in some directory first? Do I do this in a controller? The css is actually its own model associated to the item using the css. I do not know and looking for a solution found little yet, so asking here. EDIT: Simple when looked at