Permalink
Browse files

fixes typo

  • Loading branch information...
1 parent 05f65db commit 66a2019e882c0eeed2081a0adf9f218947b2892f @fxn fxn committed Jan 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.rdoc
View
2 README.rdoc
@@ -35,7 +35,7 @@ Given
params.permit(:id)
-they key +:id+ will pass the whitelisting if it appears in +params+ and it has a string or integer associated. Otherwise the key is going to be filtered out, so arrays, hashes, or any other objects cannot be injected.
+the key +:id+ will pass the whitelisting if it appears in +params+ and it has a string or integer associated. Otherwise the key is going to be filtered out, so arrays, hashes, or any other objects cannot be injected.
To declare that the value in +params+ must be an array of strings or integers map the key to an empty array:

0 comments on commit 66a2019

Please sign in to comment.