aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/type
Commit message (Expand)AuthorAgeFilesLines
* 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
* Fix out of range error messageRyuta Kamizono2014-11-251-1/+1
* Ensure the type map's cache is thread safeSean Griffin2014-11-241-3/+7
* Reintroduce cache with testsSean Griffin2014-11-192-14/+24
* Add tests for `TypeMap#fetch` and push up to `TypeMap`Sean Griffin2014-11-192-5/+5
* Revert "PERF: optimise type lookup to avoid invoking procs"Sean Griffin2014-11-191-19/+1
* Speed up integer casting from DBSean Griffin2014-11-181-0/+5
* Revert "[PERF] Speed up integer type casting from DB"Godfrey Chan2014-11-171-4/+1
* :nail_care: Put escape clause first, keeps @sgrif happy :grin:Godfrey Chan2014-11-171-1/+2
* [PERF] Speed up integer type casting from DBGodfrey Chan2014-11-171-1/+3
* PERF: optimise type lookup to avoid invoking procsSam2014-11-171-1/+19