Upcoming built-in Upload Solution for Rails 5.2 (ActiveStorage)

DHH just announced a brand new feature for the upcoming Rails 5.2. This is ActiveStorage.Most simple upload solutions - such as ActiveStorage, and old ones such as the original Paperclip and the vanilla install of Carrierwave - basically set the HTML form as a multipart and add a vanilla HTML file field. This will upload the form directly to a Rails controller action, which will receive it in the params hash and you can deal with the binary blob from there.
Upcoming built-in Upload Solution for Rails 5.2 (ActiveStorage) #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/upcoming-built-in-upload-solution-for-rails-5-2-activestorage

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles