Forum: Ruby on Rails Bug in rails?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Háber János (Guest)
on 2006-01-07 21:37
(Received via mailing list)

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

This topic is locked and can not be replied to.