Module: ActiveRecord::FixIntegerLimit

Included in:
Type::UnsignedInteger
Defined in:
lib/active_record/fix_integer_limit.rb,
lib/active_record/fix_integer_limit/version.rb

Constant Summary collapse

VERSION =
"0.1.7"

Instance Method Summary collapse

Instance Method Details

#initializeObject



5
6
7
8
9
# File 'lib/active_record/fix_integer_limit.rb', line 5

def initialize(*)
  super
  @limit ||= 8
  @range = min_value...max_value
end