title: Rails http basic authentication for more than one user?
body: <p>So I have a very basic static pages rails app, and I want to create a number of usernames and passwords for people to access these static pages. Naturally, the rails api has the http_basic_atenticate, but how are you supposed to have more than one user? </p>
  
  <p>To be clear, I want to only use http_basic for more than one user. How to go about this?</p>
  
  <p>Eg; user1 has password1, user2 has password2, user3 has password3, and so forth?</p>
  
  <pre><code>class StaticController &lt; ApplicationController
  
  http_basic_authenticate_with :name =&gt; "user", :password =&gt; "password"
  
  
    def home
    end
  
    def content
    end
  
  end
  </code></pre>