#839 ✓resolved
Martin Gamsjaeger (snusnu)

[dm-constraints] should default to :constraint => :protect

Reported by Martin Gamsjaeger (snusnu) | April 25th, 2009 @ 12:18 PM | in 0.10.0


dm-constraints shouldn't bail out if it is loaded and the :constraint option is not specified. I was talking to dkubb yesterday and he said that the desired behavior would be to assume :constraint => :protect to be the default.

You can find the error I get at http://pastie.org/457827 . The workaround is to add a :constraint option to every single association (which is probably a good idea anyway), but there should be a sensible default.

cheers snusnu

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 »

Referenced by