
validates_is_unique fails on updating resource
Reported by Jonathan Stott (namelessjon) | June 3rd, 2009 @ 03:03 PM | in 0.10.0
TSIA, more or less.
The validation fails due to the use of '==' in the validation method, which isn't true for a model which has changed fields.
http://github.com/namelessjon/dm-more/commit/b0814d6f0245fdfd130a03...
is a fix and a spec.
Comments and changes to this ticket
-
-
Jonathan Stott (namelessjon) June 15th, 2009 @ 01:49 PM
- State changed from unconfirmed to resolved
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »