I upgraded my app to rails 5.2 and I am using the active storage of rails.
In case I want to use the picture I uploaded as a background, which method is the best? I would like to use a resized picture 300x300 for the background.
<div style="background: ... ">