aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/hash/keys.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add Hash#deep_transform_keys and Hash#deep_transform_keys! Also convert ↵Mark McSpadden2012-05-231-17/+26
| | | | deep_*_keys to use deep_transform_keys.
* Adding deep versions of stringify_keys and symbolize_keys (plain and bang) ↵Lucas Húngaro2012-05-231-0/+44
| | | | for nested hashes
* Add Hash#transform_keys and Hash#transform_keys! and refactor *_keys methods ↵Mark McSpadden2012-05-231-18/+25
| | | | to use them.
* Fixing Hash#stringify_keys docsFrancesco Rodriguez2012-05-131-1/+1
|
* marking self in Hash#symbolize_keys!Francesco Rodriguez2012-05-131-1/+1
|
* added example to Hash#symbolize_keysFrancesco Rodriguez2012-05-131-2/+5
|
* unnecessary 'examples' noise in Hash#assert_valid_keys docsFrancesco Rodriguez2012-05-131-1/+0
|
* added example to Hash#stringify_keysFrancesco Rodriguez2012-05-131-1/+5
|
* String quotes and trailing spacesAlexey Gaziev2012-04-291-3/+3
|
* AS core_ext refactoring pt.2Alexey Gaziev2012-04-291-3/+2
|
* Inline the symbolize_keys/stringify_keys methodsSantiago Pastorino2012-04-081-2/+10
| | | | | | user system total real symbolize_keys 5.980000 0.070000 6.050000 ( 6.048187) new_symbolize_keys 4.310000 0.050000 4.360000 ( 4.364745)
* Remove Fixnum#to_sym support in 1.8.7Santiago Pastorino2012-04-081-1/+1
|
* Make assert_valid_keys slightly faster.thedarkone2010-09-271-4/+6
|
* No need for an extra wrapper array.thedarkone2010-09-271-1/+1
|
* Revert "Hash#symbolize_keys(!) optimizations"Jeremy Kemper2010-03-291-1/+1
| | | | | | | | Was slower in common case. [#3891 state:open] This reverts commit 2060977b767061a42eb8db2d5c3a30d205a94123.
* Hash#symbolize_keys(!) optimizationsLourens Naudé2010-03-011-1/+1
| | | | | | [#3891 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Speed up some Hash core extensions.José Valim and Mikel Lindsaar2010-01-241-9/+6
|
* Merge docrailsPratik Naik2010-01-171-2/+4
|
* Convert hash extension modules to class reopensJeremy Kemper2009-03-211-45/+39
|
* Merge docrailsPratik Naik2009-01-181-1/+1
|
* Simplify and speedup Hash#stringify_keys! References #10717 [Cheah Chu Yeow]Jeremy Kemper2008-01-061-4/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct Hash#assert_valid_keys docs. Closes #10621 [Cheah Chu Yeow, blackanger]Jeremy Kemper2008-01-021-3/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8521 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Hash#symbolize_keys skips keys that can't be symbolized. Closes #10500.Jeremy Kemper2007-12-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8454 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor of Hash#symbolize_keys! to use Hash#replace. Closes #10420 [ReinH]Rick Olson2007-12-081-7/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8333 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Hash#symbolize_keys behaves well with integer keys. Closes #9890.Jeremy Kemper2007-10-161-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7945 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documentation for assert_valid_keys. Closes #7264 [tarmo, rsanheim]Michael Koziarski2007-10-081-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7792 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make assert_valid_keys slightly more lenientDavid Heinemeier Hansson2005-09-091-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved Active Support into its own gemDavid Heinemeier Hansson2005-02-151-0/+53
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de