constant PERMITTED_SCALAR_TYPES
Ruby on Rails 6.0.6
Since v4.0.13This is a white list of permitted scalar types that includes the ones supported in XML and JSON requests.
This list is in particular used to filter ordinary requests, String goes as first element to quickly short-circuit the common case.
If you modify this collection please update the API of permit above.