diff options
author | José Valim <jose.valim@gmail.com> | 2010-01-30 13:07:48 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-30 13:12:12 +0100 |
commit | d6e2f5013cdc0aa830d167a84582f48dc636dc81 (patch) | |
tree | ff2f5726ad2a452a768fc551571ed3e09a80d1e6 /activerecord/lib/active_record/railtie.rb | |
parent | 431fc3c81735f8873e52f4a1942a5ac761d18cc9 (diff) | |
download | rails-d6e2f5013cdc0aa830d167a84582f48dc636dc81.tar.gz rails-d6e2f5013cdc0aa830d167a84582f48dc636dc81.tar.bz2 rails-d6e2f5013cdc0aa830d167a84582f48dc636dc81.zip |
Drop AR I18n deprecation and simple use errors.messages as fallback.
Diffstat (limited to 'activerecord/lib/active_record/railtie.rb')
-rw-r--r-- | activerecord/lib/active_record/railtie.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/activerecord/lib/active_record/railtie.rb b/activerecord/lib/active_record/railtie.rb index 30da494d57..2b204043b4 100644 --- a/activerecord/lib/active_record/railtie.rb +++ b/activerecord/lib/active_record/railtie.rb @@ -77,17 +77,5 @@ module ActiveRecord end end end - - initializer "active_record.i18n_deprecation" do - require 'active_support/i18n' - - begin - I18n.t(:"activerecord.errors", :raise => true) - warn "[DEPRECATION] \"activerecord.errors\" namespace is deprecated in I18n " << - "yml files, please use just \"errors\" instead." - rescue Exception => e - # No message then. - end - end end end |