title: Map integers 0-6 to weekday names
body: <p>I have a class with two attributes saving weekdays with numeric values. I had hoped to be able to use <a href="http://edgeapi.rubyonrails.org/classes/ActiveRecord/Enum.html" rel="nofollow noreferrer">Enum</a>, but <a href="https://stackoverflow.com/questions/23712485/share-enum-declaration-values-with-multiple-attributes">appearantly you can not use the same value for two attributes</a> with Enum.</p>
  
  <p>How could I represent the integer value of an attribute to the corresponding weekday? </p>
  
  <pre><code>0 =&gt; "monday"
  4 =&gt; "friday"
  </code></pre>