A prototype about uploading files by ajax, using rails with paperclip in server.