Is there a good blog post, article tutorial, anything on doing a file
upload in Camping? I've been looking around, but I haven't found
anything yet.
Regards,
Josh
___
Camping-list mailing list
Camping-list@rubyforge.org
If you're using Camping 2.0 stuff off github, file uploads work
exactly as they do in regular rack, so search around for rack upload
examples. :)
In camping 1.5, it works quite similarly, like this:
input.fieldname.tempfile.length #= how many bytes long it is
input.fieldname[:type] #=
2 matches
Mail list logo