Every time I do rails generate scaffold Name , the app/assets/stylesheets/scaffolds.css.scss file is overwritten (well, I get an invitation to overwrite it). I don't want this, so of course I could just type n when I get a rewrite request, but I want to know how to properly handle scaffold styles.
I could just write css in the css file downloaded later to override the required css in the scaffolds.css.scss file. But not only this is ugly (due to unnecessary / unused css, each request is generated and loaded), but I donโt know how not to change the foreground and background colors when hovering over links (from scaffolds.css.scss):
a { &:hover { color:
What is the correct way to remove something like above from scaffolds.css.scss ?
source share