Allow blank on should validate_uniqueness_of
Posted
by J. Pablo Fernández
on Stack Overflow
See other posts from Stack Overflow
or by J. Pablo Fernández
Published on 2010-06-15T20:01:20Z
Indexed on
2010/06/17
13:23 UTC
Read the original article
Hit count: 224
Using shoulda, any ideas how to allow blank when having this test:
should validate_uniqueness_of(:email)
Thanks.
© Stack Overflow or respective owner