aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/type
Commit message (Expand)AuthorAgeFilesLines
* 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
* Correctly ignore `case_sensitive` for UUID uniqueness validationSean Griffin2014-12-262-0/+8
* Don't treat `nil` as changed in serialized typesSean Griffin2014-12-231-1/+1
* docs, replace ` with + for proper rdoc output. [ci skip]Yves Senn2014-12-231-2/+2
* Fixing numeric attrs when set to same negative valueDaniel Fox2014-12-231-1/+1
* Correctly handle Float -> BigDecimal with unspecified precisionSean Griffin2014-12-221-1/+9
* Fix undesirable RangeError by Type::Integer. Add Type::UnsignedInteger.Ryuta Kamizono2014-12-122-1/+20