New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Active Storage Preview Warnings #739
Conversation
a00498a
to
7f548da
Compare
lib/language_pack/rails5.rb
Outdated
warn(<<-WARNING) | ||
You set your `config.active_storage.service` to :local in production. | ||
If you are uploading files to this app, they will not persist after the app | ||
is restarted. Heroku applications have an ephemeral files system. To |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
after the app is restarted, on other web dynos, or in one off dynos.
People don't get this, and I guarantee we'll see tickets about it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated. Also I added more words in the linked article.
ea90ea4
to
0b87879
Compare
- When using active storage set to `:local` emit a warning letting people know that the storage might not work as they expect. - When no `ffmpeg` is available warn that they need to add a special buildpack.
0b87879
to
4b340d4
Compare
Thanks! |
db400ab
to
b96ecc7
Compare
I think this PR breaks my deploys, which used to work fine. The error:
|
Same here :
|
I just opened #744 |
When using active storage set to
:local
emit a warning letting people know that the storage might not work as they expect.When no
ffmpeg
is available warn that previews will not work.