Attachment model introduced with paperclip gem. Associations updated.