aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/parameters
Commit message (Expand)AuthorAgeFilesLines
* Yield array from AC::Parameters#each for block with one argDominic Cleal2017-12-061-0/+16
* Use frozen string literal in actionpack/Kir Shatrov2017-07-2910-0/+20
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-0210-10/+0
* Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-0210-0/+10
|\
| * Enforce frozen string in RubocopKir Shatrov2017-07-0110-0/+10
* | Fallback Parameters#to_s to Hash#to_sKir Shatrov2017-06-301-0/+5
|/
* prepare for Minitest 6utilum2017-06-201-1/+1
* Pass block in ActionController::Parameters#deleteEugene Kenny2017-05-101-0/+21
* Add test case to make sure we can implicit convert a Parameters to a HashRafael Mendonça França2017-04-201-0/+7
* Use the right assetions to better error messagesRafael Mendonça França2017-04-181-7/+7
* Add test to make sure that to_unsafe_h don't mutate the targetRafael Mendonça França2017-04-181-0/+10
* Add ActionController::Parameters#to_hash to implict conversionRafael Mendonça França2017-04-181-0/+26
* Raise exception when calling to_h in a unfiltered ParametersRafael Mendonça França2017-04-181-15/+4
* Test the correct objectRafael Mendonça França2017-04-181-1/+1
* Add aliases for reverse_merge to with_defaultsMatt Casper2017-03-291-0/+16
* Fix test that was asserting the wrong thingRafael Mendonça França2017-03-211-1/+1
* Use correct value in `reverse_merge` testyuuji.yaginuma2017-03-111-8/+4
* Added `reverse_merge`/`reverse_merge!` to AC::Parameters:Edouard CHIN2017-03-091-0/+29
* Tests for delegated public methods on AC::ParametersT.J. Schuck2017-03-071-0/+63
* :warning: "Use assert_nil if expecting nil. This will fail in MT6."Akira Matsuda2017-01-181-2/+10
* Fix all rubocop violationsRafael Mendonça França2017-01-171-1/+1
* Added test to ensure that we dont break #to_h again when trying to restore th...David Heinemeier Hansson2017-01-161-0/+5
* Revert "significant speedup of AC::Parameters#permit" [26dd9b26ab7317f94fd285...David Heinemeier Hansson2017-01-161-5/+0
* "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-251-4/+4
* Fix style violationsRafael Mendonça França2016-11-141-1/+1
* significant speedup of AC::Parameters#permitXavier Noria2016-11-121-0/+5
* adds support for arbitrary hashes in strong parametersXavier Noria2016-11-111-0/+33
* Merge pull request #26820 from y-yagi/add_bang_merge_to_parametersRafael França2016-11-101-0/+17
|\
| * add `ActionController::Parameters#merge!`yuuji.yaginuma2016-10-181-0/+17
* | Add more rubocop rules about whitespacesRafael Mendonça França2016-10-292-7/+7
* | Soften this test since YAML.dump may produce keys in other orders.Charles Oliver Nutter2016-10-211-6/+4
|/
* ActionController::Parameters#deep_dup (#26567)Pavel Evstigneev2016-10-111-0/+22
* Remove deprecated comparing support with `ActionController::Parameters`Rafael Mendonça França2016-10-101-8/+0
* call `.to_h` to avoid using deprecated methodyuuji.yaginuma2016-09-071-0/+7
* Merge pull request #26094 from igorkasyanchuk/masterRafael França2016-08-161-4/+4
|\
| * Show unpermitted parameters as symbols in logs (so they could be copy-pasted ...Igor Kasyanchuk2016-08-101-4/+4
* | Add three new rubocop rulesRafael Mendonça França2016-08-165-14/+14
* | Fix broken alignments caused by auto-correct commit 411ccbdRyuta Kamizono2016-08-105-18/+36
|/
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+1
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-11/+11
* remove redundant curlies from hash argumentsXavier Noria2016-08-066-71/+35
* modernizes hash syntax in actionpackXavier Noria2016-08-061-6/+6
* applies new string literal convention in actionpack/testXavier Noria2016-08-0610-111/+111
* Fix wrong assignment.Kasper Timm Hansen2016-08-021-4/+5
* Set `always_permitted_parameters`.Kasper Timm Hansen2016-08-021-0/+9
* Let Psych 2.0.9+ deserialize 2.0.8 serialized parameters.Kasper Timm Hansen2016-08-021-2/+15
* Make Parameters support legacy YAML encodings.Kasper Timm Hansen2016-08-011-0/+32
* Remove duplicate test and fix a typo in the testPrathamesh Sonpatki2016-07-122-6/+1
* Trust `Object#dup` in `ActionController::Parameters`, using `#initialize_copy...Tim Rogers2016-07-081-1/+19
* Changes to a dupped `ActionController::Parameters` mutate the originalTim Rogers2016-07-071-0/+25