aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG.md
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-06-23 20:05:42 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-08-11 00:20:19 -0300
commita9dccda936cbd3ead6d43997e6c7990f8bd92055 (patch)
treefbc5777e4817deb447bba27d0def3666a8377fd5 /activesupport/CHANGELOG.md
parentb6e00c67647b523e21dd5c8886859d92c0d6c5fb (diff)
downloadrails-a9dccda936cbd3ead6d43997e6c7990f8bd92055.tar.gz
rails-a9dccda936cbd3ead6d43997e6c7990f8bd92055.tar.bz2
rails-a9dccda936cbd3ead6d43997e6c7990f8bd92055.zip
Fallback to :en locale instead of handling a constant with defaults
Action Pack already comes with a default locale fine for :en, that is always loaded. We can just fallback to this locale for defaults, if values for the current locale cannot be found. Closes #4420, #2802, #2890.
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r--activesupport/CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index 8bbf887876..ddd6a8b568 100644
--- a/activesupport/CHANGELOG.md
+++ b/activesupport/CHANGELOG.md
@@ -1,5 +1,10 @@
## Rails 4.0.0 (unreleased) ##
+* Add default values to all `ActiveSupport::NumberHelper` methods, to avoid
+ errors with empty locales or missing values.
+
+ *Carlos Antonio da Silva*
+
* ActiveSupport::JSON::Variable is deprecated. Define your own #as_json and
#encode_json methods for custom JSON string literals.