def validator_params
      wildcard = params.try(:[], :validator).try(:[], :resource_instance_additional_params).try(:keys)
      params.require(:validator).
      permit(:form_object,
             :resource_model,
             :resource_attr_name,
             :resource_attr_value,
             :ignore_resource_attr_value,
             :resource_instance_additional_params => wildcard)
    end
def validator_params
      wildcard = params.try(:[], :validator).try(:[], :resource_instance_additional_params).try(:keys)
      params.require(:validator).
      permit(:form_object,
             :resource_model,
             :resource_attr_name,
             :resource_attr_value,
             :ignore_resource_attr_value,
             :resource_instance_additional_params => wildcard)
    end
Only allow a trusted parameter 'white list' through.