Coffee-filter provides a custom haml filter allowing you to inline coffeescript in your haml templates. It was inspired by Ivan Nemytchenko's coffee-haml-filter but I wanted an installable gem and “coffeescript” as the filter name.
%div stuff :coffeescript alert 'here'
Add the following to your Gemfile:
Copyright © 2011 Paul Nicholson, released under the MIT license