title: Rails 6.0: How to print a column value to print a translation locale key
body: <p>I've made a new controller on the project I'm learning. This controller is called "levels" and each level has a color, a name and an identifier number. The model has only the Number column as integer. Now, since I am doing this using translations, I want to use each number of the column to use my en.yml levels.[number] i did in my localization file to print my translated name in my view depending which language the user is using.</p>
  
  <p>This is how i am trying to do it in the view</p>
  
  <p><code>&lt;td&gt;&lt;%= level.level %&gt; &lt;%= t('levels. + @level.level') %&gt;&lt;/td&gt;</code></p>
  
  <p>And I cannot print the current value on my en.yml</p>
  
  <pre><code>  footer:
      rules: "Rules"
    levels:
      1: blue
      2: green
      3: red
  </code></pre>