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 get in flex is:
"Was expecting mx.messaging.messages.AcknowledgeMessage, but received null"
User is just another model in our rails app, but obviously there is something different about it. The ClassMapping is set up identically, but with the correct names and attributes. Any ideas what might be causing it, or what to look for? I am not even 100% sure I know what the fault means.
Any help would be great!