aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/type
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-135-7/+0
* Fix force equality checking not to break the serialized attribute with ArrayRyuta Kamizono2018-06-061-0/+4
* Partly revert 1e526788e6b1d3f42f4d8fdca20e588d42838c80bogdanvlviv2018-02-171-1/+3
* Rails 6 requires Ruby 2.3+Jeremy Daer2018-02-171-11/+2
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-1912-0/+24
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-0212-12/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-0112-0/+12
* Consolidate database specific JSON types to `Type::Json`Ryuta Kamizono2017-05-302-37/+28
* Deserialize a raw value from the database in `changed_in_place?` for `Abstrac...Ryuta Kamizono2017-05-301-0/+4
* Merge pull request #28017 from mtsmfm/suppress-dep-warnMatthew Draper2017-03-131-0/+2
|\
| * Suppress deprecation warning `implementing to_yaml is deprecated`Fumiaki MATSUSHIMA2017-02-151-0/+2
* | Merge pull request #25296 from kamipo/use_inspect_for_type_cast_for_schemaRafael França2017-02-281-0/+4
|\ \ | |/ |/|
| * Use `inspect` in `type_cast_for_schema` for date/time and decimal valuesRyuta Kamizono2016-12-111-0/+4
* | Indicate action that failed in YamlColumnKir Shatrov2017-02-051-1/+1
* | Describe what we are protectingAkira Matsuda2016-12-231-0/+4
|/
* Merge pull request #26696 from iainbeeston/only-ruby-types-in-activemodelSean Griffin2016-12-083-0/+33
|\
| * Moved database-specific ActiveModel types into ActiveRecordIain Beeston2016-10-143-0/+33
* | 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