Last Updated: February 25, 2016
·
501
· bagilevi

Guard your application from invalid parameters

If you are receiving exception notifications from your Rails app, and when examining the request parameters, you find that some funny people are trying to pass in a string where you expect a hash, or just omit a few parameters, you can use this gem to define the expected format of the params hash and validate users' inputs against that before your naive code get executed.

https://github.com/bagilevi/param_guard