Skip to content

bronzle/qqfileuploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ported from the PHP code at valums.com/ajax-upload/

In your Gemfile

gem "qqfileuploader"

In any action you wish to process a ajax upload, use this helper method

handle_upload(upload_dir, replace_file, options...)

It returns the a hash ready to be json-ified and returned back to the client. Optional arguments include:

:allow_extensions => [array of file extensions]
:size_limit => int, max file size (defaults to 10485760 bytes)

About

Rails gem for handling qqfile uploader's ajax and hidden form uploads

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors