aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/hash/reverse_merge.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into make-reverse-merge-bang-order-consistentSean Griffin2017-07-171-0/+4
|\
| * [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
| |
| * Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
| |
| * Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
| * Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
| |
| * Add aliases for reverse_merge to with_defaultsMatt Casper2017-03-291-0/+2
| | | | | | | | | | | | In the context of controller parameters, reverse_merge is commonly used to provide defaults for user input. Having an alias to reverse_merge called with_defaults feels more idiomatic for Rails.
* | Make the order of Hash#reverse_merge! consistent with HashWithIndifferentAccessErol Fornoles2017-03-061-2/+1
|/
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
|
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
| | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository.
* fix AS/core_ext examples [ci skip]Francesco Rodriguez2012-09-121-1/+1
|
* update AS/core_ext docs [ci skip]Francesco Rodriguez2012-09-121-2/+2
|
* AS core_ext refactoring pt.2Alexey Gaziev2012-04-291-1/+0
|
* revises the RDoc of Hash#reverse_mergeXavier Noria2011-03-051-13/+7
|
* Correct example that did not do what it claimed. Rework explanation.Ben Orenstein2011-03-051-5/+5
|
* making variable names a little more clearAaron Patterson2010-08-231-1/+2
|
* ActiveSupport Hash optimizations [#2902 state:resolved]Lourens Naude2009-07-151-1/+1
| | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Convert hash extension modules to class reopensJeremy Kemper2009-03-211-32/+25
|
* Merge with docrails.Pratik Naik2008-07-161-5/+12
|
* Improve documentation coverage and markupXavier Noria2008-05-021-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Improve documentation.Pratik Naik2008-03-261-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* HashWithIndifferentAccess#to_hash converts to a Hash with String keys and ↵Jeremy Kemper2006-12-161-2/+2
| | | | | | the same default value. Fix Hash#reverse_update to be an alias for reverse_merge./script/console More thoroughly test the reverse_* methods. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5725 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Hash#reverse_merge, Hash#reverse_merge!, and Hash#reverse_update to ↵David Heinemeier Hansson2005-09-111-0/+25
ease the use of default options. Added :connector and :skip_last_comma options to Array#to_sentence git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2192 5ecf4fe2-1ee6-0310-87b1-e25e094e27de