ruby on rails 3.1 - Configuring generator to generate .scss file instead of css -
i'm playing rails 3.1 rc4, , when try generate scaffold:
rails generate scaffold animal i notice creates css file in:
app/assets/stylesheets/animals.css i expecting generate animals.scss instead.
am missing something?
ps: got haml generate correctly following instruction here.
on may 24, 2011, scss generators moved out rails, , put sass railtie.
see commit.
this means in application, need include sass-rails gem in gemfile generator working correctly. in other words, it's not enough include sass gem generator working.
when scss generated, stylesheet mystylesheet.css.scss.
by default, scss used.
Comments
Post a Comment