aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/parameters
Commit message (Expand)AuthorAgeFilesLines
* Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-211-32/+26
* Fix `ActionController::Parameters#each_value` and add changelog entry to this...Bogdan2018-10-151-2/+6
* Added ActionController::Parameters.each_value methodLukas Zapletal2018-09-271-0/+18
* Permit list usage cleanup and clearer documentationKevin Deisz2018-08-271-1/+1
* Convert over the rest of the whitelist referencesKevin Deisz2018-08-241-1/+1
* Convert hashes into parameters (#33076)Kevin Sjöberg2018-06-191-0/+21
* Fix `CustomCops/AssertNot` to allow it to have failure messageRyuta Kamizono2018-05-132-2/+2
* Merge pull request #32593 from sdhull/fix-strong-params-permit-bangRafael Mendonça França2018-04-191-1/+4
|\
| * Fixes StrongParameters permit! to work with nested arraysSteve Hull2018-04-161-1/+4
* | Replace `assert !` with `assert_not`Daniel Colson2018-04-191-1/+1
|/
* Merge pull request #32441 from composerinteralia/refute-notRafael França2018-04-041-5/+5
|\
| * Autocorrect `refute` RuboCop violationsDaniel Colson2018-04-031-5/+5
* | Make mutating params#dig mutate underlying paramsVince DeVendra2018-03-241-0/+8
|/
* Rails 6 requires Ruby 2.4.1+Jeremy Daer2018-02-172-2/+0
* Rails 6 requires Ruby 2.3+Jeremy Daer2018-02-171-16/+9
* Remove usage of strip_heredoc in the framework in favor of <<~Rafael Mendonça França2018-02-161-3/+2
* Use assert_empty and assert_not_emptyDaniel Colson2018-01-252-3/+3
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-258-69/+69
* Change refute to assert_notDaniel Colson2018-01-252-9/+9
* Use respond_to test helpersDaniel Colson2018-01-251-1/+1
* Suppress `warning: BigDecimal.new is deprecated`Yasuo Honda2017-12-151-1/+1
* 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