Fixes the Haml example for Rails 4.0
Adds the same example also in ERB.