How can I write something like this to include in a template, but in Haml?
<script>
$(document).ready( function() {
$('body').addClass( 'test' );
} );
</script>
:javascript
$(document).ready( function() {
$('body').addClass( 'test' );
} );
Docs: http://haml.info/docs/yardoc/file.REFERENCE.html#javascript-filter