how upload file

Hello,
i wonder about upload file in rails because i want user can browse the
file .
what fuction that i use? and please explain about upload file to me
because i never do it.
thank you

You can use paperclip plugin for this purpose.
Download the zip from github : http://github.com/thoughtbot/paperclip/tree/master
and extract it in your rails applications plugins folder.
How to use paperclip is given here:
http://www.asciicasts.com/episodes/134-paperclip

-Rohan

thank you so much