When using JSON, Rails stores attachments in memory instead of in a temp file. This could lead to issues with large files.