Juan Martin
Juan Martin

Reputation: 89

Best way to upload files in Rails5.2.1

I'm developing simple website and I have a problem with uploading files from user to server. I've found some answers from google. But I don't know what is the best way to do that. Could you please tell me answers or urls that presents the best way?

Upvotes: 1

Views: 39

Answers (2)

M. Urazov
M. Urazov

Reputation: 155

I've used Active Storage to upload image. You can find your answers here:

https://edgeguides.rubyonrails.org/active_storage_overview.html

This guide covers how to attach files to your Active Record models.

Upvotes: 1

user10526881
user10526881

Reputation: 11

You can find answers from here: https://hackernotes.io/file-uploads-rails-5-2-activestorage/ I have uploaded file using the answers and I've succeeded

Upvotes: 1

Related Questions