aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/railtie.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/lib/active_model/railtie.rb')
-rw-r--r--activemodel/lib/active_model/railtie.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/railtie.rb b/activemodel/lib/active_model/railtie.rb
index eb7901c7e9..65e20b9791 100644
--- a/activemodel/lib/active_model/railtie.rb
+++ b/activemodel/lib/active_model/railtie.rb
@@ -14,7 +14,7 @@ module ActiveModel
end
initializer "active_model.i18n_customize_full_message" do
- ActiveModel::Errors.i18n_customize_full_message = config.active_model.delete(:i18n_customize_full_message) || false
+ ActiveModel::Error.i18n_customize_full_message = config.active_model.delete(:i18n_customize_full_message) || false
end
end
end