class Css::Generators::ScaffoldGenerator
def copy_stylesheet
transform it, we leave it in a standard location for the CSS stylesheet
In order to allow the Sass generators to pick up the default Rails CSS and
def copy_stylesheet dir = Rails::Generators::ScaffoldGenerator.source_root file = File.join(dir, "scaffold.css") create_file "app/assets/stylesheets/scaffold.css", File.read(file) end