title: Execute inline ruby from string
body: <p>Im trying to execute inline ruby from a string. The string is stored in a database as a text and is not made using ruby.</p>
  
  <pre><code>string = 'The year now is #{Time.now.year}'
  puts string
  </code></pre>
  
  <p>That returns</p>
  
  <pre><code>=&gt; The year now is #{Time.now.year}
  </code></pre>
  
  <p>I want it to return</p>
  
  <pre><code>=&gt; The year now is 2015
  </code></pre>
  
  <p>Is there any method in ruby that will execute inline ruby like that?</p>