aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/type
Commit message (Expand)AuthorAgeFilesLines
* Revert "No such class since 8d2866bb80fbe81acb04f5b0c44f152f571fb29f"Rafael Mendonça França2019-08-0213-13/+13
* No such class since 8d2866bb80fbe81acb04f5b0c44f152f571fb29fAkira Matsuda2019-08-0213-13/+13
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* Type cast falsy boolean symbols on boolean attribute as falseRyuta Kamizono2019-03-301-0/+14
* Merge pull request #35336 from kamipo/dont_allow_non_numeric_string_matches_t...Ryuta Kamizono2019-02-211-0/+8
|\
| * Don't allow `where` with non numeric string matches to 0 valuesRyuta Kamizono2019-02-201-0/+8
* | Revert "Speed up integer casting from DB"Ryuta Kamizono2019-02-211-1/+1
|/
* Merge pull request #29651 from Sayanc93/return-correct-dateRyuta Kamizono2019-02-181-0/+11
|\
| * Return correct date in ActiveModel for time to date conversionsSayan Chakraborty2017-12-171-0/+11
* | Fix type cast with values hash for Date typeRyuta Kamizono2019-02-181-1/+4
* | Add edge test cases for integer and string typesRyuta Kamizono2019-02-172-0/+15
* | Fix year value when casting a multiparameter time hashAndrew White2019-01-211-0/+1
* | Add new exception message to datetime from hash castwilddima2018-10-211-0/+11
* | Add `Style/RedundantFreeze` to remove redudant `.freeze`Yasuo Honda2018-09-291-1/+1
* | Enable `Performance/UnfreezeString` copyuuji.yaginuma2018-09-231-1/+1
* | Fix non_numeric_string?Yoshiyuki Kinjo2018-09-073-3/+13
* | Fix user_input_in_time_zone to coerce non valid string into nilAnnie-Claude Côté2018-05-161-0/+15
* | Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-2/+2
|/
* Suppress `warning: BigDecimal.new is deprecated` in Active ModelYasuo Honda2017-12-141-8/+8
* Add missing autoload `Type` (#31123)Ryuta Kamizono2017-11-1113-13/+0
* Use frozen string literal in activemodel/Kir Shatrov2017-07-1613-0/+26
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-0213-13/+0
* Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-0213-0/+13
|\
| * Enforce frozen string in RubocopKir Shatrov2017-07-0113-0/+13
* | Make ActiveModel frozen string literal friendly.Pat Allan2017-06-201-1/+1
|/
* Don't freeze input stringsMatthew Draper2017-04-121-2/+11
* Fix invalid string Decimal casting under ruby 2.4John Hawthorn2017-02-243-0/+17
* "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-254-12/+12
* Merge pull request #26696 from iainbeeston/only-ruby-types-in-activemodelSean Griffin2016-12-081-18/+0
|\
| * Moved database-specific ActiveModel types into ActiveRecordIain Beeston2016-10-141-18/+0
* | Merge pull request #26935 from y-yagi/fix_ruby_warningAndrew White2016-10-311-1/+1
|\ \
| * | remove warning from big integer testyuuji.yaginuma2016-10-311-1/+1
* | | Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-2/+2
|/ /
* / Refactored ActiveModel::Type tests into their own filesIain Beeston2016-10-1512-43/+266
|/
* remove redundant curlies from hash argumentsXavier Noria2016-08-061-1/+1
* applies new string literal convention in activemodel/testXavier Noria2016-08-062-12/+12
* Check for the right exceptionRafael Mendonça França2016-05-031-1/+1
* Change RangeError to a more specific ActiveModel::RangeErrorChristian Blais2016-05-031-6/+6
* Apply scale before precision when coercing floats to decimalSean Griffin2016-03-241-0/+7
* Add an immutable string type to opt out of string dupingSean Griffin2015-10-151-0/+7
* Move the appropriate type tests to the Active Model suiteSean Griffin2015-09-214-0/+203
* Simplify the implementation of Active Model's type registrySean Griffin2015-09-211-0/+39