diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-02-06 10:04:43 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-02-06 10:04:43 -0800 |
commit | 676b0c87642786080ab9e22fcc86a13d15324d4b (patch) | |
tree | 8e03242f8b67e17a4ebd8630e2ab7dc194037867 /activesupport/CHANGELOG | |
parent | 7564d98929af0bb039cb10c59dff6d177c11bd13 (diff) | |
download | rails-676b0c87642786080ab9e22fcc86a13d15324d4b.tar.gz rails-676b0c87642786080ab9e22fcc86a13d15324d4b.tar.bz2 rails-676b0c87642786080ab9e22fcc86a13d15324d4b.zip |
Introduce Array.wrap(foo) to wrap the argument in an array unless it's already an array. Wraps nil as an empty array. Use instead of Array(foo) and foo.to_a since they treat String as Enumerable.
Diffstat (limited to 'activesupport/CHANGELOG')
-rw-r--r-- | activesupport/CHANGELOG | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG b/activesupport/CHANGELOG index 24e0836bde..4197d5d0be 100644 --- a/activesupport/CHANGELOG +++ b/activesupport/CHANGELOG @@ -1,3 +1,8 @@ +*Edge* + +* Introduce Array.wrap(foo) to wrap the argument in an array unless it's already an array. Wraps nil as an empty array. Use instead of Array(foo) and foo.to_a since they treat String as Enumerable. [Jeremy Kemper] + + *2.3.0 [RC1] (February 1st, 2009)* * TimeWithZone#xmlschema accepts optional fraction_digits argument [#1725 state:resolved] [Nicholas Dainty] |