Fixed syntax issues with hash in attributes' default.rb and changed the template erb.