title: Absolute image URL in rails
body: <p>How can I get the absolute URL of an image in Rails. </p>
  
  <p>Rails serves the images using assets. </p>
  
  <p>So an image by the name "logo.png" is actually stored as "logo-776bfb0d3b4bdea029da753cf63916e2.png". </p>
  
  <p>This is not a problem when I need to access the image using a Rails server as I render it using the &lt;%= image_tag %> helper. </p>
  
  <p>But I need to pass the actual URL to an API which will then render the image.</p>
  
  <p>So how can I just get the physical URL??</p>