aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG.md
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-09-01 00:07:58 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-09-01 00:07:58 -0300
commitffffa303f3b5e504af54dcec11047d2fa28692ef (patch)
tree586b40a26790887ab2c57cd483e8a9b314cc0a4e /activesupport/CHANGELOG.md
parent9f1b5c9b4032d081f5b7d7fe9697ba24e2ae3ff8 (diff)
parent7abbe137b7d19686f3a3be1414fadd41b7886334 (diff)
downloadrails-ffffa303f3b5e504af54dcec11047d2fa28692ef.tar.gz
rails-ffffa303f3b5e504af54dcec11047d2fa28692ef.tar.bz2
rails-ffffa303f3b5e504af54dcec11047d2fa28692ef.zip
Merge pull request #21421 from leighhalliday/array_inq_toggle_string_symbol
ArrayInquirer to correctly find symbols or strings
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r--activesupport/CHANGELOG.md22
1 files changed, 14 insertions, 8 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index 09f4f6c7aa..6667abbf7f 100644
--- a/activesupport/CHANGELOG.md
+++ b/activesupport/CHANGELOG.md
@@ -1,13 +1,19 @@
-* `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:
-
+* `ActiveSupport::ArrayInquirer` will now properly find your entry regardless of whether the array
+ values are of type String or type Symbol, and whether you are asking `any?` with a String or
+ a Symbol.
+
+ *Leigh Halliday*
+
+* `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(1230000, delimiter_pattern: /(\d+?)(?=(\d\d)+(\d)(?!\d))/, unit: '₹', format: "%u %n")
- # => '₹ 12,30,000.00'
-
+ # => '₹ 12,30,000.00'
+
*Vipul A M*
-
+
* Deprecate `:prefix` option of `number_to_human_size` with no replacement.
*Jean Boussier*