aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
Commit message (Expand)AuthorAgeFilesLines
* Avoid redundant `time.getutc` call if it is already utc time objectRyuta Kamizono2019-06-182-5/+5
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-1332-35/+0
* Don't round off subseconds unless necessaryRyuta Kamizono2019-05-281-3/+10
* Merge pull request #36092 from imechemi/update-docGannon McGibbon2019-05-131-0/+7
|\
| * Improve doc for :root option in as_json() [ci skip]Tenzin Chemi2019-05-131-0/+7
* | Fix test case name to fit file nameyuuji.yaginuma2019-05-041-1/+1
* | Recover perf for `pluck` by reverting 9c9c950d02af83742a5f76302d0faa99508f242c.Guo Xiang Tan2019-05-031-0/+5
* | any? should be delegated to the errors listAaron Patterson2019-04-302-1/+12
|/
* Change the deprecation for Enumerating ActiveModel::Errors to Rails 6.1 inste...Abhay Nikam2019-04-251-5/+5
* Merge pull request #32313 from lulalala/model_error_as_objectRafael França2019-04-2414-182/+899
|\
| * Spec for display original raw type in detailslulalala2019-03-311-0/+18
| * Set default array to detailslulalala2019-03-312-1/+15
| * Fix messages[]= does not override valuelulalala2019-03-312-0/+9
| * Freeze DeprecationHandling array and hashlulalala2019-03-311-13/+20
| * Fix equality comparison raising error buglulalala2019-03-312-1/+8
| * Fix speclulalala2019-03-311-1/+1
| * Assert deprecationlulalala2019-03-311-6/+6
| * Split messages and to_hashlulalala2019-03-311-18/+21
| * Raise deprecation for calling `[:f] = 'b'` or `[:f] << 'b'`lulalala2019-03-318-25/+116
| * Add deprecation to slice!lulalala2019-03-312-5/+5
| * Nested attribute error's attribute name to use different key:lulalala2019-03-311-1/+1
| * String override options in #import to convert to symbollulalala2019-03-311-0/+5
| * Allow errors to remove duplicates, and ensure cyclic associations w/ autosave...lulalala2019-03-313-1/+36
| * Add messages_forlulalala2019-03-311-1/+7
| * Add a transitional method `objects`, for accessing the array directly.lulalala2019-03-312-6/+7
| * Backward compatibility for errors.collect/select etc.lulalala2019-03-311-2/+2
| * Fix spec as generate_message is no longer called during validationlulalala2019-03-311-0/+15
| * Add convenience method group_by_attributelulalala2019-03-312-20/+17
| * Change errorslulalala2019-03-314-159/+363
| * Add ActiveModel::Error and NestedErrorlulalala2019-03-315-16/+321
| * Fix misalignment caused by SHA eebb9ddf9ba559a510975c486fe59a4edc9da97dlulalala2019-03-311-2/+2
* | Start Rails 6.1 developmentRafael Mendonça França2019-04-242-150/+3
* | Avoid redundant `attribute_alias?` before `attribute_alias`Ryuta Kamizono2019-04-241-10/+5
* | Merge pull request #36061 from shioyama/update_commentRafael França2019-04-231-2/+3
|\ \
| * | Update comment in attribute_method_matchers_matchingChris Salzberg2019-04-231-2/+3
* | | Add attribute_names to ActiveModel::AttributesDaniel Colson2019-04-222-0/+58
|/ /
* | 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
* | Improve wording of commentsChris Salzberg2019-04-132-8/+8
* | Rename method_missing_target to targetChris Salzberg2019-04-131-10/+10
* | Remove unused method_name from AttributeMethodMatchChris Salzberg2019-04-122-3/+2
* | Rename "method" to "matcher" in map blockChris Salzberg2019-04-121-1/+1
* | PERF: 2x ~ 30x faster dirty trackingRyuta Kamizono2019-04-112-120/+116
* | Refactor `has_secure_password` to extract dedicated attribute moduleRyuta Kamizono2019-04-053-36/+59
* | Merge pull request #35700 from Futurelearn/seb-secure-password-fixRyuta Kamizono2019-04-051-26/+30
|\ \
| * | Reintroduce support for overriding `has_secure_password` attributesSeb Jacobs2019-03-221-26/+30
* | | Output junit format test reportFumiaki MATSUSHIMA2019-04-041-0/+2
| |/ |/|
* | Tweaks CHANGELOGs and docs [ci skip]Ryuta Kamizono2019-03-311-2/+2
* | Merge pull request #35794 from kamipo/type_cast_symbol_falseRyuta Kamizono2019-03-303-1/+30
|\ \
| * | Type cast falsy boolean symbols on boolean attribute as falseRyuta Kamizono2019-03-303-1/+30
| |/