© Brady Somerville, Adam Gamble, Cloves Carneiro Jr and Rida Al Barazi 2020
B. Somerville et al.Beginning Rails 6https://doi.org/10.1007/978-1-4842-5716-6_10

10. Active Storage

Brady Somerville1 , Adam Gamble2, Cloves Carneiro Jr.3 and Rida Al Barazi4
(1)
Bowling Green, KY, USA
(2)
Gardendale, AL, USA
(3)
Hollywood, FL, USA
(4)
FONTHILL, ON, Canada
 

With version 5.2, Rails introduced a system to make it easy to handle files attached to your application’s models. Web applications often need to perform tasks such as saving user-uploaded files, creating thumbnail versions of images, and validating file types. Previously, developers depended on other gems to handle this functionality, but now we have the option to use a system that’s a full-fledged part of Rails. ...

Get Beginning Rails 6: From Novice to Professional now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.