title: Rails 3 - select_tag helper - array
body: <p>I have a question I'm a little embarrassed to ask, but can't seem to figure out.</p>
  
  <p>I'm writing a form to allow users to filter information for them to see only what they want. In the form I'm using the select_tag helper for a drop down menu. The selection menu is populated by an array of users. I have the following code:</p>
  
  <pre><code>&lt;% @users.each do |user| %&gt;
    &lt;%= select_tag "users", options_for_select([user.name]) %&gt; 
  &lt;% end %&gt;
  </code></pre>
  
  <p>The problem with this, is it yields a selection menu for every user.name in the @users array. I assume the problem is that I'm using .each on my @users. However, I've been struggling with this too long this morning so I figured I'd just ask...</p>
  
  <p>What's the proper way to get items from an array to populate into a single  tag while using the select_tag helper?</p>
  
  <p>Thanks</p>