views:

36

answers:

1

I am trying to read a file that has been saved on the /system folder using Paperclip, for example. But when I use that .url method from Paperclip to read that file using File.new, I get that the file isn't found. The directory is correct, but I still can't access it.

What is the right way to find a file for File.new for example? I tried to point to other files, as well, and to no avail.

+2  A: 

I think you want the path method. That returns the filesystem path.

Matthew Flaschen