method

extract_max_param

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

extract_max_param(upper_cap = 100)
private

No documentation available.

# File activerecord/lib/active_record/attribute_assignment.rb, line 207
      def extract_max_param(upper_cap = 100)
        [values.keys.max, upper_cap].min
      end