Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 18, 2013
  1. @rafaelfranca

    Fix examples of number_to_percentage

    rafaelfranca authored
    [ci skip]
Commits on Apr 24, 2013
  1. @vipulnsward

    refactor number helper

    vipulnsward authored
Commits on Feb 22, 2013
  1. @hoffm

    Address edge case for number_to_human with units option.

    hoffm authored
    ActiveSupport::NumberHelper#number_to_human now returns the number unaltered when
    the units hash does not contain the needed key, e.g. when the number provided is less
    than the largest key provided.
Commits on Sep 12, 2012
  1. update some AS code examples to 1.9 hash syntax [ci skip]

    Francesco Rodriguez authored
Commits on Aug 11, 2012
  1. @carlosantoniodasilva

    Ensure I18n format values always have precedence over defaults

    carlosantoniodasilva authored
    Always merge I18n format values, namespaced or not, over the default
    ones, to ensure I18n format defaults will have precedence over our
    namespaced values.
    
    Precedence should happen like this:
    
        default :format
        default :namespace :format
        i18n    :format
        i18n    :namespace :format
    
    Because we cannot allow our namespaced default to override a I18n
    :format config - ie precision in I18n :format should always have higher
    precedence than our default precision for a particular :namespace.
    
    Also simplify default format options logic.
  2. @carlosantoniodasilva

    Fallback to :en locale instead of handling a constant with defaults

    carlosantoniodasilva authored
    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.
Commits on Jun 24, 2012
  1. @carlosantoniodasilva
  2. @carlosantoniodasilva
Commits on Jun 5, 2012
  1. add :nodoc: to AS::NumberHelper private methods [ci skip]

    Francesco Rodriguez authored
Commits on May 29, 2012
  1. @carlosantoniodasilva

    Review requires from number helper

    carlosantoniodasilva authored
    Some of these requires are now only necessary in
    ActiveSupport::NumberHelper. Add hash/keys require due to symbolize_keys
    usage in number helpers. Also remove some whitespaces.
    
    Closes #6414
Commits on May 28, 2012
  1. @jaredbeck
  2. @amutz
Something went wrong with that request. Please try again.