File Uploads with Refile Discussion
Thank you so many times over. This was a life saver!
Jake Yeaton repliedThank you so many times over. This was a life saver!
Jake Yeaton repliedAnd use the master branch or you will get undefined methods errors. (this step is not included in the readme) ```ruby gem 'refile', require: "refile/rails", git: 'https://github.com/refile/refile....
Wouter van den Beld repliedHi there! Any idea why uploading works in development locally, but not on ngrok or in production? I get this: application-f91eb14d1a71eb1bded7bacba5a2c9f6e50d1ef47606669468a65584ed3f021d.js:18352 U...
Gabriel Ursache repliedThanks Chris! I actually had a document_attachments controller setup and was getting unilitialized constant errors, which through research I learned could be due to a routing conflict with Refile ...
Adrian DeGus repliedHi Srinivasa, Good, that's a few more things we can check off the troubleshooting list! Have you watched your logs when you upload? I'm almost positive you'll see some sort of error in there tha...
Jacob Montgomery repliedYou have solved this problem?
Nikola Okonesh repliedChris, pls don't forget to add authentication to the API series. It would be great to see both devise/JWT implementation.
Sean M repliedGot sidetracked with other projects, and finally got back to this with help. Thank you Chris -- processing locally and uploading with s3_uploader solved, no need for Carrierwave in the end.
Thomas Bush replied • SolvedI love the insight that an out-of-date gem can be an opportunity to learn how to level up your skills. BTW, here's an update about mailboxer: someone has forked and has answered some of the pull ...
Carl Tanner repliedI'm not entirely sure on that one. I imagine you could write the same value in and then save without callbacks in your seeds in order to populate but not trigger Refile to do a reupload?
Chris Oliver repliedMore stimulus please, this was so helpful in seeing how it works within the context of a rails. Thanks for this!
James DuBois repliedUsing rails 6, I couldn't get the coffeescript to work, so I converted it to javascript Put this in your chatroom show page as a workaround under the message input form. (function() { $(docu...
Richard Ludwig repliedOk, I changed PG column to json and now it works. Some tutorials I read stated to use string and not json but it works fine, so I guess that's it.
Johnathan R. Nunes repliedThis episode was extremely helpful in getting Shrine up and running. I found the documentation to be less than clear, and this really helped.. Thank you!
Mike Saltsman repliedHello everyone,, I am going with an 'Attachment' model which belongs to other models (just one for now). https://snaptube.cam/ https://syncnet.onl/telegram-web/ [9apps](https://9apps.cam/) The 'Att...
Highzen berg postedTwo reasons - if you have a wreck you cant easily find ophaned files. I also have clients than need data segrigation. Dan
Dan Tappin repliedHas anyone had any luck getting this working rendering image templates/partial instead of just an image (mentioned as an alternative at around 11.30 in the video)? Chris has been kind enough t...
Adam Morgan repliedI haven't done direct uploads with Shrine v3 yet, but that's on my todolist.
Chris Oliver repliedHi there, I am following this tutorial to do multiple file uploads with DropboxJS but I don't know how to get multiple images belonging to a model to show in the 'show' page. Only one image shows ...
Arthur Truong posted