John Ivanoff

Rails ActiveStorage Change from rc2 to Final Release

In rails 5.2.rc2 config/storage.yml it was suggested to add a host for to help with local storage.

local:
  service: Disk
  root: <%= Rails.root.join("storage") %>
  host: "http://project.test"

In rails 5.2 you do not need to do that.

local:
  service: Disk
  root: <%= Rails.root.join("storage") %>

And remember to restart your rails server. There’s 15 minutes I won’t get back.

Published: 2018-04-12