Our first data type exception is the Boolean type. Ruby has a fairly simple definition of
Boolean values. Everything is true except for the value false and the value nil. However, many
databases also allow values like 0, "false", or null to also evaluate as false Boolean values. To
address this, each Active Record database adapter is expected to also accept and properly convert
the values of "false" and "0" to Boolean false values.
The next data type of interest to us is the large text object (often referred to as Text or CLOB
data types). Each database has a varying level of support for large text objects, but most do
implement or support them in one way or another. Throughout our testing, each of the adapters
correctly converted data to and from Ruby string types for this type.
Finally, closely related to large text objects are large binary objects (often referred to as BLOB
data types). This data type also has varying support from within each database system and relies
on each Active Record adaptor to properly map data to and from this type.
Pages:
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413