Clean out your Rails assets in development
In Rails 3.x if you test the assets pipeline on your dev machine using
(bundle exec) rake assets:precompile
make sure you run
(bundle exec) rake assets:clean
after you're done. You may run into strange errors in the assets (like JS) if you don't. This can be particularly irritating if you precompile assets manually and then forget about them.
Written by Damon Davison
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Filed Under
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#