Upload to Flickr or Picasa and Google Video or YouTube

Hi Group,

I am trying to develop a Ruby on Rails Mashup which includes images
and video.

Would someone kindly direct me to a Ruby on Rails tutorial / code
sample on:

(1) Uploading an Image to Flickr or Google Picasa; and

(2) Uploading a Video to YouTube or Google Video.