User jquery.fileupload-rails gem
Use jquery file upload to upload mutiple files