aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/parameters/parameters_permit_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Use frozen string literal in actionpack/Kir Shatrov2017-07-291-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* 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
* 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
* :warning: "Use assert_nil if expecting nil. This will fail in MT6."Akira Matsuda2017-01-181-2/+10
* 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-291-5/+5
|/
* call `.to_h` to avoid using deprecated methodyuuji.yaginuma2016-09-071-0/+7
* Add three new rubocop rulesRafael Mendonça França2016-08-161-9/+9
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+1
* remove redundant curlies from hash argumentsXavier Noria2016-08-061-2/+2
* applies new string literal convention in actionpack/testXavier Noria2016-08-061-42/+42
* Remove duplicate test and fix a typo in the testPrathamesh Sonpatki2016-07-121-5/+0
* `params.permitted?` is false by defaultJon Moss2016-06-231-0/+6
* Filter scalar values when params permit hashes or arraysSean Griffin2016-04-151-0/+9
* fields_for_style needs to test for AC::ParametersAaron Patterson2016-02-171-0/+21
* test `include?`- fix typoAkshay Vishnoi2016-01-091-1/+1
* Merge pull request #22850 from prathamesh-sonpatki/fix_ac_params_unsafe_h_2Kasper Timm Hansen2015-12-311-0/+8
|\
| * Fix AC::Parameters#to_unsafe_h to return all unfiltered valuesPrathamesh Sonpatki2015-12-311-0/+8
* | Fix test for AC::Parameters#to_unsafe_hPrathamesh Sonpatki2015-12-301-2/+2
|/
* Add AC::Parameters#include?Justin Coyne2015-12-291-0/+6
* Only dup Ruby's Hash and Array.Kasper Timm Hansen2015-12-171-0/+28
* Make Parameters#to_h and #to_unsafe_h return HWIAPrem Sichanugrist2015-12-141-4/+4
* Fix state being carried over from previous transactionRoque Pinel2015-07-201-1/+1
* Fix exception overwritten for parameters fetch methodRoque Pinel2015-07-181-0/+13
* Make AC::Parameters not inherited from HashPrem Sichanugrist2015-07-151-2/+0
* Add AC::Parameters#to_unsafe_hPrem Sichanugrist2014-12-121-0/+6
* Seperate Parameters accessors and mutators testsPrem Sichanugrist2014-08-181-57/+0
* Add missing `Hash` methods to `AC::Parameters`Prem Sichanugrist2014-08-181-0/+21
* Make `AC::Params#to_h` return Hash with safe keysPrem Sichanugrist2014-08-181-0/+39
* adds some details to the rationale of converted_arrays [ci skip]Xavier Noria2014-06-071-1/+1
* adds a regression test for the strong params converted arrays cacheXavier Noria2014-06-071-1/+18
* Revert "Convert StrongParameters cache to a hash. This fixes an unbounded"Xavier Noria2014-06-071-1/+1
* Convert StrongParameters cache to a hash. This fixes an unboundedRyan Davis2014-06-031-1/+1
* AC::Parameters#permit! permits hashes in array valuesXavier Noria2013-12-231-3/+11
* optimizes array conversion in AC::ParametersXavier Noria2013-12-211-0/+5