Rails 2.1 SWFUpload Example
There’s been a few posts lately on getting SWFUpload working with Rails 2.1, attachment_fu and the restful-authentication plugins.
To try and make things easier, I’ve made a sample - albeit basic - Rails application to show other people how I managed it.
I’ve created a project on Github to host it, feel free to check it out and let me know how you get on. The only instructions you should need are in the README file, but feel free to leave comments here if you do need a hand.
Tags: attachment_fu, rails, restful-authentication, ruby, swfupload
July 31st, 2008 at 6:37 pm
Exactly what I was looking for! Thanks!!
August 3rd, 2008 at 3:32 pm
Thanks!
You are my hero!
thanks thanks thanks
August 7th, 2008 at 8:48 pm
There are some fundamental changes in the Flash 10 player that prevents SWFupload from working. At the moment there aren’t any workarounds unfortunately. More info here: http://www.swfupload.org/forum/generaldiscussion/551
August 8th, 2008 at 10:52 am
Still haven’t installed the FP10 beta yet, thanks for the heads up Tom!
August 27th, 2008 at 12:35 am
Thanks for this.
It looks like your demo isn’t showing the progress bar for the uploads.
Is this a change with SWFupload or some option somewhere?
August 27th, 2008 at 1:17 pm
Hey Chap, I’d somehow managed to not commit the SWFUpload CSS.
Grab the latest from GitHub and this should be fixed.
September 6th, 2008 at 4:04 pm
Thanks!
Everything is working great locally, but for some reason when I upload to the server clicking the upload button does not make the file browser popup appear.
Very strange… Anyone have this problem?
September 18th, 2008 at 9:44 am
That sound suspiciously like you’ve got a JS error on your page. Try viewing your page in Firefox with Firebug installed - makes debugging JS errors a lot easier!