#879 ✓resolved
Jonathan Stott (namelessjon)

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

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 »

Pages