class ActiveModel::Type::BigInteger

standard ActiveModel::Type::Integer type.
All casting and serialization are performed in the same way as the
person.id # => 18000000000
person.id = “18_000_000_000”
person = Person.new
end
attribute :id, :big_integer
include ActiveModel::Attributes
class Person
of bytes. This type is registered under the :big_integer key.
Attribute type for integers that can be serialized to an unlimited number
= Active Model BigInteger Type

def max_value

def max_value
  ::Float::INFINITY
end

def serialize_cast_value(value) # :nodoc:

:nodoc:
def serialize_cast_value(value) # :nodoc:
  value
end