5

When I post a image from a iphone application, my rails application raises the exception:

Paperclip exception : Paperclip::AdapterRegistry::NoHandlerError].

My iPhone application posts the image by multipart.

When I upload a image from my web site the rails application does not raise this exception.

Where can I look to see why it does not work? Thank you.

Kevin Bedell
  • 13,254
  • 10
  • 78
  • 114

1 Answers1

0

I already have had this error on a nested form and it was because I forgot the set the multipart to true.

Use a tool to log requests sent by your iPhone and then you can see were the request is malformed.

Charles Proxy is perfect for that.

Related topic : How can I debug network requests from my iPhone?

Community
  • 1
  • 1
basgys
  • 4,320
  • 28
  • 39