Tag params

5 votes

13647 views

Don't modify the params hash

The params hash contains all the data that was submitted from a request. If you modify it, later code won't have access to it. Instead, copy the params hash and modify the copy.

Comments

daviddavis