aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2019-07-16 14:37:38 +0100
committerGitHub <noreply@github.com>2019-07-16 14:37:38 +0100
commitfdd5894aa985651fb99e0ef1c2d3f3f604b2f659 (patch)
tree1c60c9baeaf91a58e7f8eced580d8597a5a70ea3 /activemodel/lib/active_model.rb
parent650c0701507c68625dc9a867cd3bf60ad6c421f8 (diff)
parentd204a09df21ce3578081108936a57707b5ece9b8 (diff)
downloadrails-fdd5894aa985651fb99e0ef1c2d3f3f604b2f659.tar.gz
rails-fdd5894aa985651fb99e0ef1c2d3f3f604b2f659.tar.bz2
rails-fdd5894aa985651fb99e0ef1c2d3f3f604b2f659.zip
Merge pull request #36639 from Edouard-chin/ec-am-errors-fullmessages
Move the `ActiveModel:Errors#full_message` method to the `Error` class:
Diffstat (limited to 'activemodel/lib/active_model.rb')
-rw-r--r--activemodel/lib/active_model.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activemodel/lib/active_model.rb b/activemodel/lib/active_model.rb
index c9140dc582..756473e38d 100644
--- a/activemodel/lib/active_model.rb
+++ b/activemodel/lib/active_model.rb
@@ -53,6 +53,7 @@ module ActiveModel
eager_autoload do
autoload :Errors
+ autoload :Error
autoload :RangeError, "active_model/errors"
autoload :StrictValidationFailed, "active_model/errors"
autoload :UnknownAttributeError, "active_model/errors"