Project:SWFUpload
Version:2.0.1
Component:Documentation
Category:support
Priority:normal
Assigned:Unassigned
Status:Active
Description

I put together a Ruby on Rails demo using SWFUpload. It's based on the SWFUpload application demo and works roughly the same. It uses the latest version of rails (2.0.2) and swfupload (2.0.1).

http://appeddesign.com/rails_swfupload

Licensed under MIT so if you wish to keep it, use it, post it, whatever, please do so.

This is just a big thank you for writing such a wonderful utility!

Dave

Updates

#1 submitted by yper on March 19, 2009 - 12:43pm
Category:feature requests» support requests

I dowloaded this demo and changed the app to use mysql instead of sqlite since I don't have any experience with sqlite.
However I seem to get an to me strange error:

NoMethodError in PhotosController#index
undefined method `[]' for #

/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/string/access.rb:43:in `first'
vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:66:in `has_attachment'
app/models/photo.rb:7
app/controllers/photos_controller.rb:3:in `index'

{"X-Powered-By"=>"Phusion Passenger (mod_rails/mod_rack) 2.1.2",
"cookie"=>[],
"Cache-Control"=>"no-cache"}

as you propably understand, I am pretty new to rails. any assistance is welcome.

AttachmentSize
swfupload_v2.0_rails_demo.zip192.84 KB