aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/parameters/parameters_permit_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* converts hashes in arrays of unfiltered params to unpermitted params [fixes #...Xavier Noria2013-12-211-0/+7
* don't mutate hash with fetchDoug Cole2013-10-261-0/+6
* do not break params filtering on nil valuesVasiliy Ermolovich2013-09-071-0/+9
* Rack::Test::UploadedFile is a permitted scalarFabio Kreusch2013-02-211-1/+2
* ActionDispatch::Http::UploadedFile is a permitted scalar [Closes #9051]Xavier Noria2013-01-231-1/+2
* Lets kepp using Ruby 1.9 syntaxRafael Mendonça França2013-01-221-17/+17
* Add missing assert callsCarlos Antonio da Silva2013-01-201-2/+2
* strong parameters filters permitted scalarsXavier Noria2013-01-201-4/+121
* Test that permitted? is sticky on accessors, mutators, and mergesBenjamin Quorning2012-11-061-0/+24
* Test that not permitted is sticky on #exceptBenjamin Quorning2012-11-061-0/+1
* Current tests are testing stickiness of non-permitted parametersBenjamin Quorning2012-11-061-3/+3
* Fix buggy testsBenjamin Quorning2012-11-061-4/+4
* No need for the debuggerDavid Heinemeier Hansson2012-10-311-1/+0
* Allow #permit to take its list of permitted parameters as an arrayDavid Heinemeier Hansson2012-10-311-0/+5
* Cleanup trailing whitespacesdfens2012-10-121-1/+1
* ActionController::Parameters#permit! is recursiveBrendan Loudermilk2012-10-041-0/+7
* Add config.action_controller.permit_all_attributes to bypass StrongParameters...Guillermo Iguaran2012-09-161-0/+14
* Change tainted/untainted wording to permitted/forbiddenGuillermo Iguaran2012-09-161-0/+59