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
Did you know?
JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.
Security insights from Cside
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#