Project

General

Profile

Actions

Bug #19422

closed

validates_lengths_from_database leaks validation options between models

Added by Ivan Necas about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Database
Target version:
-
Fixed in Releases:
Found in Releases:

Description

This leads to unexpected validatoin errors such as "OperatingsystemTest.test_: Operatingsystem should not allow :major to be ‹"111111"›."
in tests, depending on options of other ActiveRecord objects and order of their loading.

It hit us hard in remote_execution

Actions

Also available in: Atom PDF