Topic: temp file question
I am trying to create a paperclip attachment from a temp file, but I am finding that when I do:
temp_file = Tempfile.new("foo.xyz")
And then later on, when the paperclip attachment is served, the file I receive is foo_12928_0.xyz
I am wondering how can I get rid of those numbers in the file name?
Last edited by patrick99e99 (2010-05-02 14:36:12)