sprockets-rails
sprockets-rails copied to clipboard
Documentation outdated: config.assets.resolve_with = %i[ environment ] is the new default
The docs say:
# Dev where debug is true, or digests are disabled
%i[ environment ]
# Dev default, or production with compile enabled.
%i[ manifest environment ]
# Production default.
%i[ manifest ]
However, it seems that config.assets.resolve_with = %i[ environment ] is the new default. After starting a new Rails app:
2.4.1 :002 > Rails.application.config.assets.resolve_with
=> [:environment]
And:
config.assets.debug = true