fileparams[:filename] contains the original filename. Justin
On Mon, Mar 3, 2008 at 2:44 AM, Florian Schaf <[EMAIL PROTECTED]> wrote: > 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) > _______________________________________________ > Merb-devel mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/merb-devel > >
_______________________________________________ Merb-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/merb-devel
