Project

General

Profile

Actions

Bug #13738

closed

Active Scaffold image upload using CarrierWave gem

Added by karanamsandhya (Karanam Sandhya) over 7 years ago. Updated over 7 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
[ruby-core:82007]

Description

getting Encoding::UndefinedConversionError ("\xFF" from ASCII-8BIT to UTF-8): this error while uploding the image. and image params are like this:

"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fbcc2925c80 @tempfile=#Tempfile:/tmp/RackMultipart20170712-7555-c67kvs.jpg, @original_filename="1.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name="record[photo]"; filename="1.jpg"\r\nContent-Type: image/jpeg\r\n">

Actions

Also available in: Atom PDF

Like0
Like0Like0