method

cast_value

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Integer
cast_value(value) private

No documentation

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

Hide source
# File activemodel/lib/active_model/type/integer.rb, line 89
        def cast_value(value)
          value.to_i rescue nil
        end
Register or log in to add new notes.