Forum: Ruby on Rails ActiveResource and file uploads

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D0e7a53bc25c2827451d9f5b14561e05?d=identicon&s=25 Attila Györffy (liquideclm)
on 2009-01-18 04:35
(Received via mailing list)
I am trying to figure out how I could ActiveResource with one of my
web services. I have a desktop application which basically sends and
receives data to and from the server via AMF. (It is an Adobe AIR
application for multiple platforms.)

I'm using RubyAMF as the remoting gateway and Rails v 2.2.2 as the
base of my web application.

I've managed to get file uploads work with ActionPack and save the
entries into an ActiveRecord model, but I also need to get file
uploads work.
After some research I couldn't find relevant tutorial and/or post on
the net. Also, Also, I've read somewhere that ActiveResource does not
support multipart type data... That's not too promising either.

Anyone has experience with this approach?
Thanks in advance.

Attila

http://attilagyorffy.com
http://www.eclips3media.com
This topic is locked and can not be replied to.