fileparams[:filename] contains the original filename.<br><br>Justin<br><br><div class="gmail_quote">On Mon, Mar 3, 2008 at 2:44 AM, Florian Schaf <<a href="mailto:flo.schaf@gmail.com">flo.schaf@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi!<br>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 <a href="http://pastie.caboo.se/160143" target="_blank">pastie.</a><br>
I'm sure this question is not too sophisticated (-;<br>regards<br>flo schaf<br><br>PS: The value of the size field is always 0. why? (thats not that important)
<br>_______________________________________________<br>
Merb-devel mailing list<br>
<a href="mailto:Merb-devel@rubyforge.org">Merb-devel@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/merb-devel" target="_blank">http://rubyforge.org/mailman/listinfo/merb-devel</a><br>
<br></blockquote></div><br>