title: "No such file or directory @ rb_sysopen" when converting a file to a string
body: <p>I tried to read a text file like so:</p>
  
  <pre><code>file = File.read(record.file)
  </code></pre>
  
  <p>and received the error <code>no implicit conversion of Paperclip::Attachment into String</code></p>
  
  <p>So I appended to_s on the end to convert it to a string:</p>
  
  <pre><code>text = File.read(record.file.to_s)
  </code></pre>
  
  <p>and I received the error <code>No such file or directory @ rb_sysopen</code></p>
  
  <p>I know for a fact that this file and directory exist because I have an anchor tag that redirects to the file, and this is unaffected by appending to_s on the end.</p>
  
  <p>I tried manually pasting in the file path but I received the same error.</p>