You probably forgot to configure something on your Rails side:
E.g. check out config/initializers/restfulx.rb
and make sure you actually have the mapping defined:
# Set up the default namespace for serializing Rails models to AMF
RestfulX::AMF::ClassMapper.default_as_prefix = "yourflexpackage.models"
This should be a good example for how to set up AMF in your Rails2 project:
https://github.com/dima/air_amf_sync
Hope this helps,
Dima
> --
> You received this message because you are subscribed to the Google Groups "restfulx-framework" group.
> To post to this group, send email to restfulx-...@googlegroups.com.
> To unsubscribe from this group, send email to restfulx-framew...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/restfulx-framework?hl=en.
>
Is RestfulX applicable for purely Flex/AS3 and CouchDB use cases -
without any Ruby/Rails nor even any web servers between the flash
client and the CouchDb server ?
Thanks,
Zdravko
In general yes, but please refer to https://github.com/dima/restfulx_framework/wiki/Using-CouchDB-in-Flex-AIR-with-RestfulX
for more details as there are some caveats.
Dima
Thanks,
Dima
>>>>>> restfulx-framew...@googlegroups.com<restfulx-framework%2Bunsu...@googlegroups.com>
>> .
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/restfulx-framework?hl=en.
>>>>>>
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>> Groups
>>>>> "restfulx-framework" group.
>>>>> To post to this group, send email to
>> restfulx-...@googlegroups.com.
>>>>> To unsubscribe from this group, send email to
>>>>> restfulx-framew...@googlegroups.com<restfulx-framework%2Bunsu...@googlegroups.com>
>> .
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/restfulx-framework?hl=en.
>>>>>
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>> Groups
>>>> "restfulx-framework" group.
>>>> To post to this group, send email to
>> restfulx-...@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> restfulx-framew...@googlegroups.com<restfulx-framework%2Bunsu...@googlegroups.com>
>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/restfulx-framework?hl=en.
>>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>> "restfulx-framework" group.
>>> To post to this group, send email to restfulx-...@googlegroups.com
>> .
>>> To unsubscribe from this group, send email to
>> restfulx-framew...@googlegroups.com<restfulx-framework%2Bunsu...@googlegroups.com>
>> .
>>> For more options, visit this group at
>> http://groups.google.com/group/restfulx-framework?hl=en.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "restfulx-framework" group.
>> To post to this group, send email to restfulx-...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> restfulx-framew...@googlegroups.com<restfulx-framework%2Bunsu...@googlegroups.com>