def rewrite_asset_path(source, path = nil)
      if Fingerjam::Base.enabled? && Fingerjam::Base.cached?(source)
        Fingerjam::Base.cached_url(source)
      else
        if path && path.respond_to?(:call)
          return path.call(source)
        elsif path && path.is_a?(String)
          return path % [source]
        end

        asset_id = rails_asset_id(source)
        if asset_id.blank?
          source
        else
          source + "?#{asset_id}"
        end
      end
    end
def rewrite_asset_path(source, path = nil)
      if Fingerjam::Base.enabled? && Fingerjam::Base.cached?(source)
        Fingerjam::Base.cached_url(source)
      else
        if path && path.respond_to?(:call)
          return path.call(source)
        elsif path && path.is_a?(String)
          return path % [source]
        end

        asset_id = rails_asset_id(source)
        if asset_id.blank?
          source
        else
          source + "?#{asset_id}"
        end
      end
    end
Used by Rails view helpers