title: Input Selection (Not Telling/Male/Female) in Rails4
body: <p>Sorry if this is a too easy question but it's bugging me.</p>
  
  <p>I need to create a simple selection field for </p>
  
  <ul>
  <li>Not Telling</li>
  <li>Male</li>
  <li>Female</li>
  </ul>
  
  <p>and the default when not entered to be "Not "Telling".</p>
  
  <p>Do i just run a migration like:</p>
  
  <pre><code>rails g migration AddGenderToListings gender:select
  </code></pre>
  
  <p>and then in my Profile Edit Form </p>
  
  <pre><code>&lt;%= f.select :gender, [["Not Telling", 1], ["Male", 2], ["Female", 3]] %&gt;
  </code></pre>
  
  <p>But how do i display it afterwards on a show page ??</p>
  
  <p>if just <strong>&lt;%= @user.gender %></strong> it puts the number of the selection.</p>
  
  <p>Any enlightenment ?</p>