sprockets-rails icon indicating copy to clipboard operation
sprockets-rails copied to clipboard

Documentation outdated: config.assets.resolve_with = %i[ environment ] is the new default

Open adamzerner opened this issue 8 years ago • 0 comments

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

adamzerner avatar Apr 12 '17 00:04 adamzerner