aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/column.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix for time type columns with invalid timeAdam Meehan2012-09-051-1/+7
| | | | | | The string_to_dummy_time method was blindly parsing the dummy time string with Date._parse which returns a hash for the date part regardless of whether the time part is an invalid time string.
* Fix occasional microsecond conversion inaccuracyAri Pollak2012-08-151-2/+2
| | | | | | | | | ActiveRecord::ConnectionAdapters::Column#microseconds did an unnecessary conversion to from Rational to float when calculating the integer number of microseconds. Some terminating decimal numbers in base10 are repeating decimal numbers in base2 (the format of float), and occasionally this causes a rounding error. Patch & explanation originally from Logan Bowers.
* load active_support/deprecation in active_support/railsXavier Noria2012-08-021-1/+0
|
* Merge pull request #6192 from ↵Aaron Patterson2012-05-161-0/+1
|\ | | | | | | | | danmcclain/add_inet_and_cidr_types_to_postgresql_adapter Add support for macaddr, inet, and cidr types to PostgreSQL adapter
| * Converts inet and cidr columns to NetAddr::CIDRDan Seaver2012-05-071-0/+1
| |
* | Prevent creating valid time-like objects from blank string from dbEgor Lynko2012-05-051-3/+3
|/ | | | Issue #6045
* Don't type cast values that don't respond to to_i to 1James Sanders & Jason Noble2012-04-301-1/+1
|
* Deprecate Column#type_cast_codeCarlos Antonio da Silva2012-03-291-0/+4
|
* PG column consults oid types when typecastingAaron Patterson2012-02-101-1/+4
|
* string_to_hstore / hstore_to_string, serializingJoel2012-02-081-2/+2
|
* delegate attribute typecasting to the columnAaron Patterson2012-02-061-0/+15
|
* on and ON are type casted to a true boolean columnSantiago Pastorino2012-01-111-2/+2
|
* PostgreSQL hstore types are automatically deserialized from the database.Aaron Patterson2011-12-201-0/+2
|
* handle not only strings in date type castSergey Nartimov2011-12-191-7/+11
|
* Add missing require 'set'Daniel Azuma2011-06-201-0/+2
|
* Year 0 should fall to nil only if month and day are also 0Kirill Radzikhovskyy2011-05-171-1/+1
|
* refactor a bunch of return / if to a case / whenAaron Patterson2011-02-031-22/+22
|
* moving AR::ConnectionAdapters::Column to its own fileAaron Patterson2011-02-011-0/+268