mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
8eb536e7b4
MySQL and PostgreSQL provide a column type override in order to properly type cast computed columns included in a result set. This should never override the known types of full fledged columns. In addition to messing up computed properties, this would have led to inconsistent behavior between a record created with `new`, and a record created with `last` on the mysql adapter in the following cases: - `tinyint(1)` with `emulate_booleans` set to `false` - `text`, `string`, `binary`, and `decimal` columns |
||
---|---|---|
.. | ||
active_schema_test.rb | ||
case_sensitivity_test.rb | ||
connection_test.rb | ||
consistency_test.rb | ||
enum_test.rb | ||
mysql_adapter_test.rb | ||
quoting_test.rb | ||
reserved_word_test.rb | ||
schema_test.rb | ||
sp_test.rb | ||
sql_types_test.rb | ||
statement_pool_test.rb |