For starters, we're going to want to apply the boy scout rule to our CSS. A lot of our legacy code contains inline CSS and JavaScript directives like so:
-# bad
-# somefile.html.haml
- content_for :document_ready do
$('.button').click(function(){
alert('You clicked a button!');