Hi, I'm trying to instantiate the file from the saved file via paperclip. The codes to open the file is:
barcodeFile = open(scan.barcode.url,"r") ..but getting error of file not found as the "url" is extended as /system/barcodes/1/small/barcode.png?1284296856 with the number strings. I was searching 1) what the numbers strings are, and 2) how I can get URL without the strings so that I will not encounter file not found exception when I'm trying to instantiate the object. Thanks, Ryo -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.