blob: 4168cbfce7ca5e54906aeb76c486573c7cfa34aa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require 'active_model/type/integer'
module ActiveModel
module Type
class BigInteger < Integer # :nodoc:
private
def max_value
::Float::INFINITY
end
end
end
end
|