Improving production logs, removing n+1 on media attachments in atom,
adding attachments display to static views
This commit is contained in:
parent
87576e1ab1
commit
0f4bc56719
7 changed files with 45 additions and 3 deletions
|
@ -64,6 +64,9 @@ Rails.application.configure do
|
|||
# Use default logging formatter so that PID and timestamp are not suppressed.
|
||||
config.log_formatter = ::Logger::Formatter.new
|
||||
|
||||
# Better log formatting
|
||||
config.lograge.enabled = true
|
||||
|
||||
# Do not dump schema after migrations.
|
||||
config.active_record.dump_schema_after_migration = false
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue