aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases
Commit message (Expand)AuthorAgeFilesLines
* Modify behaviour of `AM::Errors#to_h`:Edouard CHIN2019-07-231-2/+3
* Deprecated `AM::Errors#to_h`:Edouard CHIN2019-07-231-0/+10
* Fix deprecation on `AM::Errors` when each is called indirectly:Edouard CHIN2019-07-201-0/+8
* Switch to use `class_attribute`:Edouard CHIN2019-07-161-0/+13
* Move the `ActiveModel:Errors#full_message` method to the `Error` class:Edouard CHIN2019-07-163-46/+67
* Merge pull request #36654 from Edouard-chin/ec-errors-deleteRafael França2019-07-151-0/+6
|\
| * Returns `nil` when `AM::Errors#delete` doesn't delete anything:Edouard CHIN2019-07-111-0/+6
* | Fix `AM::Errors.added?` trying to generate a message:Edouard CHIN2019-07-101-0/+22
|/
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-134-4/+0
* Fix test case name to fit file nameyuuji.yaginuma2019-05-041-1/+1
* any? should be delegated to the errors listAaron Patterson2019-04-301-0/+11
* Merge pull request #32313 from lulalala/model_error_as_objectRafael França2019-04-247-56/+535
|\
| * Spec for display original raw type in detailslulalala2019-03-311-0/+18
| * Set default array to detailslulalala2019-03-311-0/+6
| * Fix messages[]= does not override valuelulalala2019-03-311-0/+8
| * Fix equality comparison raising error buglulalala2019-03-311-0/+7
| * Assert deprecationlulalala2019-03-311-6/+6
| * Raise deprecation for calling `[:f] = 'b'` or `[:f] << 'b'`lulalala2019-03-314-13/+61
| * Add deprecation to slice!lulalala2019-03-311-5/+3
| * Allow errors to remove duplicates, and ensure cyclic associations w/ autosave...lulalala2019-03-311-0/+20
| * Add a transitional method `objects`, for accessing the array directly.lulalala2019-03-311-6/+6
| * Fix spec as generate_message is no longer called during validationlulalala2019-03-311-0/+15
| * Add convenience method group_by_attributelulalala2019-03-311-0/+8
| * Change errorslulalala2019-03-312-50/+173
| * Add ActiveModel::Error and NestedErrorlulalala2019-03-312-0/+228
| * Fix misalignment caused by SHA eebb9ddf9ba559a510975c486fe59a4edc9da97dlulalala2019-03-311-2/+2
* | Add attribute_names to ActiveModel::AttributesDaniel Colson2019-04-221-0/+14
* | Ensure acceptance validator is not applied more than once to PersonChris Salzberg2019-04-141-46/+52
* | Ensure multiple anonymous modules are not included into Topic in testsChris Salzberg2019-04-141-18/+32
* | Remove unused method_name from AttributeMethodMatchChris Salzberg2019-04-121-1/+0
* | Refactor `has_secure_password` to extract dedicated attribute moduleRyuta Kamizono2019-04-051-0/+14
* | Output junit format test reportFumiaki MATSUSHIMA2019-04-041-0/+2
|/
* Merge pull request #35794 from kamipo/type_cast_symbol_falseRyuta Kamizono2019-03-301-0/+14
|\
| * Type cast falsy boolean symbols on boolean attribute as falseRyuta Kamizono2019-03-301-0/+14
* | Fixed the test description for i18n-customize-full-message after rename in #3...Abhay Nikam2019-03-301-3/+3
* | Rename `i18n_full_message` config option to `i18n_customize_full_message`Prathamesh Sonpatki2019-03-292-18/+18
|/
* Replace “can not” with “cannot”.Samantha John2019-03-061-1/+1
* activemodel typo fix.alkesh262019-02-251-3/+3
* 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
* | activemodel typo fixes.alkesh262019-01-311-1/+1
* | Fix NumericalityValidator on object responding to `to_f`:Edouard CHIN2019-01-221-0/+13
* | Fix year value when casting a multiparameter time hashAndrew White2019-01-211-0/+1
* | Add `ActiveModel::Errors#of_kind?`bogdanvlviv2019-01-041-1/+79
* | Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-214-106/+84