Aug 29, 2017 · 1 min read
I recently had a similar issue with strong parameters due to its overhead. Calling it once is fine, but try to call it more than 10+ times over a single action, and you'll discover that it's performance can be a big pain, even when using the params.to_unsafe_h (which calls a recursive method on Rack's params hash). After having this issue, I just used Rack's request.parameters and sliced it away as you did :)
