This project is archived and is in readonly mode.
validates_associated fails when associated id is incorrect
This bug is already reported on Trac ( http://dev.rubyonrails.org/ticke... ), but because Trac is supposed to be deprecated and the ticket has almost 2 years I'm reposting it here.
Basically, the combo of validates_presence_of and validates_associated methods suggested in documentation fails if someone assigns id of non-existing object.
Comments and changes to this ticket
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Tickets have moved to Github
The new ticket tracker is available at https://github.com/rails/rails/issues