Fixed image_attributes= so that it doesn't affect the database in order for preview to work. image_attributes= will just save in memory and #save will persist to the db