aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorlulalala <mark@goodlife.tw>2018-04-03 14:48:11 +0800
committerlulalala <mark@goodlife.tw>2019-03-31 22:59:12 +0800
commitbe1585fca07c0823009014c5539e49dc7396524c (patch)
treede75ff5cff70e53400f188516e3a657258b7404e /activemodel
parent582a8e2f9473af9942c00d9c41b6ca109d6ca7d7 (diff)
downloadrails-be1585fca07c0823009014c5539e49dc7396524c.tar.gz
rails-be1585fca07c0823009014c5539e49dc7396524c.tar.bz2
rails-be1585fca07c0823009014c5539e49dc7396524c.zip
Nested attribute error's attribute name to use different key:
To keep the same as SHA dcafe995bfe51e53dd04607956be9b54073e9cb6
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/lib/active_model/nested_error.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/nested_error.rb b/activemodel/lib/active_model/nested_error.rb
index b01447ac75..93348c7771 100644
--- a/activemodel/lib/active_model/nested_error.rb
+++ b/activemodel/lib/active_model/nested_error.rb
@@ -28,6 +28,6 @@ module ActiveModel
attr_reader :inner_error
extend Forwardable
- def_delegators :@inner_error, :full_message, :message
+ def_delegators :@inner_error, :message
end
end