aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/type
Commit message (Expand)AuthorAgeFilesLines
* Fix year value when casting a multiparameter time hashAndrew White2019-01-211-0/+22
* Enable `Performance/UnfreezeString` copyuuji.yaginuma2018-09-231-3/+3
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-3/+3
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-196-0/+12
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-026-6/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-016-0/+6
* Moved database-specific ActiveModel types into ActiveRecordIain Beeston2016-10-141-0/+17
* Merge pull request #24571 from raimo/patch-1Sean Griffin2016-10-041-1/+1
|\
| * Print the proper ::Float::INFINITY value when used as a default valueRaimo Tuisku2016-05-231-1/+1
* | normalizes indentation and whitespace across the projectXavier Noria2016-08-061-1/+0
* | modernizes hash syntax in activerecordXavier Noria2016-08-061-1/+1
* | applies new string literal convention in activerecord/testXavier Noria2016-08-063-31/+31
|/
* skipped assertion on datetime seconds precision as it is only valid for newer...Ronak Jangir2015-09-241-0/+1
* Fixed taking precision into count when assigning a value to timestamp attributeBogdan Gusiev2015-09-231-0/+13
* Move the appropriate type tests to the Active Model suiteSean Griffin2015-09-214-187/+0
* Respect scale of the column in the Decimal typeRafael Mendonça França2015-09-011-0/+5
* remove redundant parenthesiskaranarora2015-05-141-1/+1
* `type_cast_from_user` -> `cast`Sean Griffin2015-02-173-28/+28
* `type_cast_for_database` -> `serialize`Sean Griffin2015-02-172-17/+17
* `Type#type_cast_from_database` -> `Type#deserialize`Sean Griffin2015-02-171-1/+1
* Add a global type registry, used to lookup and register typesSean Griffin2015-02-151-0/+133
* Allow a symbol to be passed to `attribute`, in place of a type objectSean Griffin2015-02-061-1/+1
* Move integer range validation to never raise on assignmentSean Griffin2015-01-232-15/+28
* Stop relying on columns in sqlite quoting testsSean Griffin2015-01-011-0/+6
* Fixing numeric attrs when set to same negative valueDaniel Fox2014-12-232-0/+10
* Correctly handle Float -> BigDecimal with unspecified precisionSean Griffin2014-12-221-0/+5
* Remove unused lineRyuta Kamizono2014-12-171-1/+0
* Fix undesirable RangeError by Type::Integer. Add Type::UnsignedInteger.Ryuta Kamizono2014-12-121-0/+18
* Merge pull request #17807 from jvperrin/correct-integer-testRafael Mendonça França2014-11-271-1/+1
|\
| * Correct test description for large integer testJason Perrin2014-11-031-1/+1
* | Reintroduce cache with testsSean Griffin2014-11-191-0/+32
* | Add tests for `TypeMap#fetch` and push up to `TypeMap`Sean Griffin2014-11-191-0/+15
* | That last test was incorrect... ☕Sean Griffin2014-11-191-10/+0
* | Introduce test to demonstrate regression caused by da99a2a2Sean Griffin2014-11-191-0/+10
* | Revert the behavior of booleans in string columns to that of 4.1Sean Griffin2014-11-091-2/+2
|/
* Use the correct values for int max and minSean Griffin2014-10-311-0/+106
* Fix type casting to Decimal from Float with ...joker10072014-08-011-0/+5
* Fix decimal_test module and add new test for object responding to to_dMariano Valles2014-07-161-6/+15
* Fix case statement to use ::Numeric and ::StringMariano Valles2014-07-161-0/+24
* Detect in-place modifications on StringsSean Griffin2014-06-171-0/+36
* Move types to the top level `ActiveRecord` namespaceSean Griffin2014-05-271-0/+130