(Noob) Image upload: rename file
Florian Schaf
flo.schaf at gmail.com
Sun Mar 2 12:44:20 EST 2008
Hi!
I'm building an app where the user can upload images. this works fine and
the uploaded file is copied from the temp directory to an
MerbRoot/uploads/id directory. my problem is that the filename is something
like Merb.5288.0. How can I rename it? my model is available at
pastie.<http://pastie.caboo.se/160143>
I'm sure this question is not too sophisticated (-;
regards
flo schaf
PS: The value of the size field is always 0. why? (thats not that important)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/merb-devel/attachments/20080302/6e531732/attachment.html
More information about the Merb-devel
mailing list