APIdock / Ruby on Rails
/
Browse About
method

asset_file_path!

v3.0.0 - Show latest stable - Class: ActionView::Helpers::AssetTagHelper
asset_file_path!(path)
private

No documentation available.

# File actionpack/lib/action_view/helpers/asset_tag_helper.rb, line 902
        def asset_file_path!(path)
          unless is_uri?(path)
            absolute_path = asset_file_path(path)
            raise(Errno::ENOENT, "Asset file not found at '#{absolute_path}'" ) unless File.exist?(absolute_path)
            return absolute_path
          end
        end

Related methods

  • Instance methods
  • audio_path
  • audio_tag
  • auto_discovery_link_tag
  • favicon_link_tag
  • image_path
  • image_tag
  • javascript_include_tag
  • javascript_path
  • path_to_audio
  • path_to_image
  • path_to_javascript
  • path_to_stylesheet
  • path_to_video
  • stylesheet_link_tag
  • stylesheet_path
  • video_path
  • video_tag
  • Class methods
  • register_javascript_expansion
  • register_javascript_include_default
  • register_stylesheet_expansion
  • reset_javascript_include_default
  • Private methods
  • privateasset_file_path
  • privateasset_file_path!
  • privatecollect_asset_files
  • privatecompute_asset_host
  • privatecompute_javascript_paths
  • privatecompute_public_path
  • privatecompute_stylesheet_paths
  • privatedetermine_source
  • privateensure_javascript_sources!
  • privateensure_stylesheet_sources!
  • privateexpand_javascript_sources
  • privateexpand_stylesheet_sources
  • privateis_uri?
  • privatejavascript_src_tag
  • privatejoin_asset_file_contents
  • privaterails_asset_id
  • privaterewrite_asset_path
  • privaterewrite_extension?
  • privaterewrite_host_and_protocol
  • privatestylesheet_tag
  • privatewrite_asset_file_contents
APIdock API Documentation Browser

Improve developer experience using DX Core 4 metrics in Swarmia.

© 2026 APIdock