Rails 3: Get the original filename from file uploads

Hi all,

I am currently using Rails 3 and I am using it to upload a file. How
do I get the original filename using Rails 3? Because when I use
File.basename(), what I get is RackFileUpload and not the original
filename. Has anyone done this before and can share it with us here?

Kind regards,
Joshua


http://twitter.com/scrum8