DataMapper port of the Paperclip plugin by Thoughtbot