This project is archived and is in readonly mode.

#500 ✓ wontfix
Szymon Nowak

validates_associated fails when associated id is incorrect

Reported by Szymon Nowak | June 27th, 2008 @ 04:40 PM | in 2.0.3

This bug is already reported on Trac ( ), 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

Shared Ticket Bins

People watching this ticket