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

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -