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.
Written by Levente Bagi
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#