1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix Active Storage configuration example [ci skip]

It is necessary to specify a value to `config.active_storage`.
This commit is contained in:
yuuji.yaginuma 2018-06-16 09:57:31 +09:00
parent 77efa07484
commit c0ce055b05

View file

@ -811,13 +811,13 @@ text/javascript image/svg+xml application/postscript application/x-shockwave-fla
* `config.active_storage.queue` can be used to set the name of the Active Job queue used to perform jobs like analyzing the content of a blob or purging a blog. * `config.active_storage.queue` can be used to set the name of the Active Job queue used to perform jobs like analyzing the content of a blob or purging a blog.
```ruby ```ruby
config.active_job.queue = :low_priority config.active_storage.queue = :low_priority
``` ```
* `config.active_storage.logger` can be used to set the logger used by Active Storage. Accepts a logger conforming to the interface of Log4r or the default Ruby Logger class. * `config.active_storage.logger` can be used to set the logger used by Active Storage. Accepts a logger conforming to the interface of Log4r or the default Ruby Logger class.
```ruby ```ruby
config.active_job.logger = ActiveSupport::Logger.new(STDOUT) config.active_storage.logger = ActiveSupport::Logger.new(STDOUT)
``` ```
### Configuring a Database ### Configuring a Database