Padrino::ParamsProtection::InstanceMethods
Module: Padrino::ParamsProtection::InstanceMethods
Instance Method Summary
-
#filter_params!(params, allowed_params) ⇒ Object
Filters a hash of parameters leaving only allowed ones and possibly typecasting and processing the others. -
#original_params ⇒ Object
Returns the original unfiltered query parameters hash.
Instance Method Details
#filter_params!(params, allowed_params) ⇒ Object
Filters a hash of parameters leaving only allowed ones and possibly typecasting and processing the others.
#original_params ⇒ Object
Returns the original unfiltered query parameters hash.
© 2010–2016 Padrino
Licensed under the MIT License.
http://www.rubydoc.info/github/padrino/padrino-framework/Padrino/ParamsProtection/InstanceMethods