From ac677fb1e3235920f666a3253be3eea167dc7972 Mon Sep 17 00:00:00 2001 From: Filipe Sabella Date: Thu, 22 Oct 2020 16:45:53 -0300 Subject: [PATCH] Update CHANGELOG --- activemodel/CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/activemodel/CHANGELOG.md b/activemodel/CHANGELOG.md index e0d40a196c..64535f5ce4 100644 --- a/activemodel/CHANGELOG.md +++ b/activemodel/CHANGELOG.md @@ -1,3 +1,11 @@ +* Pass in `base` instead of `base_class` to Error.human_attribute_name + + *Filipe Sabella* + + This is useful in cases where the `human_attribute_name` method depends + on other attributes' values of the class under validation to derive what the + attirbute name should be. + * Deprecate marshalling load from legacy attributes format. *Ryuta Kamizono*