method

serialize_cast_value

serialize_cast_value(value)
public

No documentation available.

# File activemodel/lib/active_model/type/integer.rb, line 88
      def serialize_cast_value(value) # :nodoc:
        if out_of_range?(value)
          raise ActiveModel::RangeError, "#{value} is out of range for #{self.class} with limit #{_limit} bytes"
        end

        value
      end