title: How can I use Base64 encoding in Ruby on Rails?
body: <p>I'm working in Base64 in Ruby on Rails and have a question: </p>
  
  <p>For example how would the following be Base64 encoded / decoded?</p>
  
  <pre><code>&lt;a href="myroute?id=&lt;%=@client.id%&gt;"&gt; MY LINK&lt;/a&gt;
  </code></pre>