The last 2 day’s I tried create WebService which get back ActiveRecord
object, but it’s always get back error. Today I found why.
In Mysql the boolean type is a int(1) alias, but in postgresql the
boolean type is boolean(!).
When in the database table contain boolean type the AWS going to crazy
because it’s can’t recognize it. (It’s say: “Don’t know how to cast
FalseClass to Object” or “Don’t know how to cast TrueClass to Object”).
I think it’s a bug because the WebServices contain boolean primitive