ruby on rails - Allow blank on should validate_uniqueness_of -
Using shoulders, any idea how to allow the vacant during this test:
must be valid_translation (: email)
thanks.
should allow_value ("") .for (: email) should allow_value (zero) For (: Email)
Comments
Post a Comment