diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2019-07-16 14:37:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-16 14:37:38 +0100 |
commit | fdd5894aa985651fb99e0ef1c2d3f3f604b2f659 (patch) | |
tree | 1c60c9baeaf91a58e7f8eced580d8597a5a70ea3 /activemodel/lib/active_model.rb | |
parent | 650c0701507c68625dc9a867cd3bf60ad6c421f8 (diff) | |
parent | d204a09df21ce3578081108936a57707b5ece9b8 (diff) | |
download | rails-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.rb | 1 |
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" |