title: Ruby shorthand for "use this if it isn't blank, otherwise use that"
body: <p>I have the following code:</p>
  
  <pre><code>url = file.s3_url.blank? ? file.url : file.s3_url
  </code></pre>
  
  <p>Is there a shorter way to write this?</p>
  
  <p>Thanks!</p>