-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
Labels:
company references many employees stored as array
validate associated employees
trying to update the parent document, just changing the name of the document produces the following error. Although I'm not updating any employees related fields, if I comment the validate_associated :employees line, the update completes successfully.
NoMethodError (undefined method `valid?' for #<Array:0x9792a58>)