title: Create a custom prefix on a UUID
body: <p>I would like to know if there is any way to create a custom prefix on UUID's in rails. I would like to generate something like:</p>
  
  <pre><code>"ret_a44691c8-93e2-11e8-ac1c-1b3aa40a1cae"
  </code></pre>
  
  <p>I found this code, which I can add to my migration to create the UUID:</p>
  
  <pre><code>t.uuid "uuid", default: "uuid_generate_v4()"
  </code></pre>
  
  <p>But this would generate something like:</p>
  
  <pre><code>"a44691c8-93e2-11e8-ac1c-1b3aa40a1cae"
  </code></pre>
  
  <p>Is it possible to get the format that I want?</p>