aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/type
Commit message (Expand)AuthorAgeFilesLines
* Revert "Made ActiveRecord consistently use ActiveRecord::Type (not"Sean Griffin2016-10-234-14/+4
* Made ActiveRecord consistently use ActiveRecord::Type (notIain Beeston2016-10-034-4/+14
* Serialize JSON attribute value nil as SQL NULL, not JSON 'null'Trung Duc Tran2016-09-231-1/+5
* Add `Type.default_value` and use it everywhere for internalRyuta Kamizono2016-08-261-5/+1
* normalizes indentation and whitespace across the projectXavier Noria2016-08-065-64/+63
* applies new string literal convention in activerecord/libXavier Noria2016-08-062-2/+2
* Fix false positive mutation detection when JSON is used with serializeSean Griffin2016-05-121-1/+7
* Add `quoted_time` for truncating the date part of a time column valueRyuta Kamizono2016-04-141-0/+12
* Properly serialize all JSON primitives in the AR JSON typeSean Griffin2016-04-131-5/+1
* Require only necessary concurrent-ruby classes.Jerry D'Antonio2015-11-041-1/+1
* Clean up the implementation of AR::DirtySean Griffin2015-09-241-0/+6
* Simplify the implementation of Active Model's type registrySean Griffin2015-09-211-6/+11
* Various stylistic nitpicksSean Griffin2015-09-215-2/+24
* `TypeMap` and `HashLookupTypeMap` shouldn't be in Active ModelSean Griffin2015-09-212-0/+87
* Move ActiveRecord::Type to ActiveModelKir Shatrov2015-09-2125-798/+30
* Replaced `ThreadSafe::Map` with successor `Concurrent::Map`.Jerry D'Antonio2015-09-191-3/+3
* Respect scale of the column in the Decimal typeRafael Mendonça França2015-09-011-1/+3
* JSON is still an adapter specific type.Sean Griffin2015-08-212-31/+33
* Add a native JSON data type support in MySQLRyuta Kamizono2015-08-181-0/+31
* Display decimal defaults as strings to keep precisionJohn Gesimondo2015-06-231-1/+1
* Refactoring `ActiveRecord::Type::Integer` limityui-knk2015-05-181-3/+6
* Reduce memory usage when loading types in PGSean Griffin2015-03-291-2/+8
* Provide a more truthful #inspectMatthew Draper2015-03-231-0/+4
* Make sure to persist a newly-nil serialized valueMatthew Draper2015-03-231-1/+3
* Some documentation edits [ci skip]Robin Dupret2015-03-051-3/+3
* Format the time string according to the precision of the time columnRyuta Kamizono2015-02-202-18/+18
* Rm `Type#type_cast`Sean Griffin2015-02-175-18/+10
* `type_cast_from_user` -> `cast`Sean Griffin2015-02-173-4/+4
* `type_cast_for_database` -> `serialize`Sean Griffin2015-02-178-11/+11
* `Type#type_cast_from_database` -> `Type#deserialize`Sean Griffin2015-02-175-8/+8
* Register adapter specific types with the global type registrySean Griffin2015-02-151-1/+4
* Add a global type registry, used to lookup and register typesSean Griffin2015-02-151-0/+139
* Remove most PG specific type subclassesSean Griffin2015-02-111-1/+7
* Refactor microsecond precision to be database agnosticSean Griffin2015-02-101-14/+11
* Fix rounding problem for PostgreSQL timestamp columnRyuta Kamizono2015-02-081-7/+14
* rm `Type#number?`Sean Griffin2015-02-072-8/+0
* rm `Type#text?`Sean Griffin2015-02-072-8/+0
* Move non-type objects into the `Type::Helpers` namespaceSean Griffin2015-02-0714-97/+106
* rm `ActiveRecord::Type::Decorator`Sean Griffin2015-02-072-25/+0
* Push multi-parameter assignement into the typesSean Griffin2015-02-077-11/+52
* Grammar and RDoc formattingSean Griffin2015-02-061-14/+14
* Docs pass for the attributes APISean Griffin2015-02-061-23/+42
* Move integer range validation to never raise on assignmentSean Griffin2015-01-231-5/+9
* Merge pull request #18543 from henrik/integer_limit_or_defaultYves Senn2015-01-151-2/+6
|\
| * DRY default limit in ActiveRecord::Type::IntegerHenrik Nyh2015-01-151-2/+6
* | Remove incorrect comment in ActiveRecord::Type::ValueHenrik Nyh2015-01-151-2/+1
|/
* Time columns should support time zone aware attributesSean Griffin2015-01-152-0/+17
* Simplify boolean casting logicCarlos Antonio da Silva2015-01-041-3/+1
* Change the behavior of boolean columns to be closer to Ruby's semantics.Rafael Mendonça França2015-01-041-12/+3
* Support datetime values in AR::Type::DateTime#type_cast_for_databasebrainopia2015-01-031-1/+5