Unless I am severely mistaken, you can't use :unless as a condition in the validation anyway. It would need to be :if => some_condition, where the some_condition method would return true/false.
On Aug 17, 1:22 pm, Pål Bergström <[email protected]> wrote: > Is this right? > > validates_uniqueness_of :email, :message => "Email taken", :unless => > :email == '[email protected]' > -- > Posted viahttp://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

