filestack / filestack-ruby

Official Ruby SDK for Filestack - API and content management system that makes it easy to add powerful file uploading and transformation capabilities to any web or mobile application.
https://www.filestack.com
Apache License 2.0
34 stars 27 forks source link

How to save metadata to @user.filestack_url #20

Closed masudhossain closed 6 years ago

masudhossain commented 6 years ago

I'm currently doing <%= f.filestack_field :filepicker_url, 'Upload Your Avatar!', id: 'unique-id' %> to upload files and it's working fine. but I also want to save the metadata (such as name, filetype, ect.) to my rails application. Otherwise, i can't grab the name of the files for my users to see.

staturecrane commented 6 years ago

Please see: https://github.com/filestack/filestack-rails/issues/176

masudhossain commented 6 years ago

Okay so how would you go about doing it with this ruby gem?