aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/type
Commit message (Expand)AuthorAgeFilesLines
* edit pass over all warningsXavier Noria2014-10-281-3/+7
* Fix typo in error message when non-boolean value is assigned to boolean columnPrathamesh Sonpatki2014-10-261-1/+1
* Add a deprecation warning for abiguous boolean valuesSean Griffin2014-10-161-1/+8
* Allow YAML serialization when using TZ aware attributesSean Griffin2014-09-172-3/+17
* Correctly detect mutation on serialized columns mapping to binarySean Griffin2014-08-272-0/+15
* Implement `==` on `Type::Value` and `Attribute`Sean Griffin2014-08-151-0/+7
* [ci skip] fix spelling of overrideAkshay Vishnoi2014-08-131-2/+2
* Merge pull request #16333 from joker1007/fix_decimal_cast_from_float_with_lar...Yves Senn2014-08-041-4/+17
|\
| * Fix type casting to Decimal from Float with ...joker10072014-08-011-4/+17
* | Rename method for clarityCarlos Antonio da Silva2014-07-311-3/+3
|/
* Prefer if/else for this caseRafael Mendonça França2014-07-171-3/+2
* Fix decimal_test module and add new test for object responding to to_dMariano Valles2014-07-161-1/+0
* Fix case statement to use ::Numeric and ::StringMariano Valles2014-07-161-1/+1
* Change class evaluation for Rationals in cast_valueMariano Valles2014-07-161-4/+6
* Fix rational to decimal on type_cast_from_userMariano Valles2014-07-161-1/+3
* Remove the `text?` predicate from the type objectsSean Griffin2014-07-062-8/+0
* active_record: Type cast booleans and durations for string columns.Dylan Thacker-Smith2014-07-062-2/+4
* Remove unneccessary special case for money in quotingSean Griffin2014-07-031-4/+4
* Merge pull request #15788 from sgrif/sg-mutable-stringsRafael Mendonça França2014-06-271-1/+16
|\
| * Detect in-place modifications on StringsSean Griffin2014-06-171-1/+16
* | Doc pass for `Type::Value` [ci skip]Sean Griffin2014-06-242-23/+43
* | Always assume strings with non-numeric characters change numeric typesSean Griffin2014-06-241-3/+3
* | add missing `:nodoc:` for recent refactorings. [ci skip]Yves Senn2014-06-242-2/+2
* | Small typoAnton Cherepanov2014-06-231-1/+1
* | Further simplify `changed?` conditional for numeric typesSean Griffin2014-06-191-12/+6
|/
* Move array database type casting to the Array typeSean Griffin2014-06-171-0/+10
* Remove `serialized?` from the type interfaceSean Griffin2014-06-132-8/+0
* Detect in-place changes on mutable AR attributesSean Griffin2014-06-133-4/+22
* Keep the types of virtual columns after yaml serializationSean Griffin2014-06-101-0/+11
* Rename `type_cast` to `type_cast_from_database`Sean Griffin2014-06-092-7/+10
* Make `_before_type_cast` actually be before type castSean Griffin2014-06-093-8/+19
* Do not type cast twice on attribute assignmentSean Griffin2014-06-073-9/+5
* Removed unused `klass` definitions from typesSean Griffin2014-06-066-21/+0
* Don't mess with `_before_type_cast` for numeric typesSean Griffin2014-06-061-7/+8
* serialized Type should delegate `type_cast_for_write` to underlying TypeYves Senn2014-06-061-1/+1
* Merge pull request #15486 from sgrif/sg-binary-quotingMatthew Draper2014-06-041-0/+18
|\
| * Refactor quoting of binary data to not be based on the column typeSean Griffin2014-06-031-0/+18
* | Refactor determination of whether the field has changedSean Griffin2014-06-033-0/+36
|/
* docs, fix typo [ci skip]Yves Senn2014-06-021-2/+2
* Remove most code related to serialized propertiesSean Griffin2014-06-012-25/+11
* refactor, introduce `Type#type_cast_for_schema` to cast for schema.rbYves Senn2014-05-304-0/+16
* Move `type_cast_for_write` behavior over to the serialized type objectSean Griffin2014-05-292-8/+38
* Refactor serialized types to be partially defined as custom propertiesSean Griffin2014-05-292-0/+32
* Move types to the top level `ActiveRecord` namespaceSean Griffin2014-05-2716-0/+439