This project is archived and is in readonly mode.
Automatic validation on has_many should not be performed twice
-
Jan De Poorter
- Tag set to activerecord, bug, has_many
As discussed on IRC, you can use
has_many :things, :validate => falseand then add the validation, or least you will be able to do this once this patch makes it into core ;-)
-
Tarmo Tänav
- State changed from new to resolved
- Tag changed from activerecord, bug, has_many to activerecord, bug, has_many
As already pointed out, ":validate => false" can now be used to counter this problem.