Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

yawarsultan's Profile

GitHub User: yawarsultan

Comments by

Avatar

can you please upload full source code I am also stuck at edit/update part. Thanks

Avatar

I am having trouble while uploading image. I have used carrierwave gem to upload image when the user goes to next step it gives following error if image is present

Encoding::UndefinedConversionError at /deals
"\xFF" from ASCII-8BIT to UTF-8

If there is no image the app does not gives error. any body help me tell how to avoid this error or how to avoid storing carrierwave gem in session and get it back on last step.thanks