Cameron Yule

Rails 2.1 YUI Uploader Example

I’ve finally committed my Rails 2.1 YUI Uploader example, which is a fully-functioning Rails 2.1.2 application demonstrating the use of YUI Uploader, attachment_fu, CSRF protection and the Restful Authentication plugin. It’s using the latest 2.6.0 release of YUI, which includes the fixes to the the Uploader for Flash Player 10.

It’s up on Github now, all the details you’ll need are in the README.

Published on October 30, 2008 in Programming
5 Comments

SWFUpload demo update

I’ve updated the Rails 2.1 SWFUpload example to use the new 2.2.0 Beta 2 release of SWFUpload. The reason for the new release is that there were security changes in Flash Player 10 which prevent JavaScript from causing Flash to show a file dialog – the browse button is now rendered by Flash itself.

Published on October 30, 2008 in Programming
2 Comments

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.

Published on July 31, 2008 in Programming
10 Comments