I\'m receiving a JSON package like:
{ \"point_code\" : { \"guid\" : \"f6a0805a-3404-403c-8af3-bfddf9d334f2\" } }
I would like to tell Rai
As of 2015 (RoR 5.0+) you can pass in an array of keys to the require method in rails:
require
params.require([:point_code, :guid])
http://api.rubyonrails.org/classes/ActionController/Parameters.html#method-i-require