Hej Tod,

the above example is a good start, but you need to keep in mind, that the 
upload attribute of the photo is actually a File object.
This means you will need to copy it to a permanent location, because in that 
state it most likely is in the /tmp dir.

Take a look at this tutorial: 
http://www.tutorialspoint.com/ruby-on-rails/rails-file-uploading.htm (first 
hit when searching for "rails file upload" on google ;))

Best,
Sebastian

--------------------------
Sebastian Gräßl
[email protected]
http://validcode.me 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to