ruby on rails - FLEX: Was expecting mx.messaging.messages.AcknowledgeMessage, but received null -


using rubyamf flex.

response = hashwithindifferentaccess.new( :handle_type => handletype.first ) works fine, , handletype model in our rails app.

response = hashwithindifferentaccess.new( :user => user.first ) borks, , response in flex is:

"was expecting mx.messaging.messages.acknowledgemessage, received null"

user model in our rails app, there different it. classmapping set identically, correct names , attributes. ideas might causing it, or for? not 100% sure know fault means.

any great!

i guess asking question here gave me necessary brain-power solve :d

in case interested, here happened:

in account value object (accountvo), had following:

public var user:uservo = new uservo() 

in user value object (uservo), had following:

public var account:accountvo = new accountvo(); 

so, got stuck in infinite loop of creating value objects, , never responded! doh!


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -