title: Rails 3: How to get image path in Controller?
body: <p>To get the image path in Controller I use the following method:</p>
  
  <pre><code>class AssetsController &lt; ApplicationController
    def download(image_file_name)
      path = Rails.root.join("public", "images", image_file_name).to_s
      send_file(path, ...)
    end
  end
  </code></pre>
  
  <p>Is there a better method to find the path ?</p>