Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | copy edits [ci skip] | Vijay Dev | 2012-12-04 | 1 | -12/+12 |
| | |||||
* | Cleans documentation from Helpers [ci skip] | Alvaro Pereyra | 2012-12-01 | 1 | -114/+88 |
| | |||||
* | Hash Syntax to 1.9 related changes | AvnerCohen | 2012-10-29 | 1 | -56/+56 |
| | |||||
* | Do not propagate the :raise option to AS number helpers | Carlos Antonio da Silva | 2012-06-24 | 1 | -7/+19 |
| | | | | | ActiveSupport::NumberHelper does not make use of :raise, so there's no need to propagate it down. | ||||
* | Review requires from number helper | Carlos Antonio da Silva | 2012-05-28 | 1 | -4/+1 |
| | | | | | | | | 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 | ||||
* | Parse float value only once in number helpers | Carlos Antonio da Silva | 2012-05-28 | 1 | -11/+11 |
| | | | | | Refactor number helpers output with safety handling to call float parsing only once. Also remove 'erb' require. | ||||
* | Moving NumberHelpers from ActionView to ActiveSupport | Andrew Mutz | 2012-05-27 | 1 | -187/+38 |
| | |||||
* | reverting decoupling of NumberHelper from safe_join and adding tests for ↵ | Andrew Mutz | 2012-05-18 | 1 | -1/+1 |
| | | | | escaping of delimiters and separators | ||||
* | Remove dependency on safe_join from number helpers | Carlos Antonio da Silva | 2012-05-13 | 1 | -1/+1 |
| | | | | Introduced in 0f848dd54911f0e15c5c3aceabf09582cc6eab16. | ||||
* | Fix NumberHelper options wrapping to prevent verbatim blocks being rendered ↵ | Mark J. Titorenko | 2012-05-08 | 1 | -92/+161 |
| | | | | instead of line continuations. While I'm at it, wrap long comment lines consistently. | ||||
* | use safe_join in number helper | Sergey Nartimov | 2012-04-26 | 1 | -1/+1 |
| | |||||
* | fix number_to_human docs [ci skip] | Vijay Dev | 2012-04-26 | 1 | -2/+2 |
| | |||||
* | no need in temporary array in number_to_phone helper | Sergey Nartimov | 2012-04-09 | 1 | -2/+2 |
| | |||||
* | Updated/changed useless tr/gsubs | Jurriaan Pruis | 2012-04-03 | 1 | -2/+2 |
| | |||||
* | change number_with_precision to not return negative zeros | Tim McEwan | 2012-03-27 | 1 | -0/+1 |
| | |||||
* | Do not mutate given options hash in number helpers | Carlos Antonio da Silva | 2012-01-25 | 1 | -9/+7 |
| | |||||
* | Refactor percentage helper | Carlos Antonio da Silva | 2012-01-25 | 1 | -1/+2 |
| | |||||
* | Refactor float number parsing | Carlos Antonio da Silva | 2012-01-25 | 1 | -25/+9 |
| | |||||
* | Improve getting translations for number helpers | Carlos Antonio da Silva | 2012-01-25 | 1 | -10/+13 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-01-21 | 1 | -0/+3 |
|\ | |||||
| * | document `:raise` option support for several helpers [ci skip] | Jonathan Roes | 2012-01-20 | 1 | -0/+3 |
| | | |||||
* | | Refactor translations retrieval | Rafael Mendonça França | 2012-01-20 | 1 | -18/+15 |
| | | |||||
* | | Remove code duplication | Rafael Mendonça França | 2012-01-20 | 1 | -34/+19 |
| | | |||||
* | | No need to check html_safe? twice | Rafael Mendonça França | 2012-01-20 | 1 | -2/+1 |
| | | |||||
* | | Added format to percentage | Rodrigo Flores | 2012-01-20 | 1 | -2/+9 |
|/ | |||||
* | Merge pull request #4296 from kuroda/negative_format | Aaron Patterson | 2012-01-04 | 1 | -0/+1 |
|\ | | | | | Infer currency negative format from positive one. | ||||
| * | Infer currency negative format from positive one. | Tsutomu Kuroda | 2012-01-05 | 1 | -0/+1 |
| | | | | | | | | | | | | When a locale file sets the format of the positive currency value as '%n %u', the default negative currency format should be '-%n %u'. | ||||
* | | copy edits | Vijay Dev | 2012-01-04 | 1 | -10/+7 |
| | | |||||
* | | improve doc in number helper options | Pablo Ifran | 2012-01-02 | 1 | -19/+57 |
|/ | |||||
* | Remove some of the ActiveSupport core extensions related to 1.8. | Uģis Ozols | 2011-12-21 | 1 | -1/+0 |
| | |||||
* | put back the removed eg | Vijay Dev | 2011-11-18 | 1 | -0/+1 |
| | |||||
* | Fix a number_with_delimiter :separator example | Edward Anderson | 2011-11-17 | 1 | -1/+1 |
| | |||||
* | Cosmetic fix in number_to_currency docs | Alexey Vakhov | 2011-11-10 | 1 | -2/+2 |
| | |||||
* | remove user-specified delimiter from start when no area code is present (in ↵ | Mac Martine | 2011-10-12 | 1 | -1/+1 |
| | | | | number_to_phone) | ||||
* | checked all .rb files in the project tree for missing magic comments, one ↵ | Xavier Noria | 2011-07-23 | 1 | -0/+2 |
| | | | | | | | | | | | | | | was missing Came with this one-liner for this: find . -name '*.rb' | \ xargs chardet | \ grep -v ascii | \ cut -d: -f1 -s | \ xargs -n1 ruby -0777 -ne 'puts $FILENAME if $_ !~ /#.*coding:\s*utf/i' Welcome $_. | ||||
* | Ensure number helpers can handle HTML safe strings - closes #1597. | Andrew White | 2011-06-10 | 1 | -1/+1 |
| | |||||
* | Remove trailing white-spaces | Guillermo Iguaran | 2011-06-05 | 1 | -1/+1 |
| | |||||
* | added a :prefix option to number_to_human_size | Diego Carrion | 2011-04-27 | 1 | -3/+6 |
| | |||||
* | Making spacing consistent | Matt Duncan | 2011-04-15 | 1 | -2/+2 |
| | |||||
* | Fixing missing colon on symbol in example | Matt Duncan | 2011-04-15 | 1 | -1/+1 |
| | |||||
* | Negative format example should use a negative number | Matt Duncan | 2011-04-15 | 1 | -1/+1 |
| | |||||
* | fixes an issue with number_to_human when converting values which are less ↵ | Josh Kalderimis | 2011-03-16 | 1 | -1/+1 |
| | | | | | | than 1 but greater than -1 [#6576 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Action Pack typos. | R.T. Lechow | 2011-03-05 | 1 | -3/+3 |
| | |||||
* | Fixed number_with_precision rounding error [#6182 state:resolved] | Don Wilson | 2010-12-18 | 1 | -2/+3 |
| | |||||
* | Revert "Fixed number_with_precision rounding error [#6182 state:resolved]" | Piotr Sarnacki | 2010-12-17 | 1 | -3/+2 |
| | | | | This reverts commit 006ec77e60163d57d655479602230672d98e0f10. | ||||
* | Fixed number_with_precision rounding error [#6182 state:resolved] | Don Wilson | 2010-12-17 | 1 | -2/+3 |
| | |||||
* | made a pass to the docs of :negative_format | Xavier Noria | 2010-11-03 | 1 | -5/+7 |
| | |||||
* | Added :negative_format option to number_to_currency function [#5894 ↵ | Don Wilson | 2010-11-02 | 1 | -7/+16 |
| | | | | | | state:resolved] Signed-off-by: Andrew White <andyw@pixeltrix.co.uk> | ||||
* | lets not invert the hash on every iteration through this loop | Aaron Patterson | 2010-10-18 | 1 | -1/+3 |
| | |||||
* | use -= in place of the expanded form | Aaron Patterson | 2010-10-18 | 1 | -1/+1 |
| |