method

etag=

rails latest stable - Class: ActionController::AbstractResponse

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.2.1) is shown here.

etag=(etag)
public

No documentation available.

# File actionpack/lib/action_controller/response.rb, line 117
    def etag=(etag)
      headers['ETag'] = %("#{Digest::MD5.hexdigest(ActiveSupport::Cache.expand_cache_key(etag))}")
    end