I've setup rails and AMF to use uuid's everything works fine as long
as Rails is generating the uuid's. But what I want is for my clients
to generate the uuid's. The problem is that when I do a save passing
on a new object, because it has its ID property set, AMF obviously
assumes that it's an existing record and generate an ActiveRecord as
such. When I call save no error is thrown and looking at the logs
shows me that it's attempted to do an update instead of an insert.
For what I want to work AMF will need to always check whether the id
provided already exists, if so it can use the existing record, if not
it will create a new one.
Can anyone tell me if AMF supports client generated ID's or can point
me to the place in the code where I might be able to patch this.
Cheers,
Chris
--
You received this message because you are subscribed to the Google Groups "rubyamf" group.
To post to this group, send email to
rub...@googlegroups.com.
To unsubscribe from this group, send email to
rubyamf+u...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyamf?hl=en.