diff options
author | Matthew Draper <matthew@trebex.net> | 2015-12-18 14:30:13 +1030 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2015-12-18 14:32:48 +1030 |
commit | 093b3d6a967fe9e992a6de9527908e15345eb633 (patch) | |
tree | a56937a39609978e40534c99ad9c3978d5293cc4 /actionview | |
parent | da6713fd0361f29a1e6aa80ce40238ae717535f5 (diff) | |
parent | 9e313db3788d89a0064d26c0a910f150e4a417a6 (diff) | |
download | rails-093b3d6a967fe9e992a6de9527908e15345eb633.tar.gz rails-093b3d6a967fe9e992a6de9527908e15345eb633.tar.bz2 rails-093b3d6a967fe9e992a6de9527908e15345eb633.zip |
Merge pull request #21914 from zachalewel/zachalewel-patch-1
Update CHANGELOG.md for readability
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/CHANGELOG.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md index 0981d47d7a..794306c7f2 100644 --- a/actionview/CHANGELOG.md +++ b/actionview/CHANGELOG.md @@ -35,16 +35,16 @@ *Bernerd Schaefer* -* `number_to_currency` and `number_with_delimiter` now accept custom `delimiter_pattern` option - to handle placement of delimiter, to support currency formats like INR - - Example: - +* `number_to_currency` and `number_with_delimiter` now accept a custom `delimiter_pattern` option + to handle placement of delimiter, to support currency formats like INR. + + Example: + number_to_currency(1230000, delimiter_pattern: /(\d+?)(?=(\d\d)+(\d)(?!\d))/, unit: '₹', format: "%u %n") - # => '₹ 12,30,000.00' - + # => '₹ 12,30,000.00' + *Vipul A M* - + * Make `disable_with` the default behavior for submit tags. Disables the button on submit to prevent double submits. |