aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/number_helper.rb
Commit message (Expand)AuthorAgeFilesLines
* Correct human file size examples [ci skip]Alexander Graul2019-05-201-1/+1
* Missing require "active_support/dependencies/autoload"Akira Matsuda2018-10-201-0/+2
* Add missing documentation options to number_to_currency [ci skip]emaxi2018-07-111-0/+5
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* number_to_rounded_converter: extract rounding logicMichael Hoy2017-03-161-0/+1
* Remove redundant right parentheses in number_helper [ci skip]kenta-s2017-01-311-1/+1
* Fix grammar 'an hyphen' -> 'a hyphen' [ci skip]kenta-s2017-01-251-1/+1
* Add missing `+` around a some literals.bogdanvlviv2016-10-271-2/+2
* `number_to_phone` formats number with regexpPan GaoYong2016-04-021-1/+8
* Show correct return types for examples [ci skip]Gert Goet2016-02-201-59/+59
* Merge pull request #22759 from akshay-vishnoi/human-size-helperEileen M. Uchitelle2015-12-271-0/+2
|\
| * Add support for Petabyte and Exabyte in number to human sizeAkshay Vishnoi2015-12-221-0/+2
* | Add caveat to number_to_currency docs [ci skip]Derek Prior2015-12-231-0/+8
|/
* Fixed `ActiveSupport::NumberHelper` Outputs [ci skip]amitkumarsuroliya2015-10-111-2/+2
* Correcting output of `number_to_percentage` example in `number_helper` [ci skip]amitkumarsuroliya2015-09-221-1/+1
* Tiny documentation improvements [ci skip]Robin Dupret2015-08-281-5/+6
* - Extracted `DELIMITED_REGEX` to `delimited_regex` method and made use of us...Vipul A M2015-08-281-0/+5
* Deprecate the :prefix option of `number_to_human_size`Jean Boussier2015-08-101-2/+0
* Fix spelling [ci skip]Yu Haidong2015-03-041-8/+8
* Merge pull request #12067 from jackxxu/keep_precisionRafael Mendonça França2015-02-061-2/+4
|\
| * Enable number_to_percentage to keep the number's precision by allowing :preci...Jack Xu2013-08-281-16/+22
* | Fix doc markup for `NumberHelper` [ci skip]Ryunosuke SATO2014-10-291-5/+5
* | [ci skip] Add Docs for strip_insignificant_zeros option in number helpersAkshay Vishnoi2014-06-101-8/+7
* | [ci skip] Correct output and use valid options of number helpersAkshay Vishnoi2014-06-101-2/+2
* | Nodoc missing number helper classes in AS [ci skip]Carlos Antonio da Silva2013-12-111-2/+0
* | Make execute priave APIRafael Mendonça França2013-12-021-7/+7
* | Make load of NumberHelper thread safeRafael Mendonça França2013-12-021-7/+11
* | Merge pull request #10996 from mattdbridges/number-helper-refactorRafael Mendonça França2013-12-021-306/+15
|\ \
| * | Extract ActiveSupport::NumberHelper methods to classesMatt Bridges2013-07-011-308/+15
* | | Minor Refactoring to `NumberHelper#number_to_human`Vipul A M2013-10-141-4/+2
* | | Fix typo in number_to_human docs: you -> yourMac Martine2013-09-241-1/+1
| |/ |/|
* | Fix examples of number_to_percentageRafael Mendonça França2013-07-181-8/+8
|/
* refactor number helperVipul A M2013-04-251-2/+3
* Address edge case for number_to_human with units option.hoffm2013-02-221-1/+1
* update some AS code examples to 1.9 hash syntax [ci skip]Francesco Rodriguez2012-09-121-10/+10
* Ensure I18n format values always have precedence over defaultsCarlos Antonio da Silva2012-08-111-42/+40
* Fallback to :en locale instead of handling a constant with defaultsCarlos Antonio da Silva2012-08-111-19/+130
* Move constants to the top, remove freezeCarlos Antonio da Silva2012-06-241-5/+5
* Remove some not used variables and improve code a bitCarlos Antonio da Silva2012-06-241-12/+7
* add :nodoc: to AS::NumberHelper private methods [ci skip]Francesco Rodriguez2012-06-051-99/+100
* Review requires from number helperCarlos Antonio da Silva2012-05-281-5/+4
* Fix handling of negative zero in number_to_currencyJared Beck2012-05-281-1/+1
* Moving NumberHelpers from ActionView to ActiveSupportAndrew Mutz2012-05-271-0/+532