| Commit message (Expand) | Author | Age | Files | Lines |
* | Switch to use `class_attribute`: | Edouard CHIN | 2019-07-16 | 1 | -0/+13 |
* | Move the `ActiveModel:Errors#full_message` method to the `Error` class: | Edouard CHIN | 2019-07-16 | 3 | -46/+67 |
* | Merge pull request #36654 from Edouard-chin/ec-errors-delete | Rafael França | 2019-07-15 | 1 | -0/+6 |
|\ |
|
| * | Returns `nil` when `AM::Errors#delete` doesn't delete anything: | Edouard CHIN | 2019-07-11 | 1 | -0/+6 |
* | | Fix `AM::Errors.added?` trying to generate a message: | Edouard CHIN | 2019-07-10 | 1 | -0/+22 |
|/ |
|
* | Enable `Layout/EmptyLinesAroundAccessModifier` cop | Ryuta Kamizono | 2019-06-13 | 4 | -4/+0 |
* | Fix test case name to fit file name | yuuji.yaginuma | 2019-05-04 | 1 | -1/+1 |
* | any? should be delegated to the errors list | Aaron Patterson | 2019-04-30 | 1 | -0/+11 |
* | Merge pull request #32313 from lulalala/model_error_as_object | Rafael França | 2019-04-24 | 10 | -64/+544 |
|\ |
|
| * | Spec for display original raw type in details | lulalala | 2019-03-31 | 1 | -0/+18 |
| * | Set default array to details | lulalala | 2019-03-31 | 1 | -0/+6 |
| * | Fix messages[]= does not override value | lulalala | 2019-03-31 | 1 | -0/+8 |
| * | Fix equality comparison raising error bug | lulalala | 2019-03-31 | 1 | -0/+7 |
| * | Assert deprecation | lulalala | 2019-03-31 | 1 | -6/+6 |
| * | Raise deprecation for calling `[:f] = 'b'` or `[:f] << 'b'` | lulalala | 2019-03-31 | 7 | -21/+70 |
| * | Add deprecation to slice! | lulalala | 2019-03-31 | 1 | -5/+3 |
| * | Allow errors to remove duplicates, and ensure cyclic associations w/ autosave... | lulalala | 2019-03-31 | 1 | -0/+20 |
| * | Add a transitional method `objects`, for accessing the array directly. | lulalala | 2019-03-31 | 1 | -6/+6 |
| * | Fix spec as generate_message is no longer called during validation | lulalala | 2019-03-31 | 1 | -0/+15 |
| * | Add convenience method group_by_attribute | lulalala | 2019-03-31 | 1 | -0/+8 |
| * | Change errors | lulalala | 2019-03-31 | 2 | -50/+173 |
| * | Add ActiveModel::Error and NestedError | lulalala | 2019-03-31 | 2 | -0/+228 |
| * | Fix misalignment caused by SHA eebb9ddf9ba559a510975c486fe59a4edc9da97d | lulalala | 2019-03-31 | 1 | -2/+2 |
* | | Add attribute_names to ActiveModel::Attributes | Daniel Colson | 2019-04-22 | 1 | -0/+14 |
* | | Ensure acceptance validator is not applied more than once to Person | Chris Salzberg | 2019-04-14 | 1 | -46/+52 |
* | | Ensure multiple anonymous modules are not included into Topic in tests | Chris Salzberg | 2019-04-14 | 1 | -18/+32 |
* | | Remove unused method_name from AttributeMethodMatch | Chris Salzberg | 2019-04-12 | 1 | -1/+0 |
* | | Refactor `has_secure_password` to extract dedicated attribute module | Ryuta Kamizono | 2019-04-05 | 2 | -0/+21 |
* | | Output junit format test report | Fumiaki MATSUSHIMA | 2019-04-04 | 1 | -0/+2 |
|/ |
|
* | Merge pull request #35794 from kamipo/type_cast_symbol_false | Ryuta Kamizono | 2019-03-30 | 1 | -0/+14 |
|\ |
|
| * | Type cast falsy boolean symbols on boolean attribute as false | Ryuta Kamizono | 2019-03-30 | 1 | -0/+14 |
* | | Fixed the test description for i18n-customize-full-message after rename in #3... | Abhay Nikam | 2019-03-30 | 1 | -3/+3 |
* | | Rename `i18n_full_message` config option to `i18n_customize_full_message` | Prathamesh Sonpatki | 2019-03-29 | 2 | -18/+18 |
|/ |
|
* | Replace “can not” with “cannot”. | Samantha John | 2019-03-06 | 1 | -1/+1 |
* | activemodel typo fix. | alkesh26 | 2019-02-25 | 1 | -3/+3 |
* | Merge pull request #35336 from kamipo/dont_allow_non_numeric_string_matches_t... | Ryuta Kamizono | 2019-02-21 | 1 | -0/+8 |
|\ |
|
| * | Don't allow `where` with non numeric string matches to 0 values | Ryuta Kamizono | 2019-02-20 | 1 | -0/+8 |
* | | Revert "Speed up integer casting from DB" | Ryuta Kamizono | 2019-02-21 | 1 | -1/+1 |
|/ |
|
* | Merge pull request #29651 from Sayanc93/return-correct-date | Ryuta Kamizono | 2019-02-18 | 1 | -0/+11 |
|\ |
|
| * | Return correct date in ActiveModel for time to date conversions | Sayan Chakraborty | 2017-12-17 | 1 | -0/+11 |
* | | Fix type cast with values hash for Date type | Ryuta Kamizono | 2019-02-18 | 1 | -1/+4 |
* | | Add edge test cases for integer and string types | Ryuta Kamizono | 2019-02-17 | 2 | -0/+15 |
* | | activemodel typo fixes. | alkesh26 | 2019-01-31 | 1 | -1/+1 |
* | | Fix NumericalityValidator on object responding to `to_f`: | Edouard CHIN | 2019-01-22 | 1 | -0/+13 |
* | | Fix year value when casting a multiparameter time hash | Andrew White | 2019-01-21 | 1 | -0/+1 |
* | | Add `ActiveModel::Errors#of_kind?` | bogdanvlviv | 2019-01-04 | 1 | -1/+79 |
* | | Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin block | Ryuta Kamizono | 2018-12-21 | 4 | -106/+84 |
* | | Module#{define_method,alias_method,undef_method,remove_method} become public ... | Ryuta Kamizono | 2018-12-21 | 2 | -6/+6 |
* | | Fix numericality equality validation on floats | Gannon McGibbon | 2018-12-12 | 1 | -0/+7 |
* | | Add slice! method to ActiveModel::Errors | Daniel Lopez Prat | 2018-11-21 | 1 | -0/+24 |