Billee D. wrote:
> 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]>

It worked with :unless, as described in the API.
-- 
Posted via http://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to