title: Rails enum mapping to displayable text
body: <p>The Rails 4 enum implementation is rather nice for making a status field such as</p>
  
  <pre><code>class User &lt; ActiveRecord::Base
    enum status: [:goodstanding, :outstanding]
  </code></pre>
  
  <p>But if I want to display text depending on the status, this text mapping should be in one place and the enum doesn't offer a solution to map to text.</p>
  
  <p>Here is what I had before</p>
  
  <pre><code>class User &lt; ActiveRecord::Base
    STATUS = {
      :outstanding =&gt; "Outstanding balance",
      :goodstanding =&gt; "In good standing"
    }
  </code></pre>
  
  <p>Which allowed me to do </p>
  
  <pre><code>User::STATUS[user.status] # "In good standing"
  </code></pre>
  
  <p>to display my text. Any suggestions on how to do this with the newer enum type?</p>