aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/form_options_helper.rb
diff options
context:
space:
mode:
authorSven Fuchs <svenfuchs@artweb-design.de>2008-06-20 09:13:20 +0200
committerSven Fuchs <svenfuchs@artweb-design.de>2008-06-20 09:13:20 +0200
commit585c8c17c303fc46fcf014a644a541eae6cb5ffd (patch)
treeb53e4531f2374e56c10e69a4127054573ad6a17b /actionpack/lib/action_view/helpers/form_options_helper.rb
parentb09c6e7444cf05f986e601bcc22cf17ede7b63bd (diff)
downloadrails-585c8c17c303fc46fcf014a644a541eae6cb5ffd.tar.gz
rails-585c8c17c303fc46fcf014a644a541eae6cb5ffd.tar.bz2
rails-585c8c17c303fc46fcf014a644a541eae6cb5ffd.zip
rename Backend::Simple#add_translations to set_translations
because it overwrites existing translations
Diffstat (limited to 'actionpack/lib/action_view/helpers/form_options_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/form_options_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/form_options_helper.rb b/actionpack/lib/action_view/helpers/form_options_helper.rb
index c782c0a816..a6b9e65a77 100644
--- a/actionpack/lib/action_view/helpers/form_options_helper.rb
+++ b/actionpack/lib/action_view/helpers/form_options_helper.rb
@@ -349,7 +349,7 @@ module ActionView
end
# All the countries included in the country_options output.
- # only included for backwards compatibility, please use the I18n interface
+ # deprecated. please use :'countries.names'.t directly
COUNTRIES = :'countries.names'.t 'en-US' unless const_defined?("COUNTRIES")
end