I would do this and next "if" to be one-liners.
params[:failed].add_content values[:content] unless values[:content].nil?
params[:failed].add_instance values[:instance] unless values[:instance].nil?

Short and clear.