title: How to mangle class names and IDs all throughout ones ERB, JS and CSS in Rails?
body: <p>How does one mangle class names and IDs all throughout ones ERB, JS and CSS in Rails? Every time I open Facebook or Google in Chrome dev tools I see tons of random class names like <code>.201g</code>, <code>.1ayx</code>, <code>c3ag</code> etc. How do they do that?</p>
  
  <p>I'm already using <a href="https://github.com/lautis/uglifier" rel="nofollow">Uglifier</a> for basic JS mangling and <a href="https://github.com/joseph/ruby-clean-css" rel="nofollow">ruby-clean-css</a> for CSS minification.</p>