method

permitted_scalar?

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Parameters
permitted_scalar?(value) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 1102
      def permitted_scalar?(value)
        PERMITTED_SCALAR_TYPES.any? { |type| value.is_a?(type) }
      end
Register or log in to add new notes.