If I understand correctly, you would like to whitelist a hash of dynamic keys. You can use some ruby
code as follows to do this:
params.require(:article).permit(:name).tap do |whitelisted|
whitelisted[:content] = params[:article][:content]
end
This worked for me, hope it helps!