aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/parameters/nested_parameters_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Lets kepp using Ruby 1.9 syntaxRafael Mendonça França2013-01-221-20/+20
|
* strong parameters filters permitted scalarsXavier Noria2013-01-201-13/+43
|
* hash filters should be accessed with symbols or stringsFrancesco Rodriguez2012-11-301-0/+25
|
* When executing permit with just a key that points to a hash, DO NOT allow ↵Santiago Pastorino2012-10-121-1/+5
| | | | | | | | | | | | | | all the hash params.require(:person).permit(:projects_attributes) was returning => {"projects_attributes"=>{"0"=>{"name"=>"Project 1"}}} When should return => {} You should be doing ... params.require(:person).permit(projects_attributes: :name) to get just the projects attributes you want to allow
* Correct parameter access.Philip Arndt2012-09-191-1/+1
| | | * The params as supplied pass born in authors[0] but not authors[1] so it seems like the test isn't covering what it should be covering.
* Support fields_for attributes, which may have numeric symbols as hash keysGuillermo Iguaran2012-09-161-0/+18
|
* require abstract_unit in parameters testsGuillermo Iguaran2012-09-161-0/+1
|
* Integrate ActionController::Parameters from StrongParameters gemGuillermo Iguaran2012-09-161-0/+94