method

casted_values

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: HomogeneousIn
casted_values() public

No documentation

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

Hide source
# File activerecord/lib/arel/nodes/homogeneous_in.rb, line 47
      def casted_values
        type = attribute.type_caster

        casted_values = values.map do |raw_value|
          type.serialize(raw_value) if type.serializable?(raw_value)
        end

        casted_values.compact!
        casted_values
      end
Register or log in to add new notes.