method

serialize

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: Integer
serialize(value) public

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 24
      def serialize(value)
        result = cast(value)
        if result
          ensure_in_range(result)
        end
        result
      end
Register or log in to add new notes.