Corrected attachments element to use Ruby class name (previous oversight).