This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.
hsts_headers()
http://tools.ietf.org/html/draft-hodges-strict-transport-sec-02
# File actionpack/lib/action_dispatch/middleware/ssl.rb, line 48 def hsts_headers if @hsts value = "max-age=#{@hsts[:expires].to_i}" value += "; includeSubDomains" if @hsts[:subdomains] { 'Strict-Transport-Security' => value } else {} end end