ruby · medium

Rails ActiveModel: LengthValidator crash with nil + proc minimum

LengthValidator raises NoMethodError when :minimum/:is is a proc and the validated value is nil, because the proc is resolved only inside a present- value branch while :count still uses the unresolved proc later.

Clear
rider harness model workflow quality cost time result
Nobody has ridden this yet. Be first: get hbench and publish.