I\'m having a problem overcoming the new strong params requirement in Rails 4 using Hstore and dynamic accessors
I have an Hstore column called :content
:content
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:
ruby
params.require(:article).permit(:name).tap do |whitelisted| whitelisted[:content] = params[:article][:content] end
This worked for me, hope it helps!