Create files

This creates the Attachment model that contains the file upload.
This will literally put the word "attachment" in a `<p>` tag for every single attachment. If you change the line to

    %p= attachment

then it will interpret the line as Ruby and call `attachment.to_s` on each one. That is probably what you want.

This is not a Ruby thing or even a Rails thing, really. It's [haml](http://haml.info/). Some people love it, some people hate it. I go either way, though these days I tend to prefer not having it (it's just another dependency in the Gemfile, to me; erb is fine).