Rails serves old css file in production -


in application scss had:

.red {   background-color: #f48585 !important; } 

then deleted these styling. deployed app heroku, did

git add -a git commit -m "message" git push heroku master heroku run bundle  heroku run rake db:setup 

my app deployed, styles foundation framework etc work. still have .red class styles defined. , new styles ignored, seems rails server old css file. of style assets precompiled 1 file application.scss.

you forgot 1 step:

git add -a

git commit -m "message"

git push origin your-git-branch

git push heroku master

after last command heroku automatically run bundle install , setup project/app running in production mode.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -