Using ShouldaMatchers#permit To Ensure Your Controller Parameters Get Passed

October 23, 2015

This is a protip I wrote at Coderwall because I had a massive controller parameter whitelist and I wanted to make sure I didn’t forget any parameters lest any data not get saved.


Profile picture

Written by Bruce Park who lives and works in the USA building useful things. He is sometimes around on Twitter.