ruby on rails test if all parameters in json request are here code example
Example: ruby on rails test if all parameters in json request are here
if(params.has_key?(:one) && params.has_key?(:two))
if(params.has_key?(:one) && params.has_key?(:two))