-1

I am using the gem "uploadcare-rails", ">= 0.1.0" https://github.com/mouseed/uploadcare-rails in my Rails application for uploading images. After file upload it assigns uuid to value of the image column. It only save the uuid in the image column and doesn't save any other information like record.image.url, record.image.size or record.image.image?

I am currently on free plan. Does it provide all the file info on free plan or is there any thing I am doing wrong?

halfer
  • 19,824
  • 17
  • 99
  • 186

1 Answers1

0

First of all, try to use this gem instead.

Second, file info provided by Uploadcare API does not depend on a plan you're using.

It seems that info is being saved to file.data property, but is not publicly available. You may want to patch it in and send a PR :)

Dmitry Mukhin
  • 6,649
  • 3
  • 29
  • 31