0.0
No commit activity in last 3 years
No release in over 3 years
description
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 3.1.0.rc8
 Project Readme

QQFileUploader¶ ↑

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

Installation¶ ↑

In your Gemfile

gem "qqfileuploader"

Usage¶ ↑

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)