Flowdock
method

ensure_in_range

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: Integer
ensure_in_range(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 47
        def ensure_in_range(value)
          unless in_range?(value)
            raise ActiveModel::RangeError, "#{value} is out of range for #{self.class} with limit #{_limit} bytes"
          end
          value
        end
Register or log in to add new notes.