rails/rails — pull request #6290 by carlosantoniodasilva (2012-05-12 19:29:26+00:00)
Title: Number helpers defaults

This uses the `:en` locale as default fallback for number helpers, such as `number_with_precision` and brothers. The overall idea is that we should always have fallbacks when using such helpers, instead of letting them raise different errors due to missing arguments. The implementation basically fetches the defaults for :en and merges the translations with the given locale.

After some discussion it seems a good path to use the default `:en` translations that ship with the framework as fallbacks instead of constants, to avoid the duplicated defaults. I'd like some feedback on this, thanks.

Closes #4420, #2802, #2890.