mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
It doesnt work in rails 5 and apparently it was introduced to debug already deleted products cache in staging
See this commit that introduced it 10a79d5a65
5 lines
128 B
Ruby
5 lines
128 B
Ruby
unless Rails.env.production?
|
|
# Log message in the same default logger
|
|
ActiveSupport::Cache::Store.logger = Rails.logger
|
|
end
|