Active storage image attachments are displaying as nil attributes code example Example: active storage photo attached method current_user.photo.attached? # => true