Questions tagged [rubyamf]
13 questions
2
votes
1 answer
Flash/Flex Rails remoting. AMF, WebORB, not quite sure what to use
I'm trying to build a game that sends game play data to a rails app. I've built it in javascript but it's quite obvious that Flash is going to do a better job so now I am about to build it in Flash. Using projects sprouts which is a ruby wrapper to…

thenengah
- 42,557
- 33
- 113
- 157
1
vote
0 answers
rubyAMF plugin + rails 2.3.4 + raby 1.8.7
I currently have ruby 1.8.7 running with a Rails 2.3.4 webapp. I'm trying to install the rubyamf plugin from github but I keep getting a 'plugin not found error'. I cloned the repo locally and copied the plugin into the vendor/plugins folder.…

spex2004
- 47
- 5
1
vote
1 answer
Controlling parameters passed in rubyamf (rails + flex)
How do I control what parameters are passed in a RemoteObject method? I noticed that when I directly download and run the code from this site, saving an object results in the following parameter set being passed back:
Processing…

unsorted
- 3,114
- 3
- 29
- 39
1
vote
1 answer
Rails3-amf and bringing an association to amf
i am changing from WebORB to Warhammerkids Rails3-amf - great choice, even tehre are some open issues. One those issues is, how can I get records from an association to the array, which is sent back to the Flex-Application.
In WebORB the method of…

crikos
- 41
- 2
1
vote
1 answer
RubyAmf and Rails 3
I have recently been trying to upgrade my app form Rails 2.3.8 to newly-releases Rails 3.
After going through fixing some Rails 3 RubyAMF doesn't seem to work:
>>>>>>>> RubyAMF >>>>>>>>> # took: 0.00017…

Tam
- 11,872
- 19
- 69
- 119
1
vote
4 answers
Handling cookies with Flex for Authentication
I'm using Flex 4(beta2) with Ruby on Rails 2.3.5 and using RubyAMF to transfer data back and forth between Flex and server.
I set up Authlogic on the Rails side for authentication.
I wasn't sure what's the best method to handle user sessions. I know…

Tam
- 11,872
- 19
- 69
- 119
1
vote
1 answer
How can I send multiple objects with RubyAmf
I'm new to RubyAmf. I noticed that you can send an object with RubyAmf as follows:
format.amf { render :amf => @user}
Which works fine. But I wasn't sure what to do what when I have two ,or more, objects:
@projects = @user.projects
@tasks =…

Tam
- 11,872
- 19
- 69
- 119
1
vote
2 answers
call from Flex to Ruby
I am very new to Ruby technology. In my current Project the Backend application is develooping ruby and Fortend is developing Flex with HTTPServices. I try to find any where how the Flex will call to Ruby. Please any one haing sample code, please…

RKCY
- 4,095
- 14
- 61
- 97
0
votes
1 answer
Adobe Flex (Flash Builder) + RubyAMF error
I develop applications using Adobe Flex and Ruby (through Ruby AMF plugin). The problem is that when I try to make a simple query from the data base I get an error caused by a UTF-8 char that comes from the db. The error is as follows.…
0
votes
1 answer
FLEX: Was expecting mx.messaging.messages.AcknowledgeMessage, but received null
Using RubyAMF with Flex.
response = HashWithIndifferentAccess.new( :handle_type => HandleType.first ) works fine, and HandleType is a model in our rails app.
response = HashWithIndifferentAccess.new( :user => User.first ) borks, and the response I…

andrewpthorp
- 4,998
- 8
- 35
- 56
0
votes
1 answer
Utilizing A Devise Session Through Flex With Rails3-AMF
I have a Flex front end and a Rails 3 back-end that I would like to establish a session to. Before you can access the page embedded with the flex front-end, you are prompted with a html login page through Devise.
I am able to login fine through the…

Joey
- 752
- 1
- 9
- 26
0
votes
1 answer
Can I send a file to Flex using RubyAMF?
I'm generating a PNG file in Flex from graphics drawn by user. I would like to send the file to Ruby on Rails backend and I'm using RubyAMF in other parts of the application.
I found ways to upload the file using FileReference which uses HTTP but I…

Tam
- 11,872
- 19
- 69
- 119
0
votes
3 answers
after refactoring to RubyAmf Rails doesn't seem to complain about authenticity_token
I'm building a Flex 4 + Rails 2.3.5 application. First I was using XML to pass date through and I used to get an error complaining about Authenticity Token which I passed manually then to get through the error.
After that I re-factored my code to…

Tam
- 11,872
- 19
- 69
- 119