| Module | Sprockets::Rails::Helper |
| In: |
lib/sprockets/rails/helper.rb
|
| VIEW_ACCESSORS | = | [:assets_environment, :assets_manifest, :assets_prefix, :digest_assets, :debug_assets] |
| assets | [RW] | |
| precompile | [RW] | |
| raise_runtime_errors | [RW] |
Get digest for asset path.
path - String path options - Hash options
Returns String Hex digest or nil if digests are disabled.
Expand asset path to digested form.
path - String path options - Hash options
Returns String path or nil if no asset was found.
Computes the full URL to a asset in the public directory. This method checks for errors before returning path.
Override javascript tag helper to provide debugging support.
Eventually will be deprecated and replaced by source maps.
Override stylesheet tag helper to provide debugging support.
Eventually will be deprecated and replaced by source maps.
Returns true when an asset will not be available after precompile is run
Internal method to support multifile debugging. Will eventually be removed w/ Sprockets 3.x.
Enable split asset debugging. Eventually will be deprecated and replaced by source maps in Sprockets 3.x.