There's no documentation for this item.
Source Code
# File action_controller/http_authentication.rb, line 118 def authentication_request(controller, realm) controller.headers["WWW-Authenticate"] = %(Basic realm="#{realm.gsub(/"/, "")}") controller.send! :render, :text => "HTTP Basic: Access denied.\n", :status => :unauthorized end
<code/>and<pre/>for code samples.