#781 ✓resolved
Greg Campbell

dm-constraints 0.9.10 breaks on auto_migrate! if a has association is missing

Reported by Greg Campbell | January 20th, 2009 @ 06:59 PM

If any belongs_to() association exists without a corresponding has() association on the other end, dm-constraints will raise an exception during auto_migrate! when attempting to retrieve the delete_constraint for the non-existent association. See attached script for an easy way to reproduce the issue.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »