[Rails] Re: AWS and array of Model

Háber János boci at freemind.hu
Sat Jan 7 19:37:32 GMT 2006


Hi!

I think you are use postgresql or other database which have real boolean 
type (mysql boolean type is an alias to int(1)). And the Webservice 
can't cast this type to primitive.

Cow

Joerg Diekmann írta:
> Yeah, I have a very similar problem. I want my webservice to return say 
> a Person object, but when I invoke the method through SOAP I get "Don't 
> know how to cast FalseClass to Object", and through XML-RPC I get a 
> whiney NULL error.
>
> I have used the exact example from the Agile Rails book ... have you 
> managed to solve your problem yet?
>
> Joerg
>
> P.S. It all works fine if my methods return integers or strings.
>   



More information about the Rails mailing list