how to use contents of <ActionDispatch::Http::UploadedFile:0x007f91fc5c88d0> in Rails?

2.3k Views Asked by At

I've uploaded and encrypted two images to my app, and now I need to use them in an img_tag. How can I retrieve the contents of this string and display them to the user?

Model.document_front: <ActionDispatch::Http::UploadedFile:0x007f91fc5c88d0>
1

There are 1 best solutions below