title: Rails HTTP Basic check for authenticated?
body: <p>I've been googling  this one and haven't turned up anything useful:</p>
  
  <p>Assuming you use http basic auth in Rails is there a simple method to check if the user is authenticated? Ie. a way you can do something like this in a view:</p>
  
  <pre><code>- if http_basic_authenticated?
    # show admin menu
  </code></pre>