Re: [Rails] Allow blank on should validate_uniqueness_of

2010-06-17 Thread Colin Law
2010/6/15 J. Pablo Fernández pup...@pupeno.com: Hello, Using shoulda, any ideas how to allow blank when having this test: should validate_uniqueness_of(:email) I think there is confusion about your question. Are you asking how to allow blank in the validation itself (in which case

Re: [Rails] Allow blank on should validate_uniqueness_of

2010-06-17 Thread J . Pablo Fernández
I'm asking how to test the validation with shoulda with the new syntax, hence the line: should validate_uniqueness_of(:email) On Thu, Jun 17, 2010 at 10:45, Colin Law clan...@googlemail.com wrote: 2010/6/15 J. Pablo Fernández pup...@pupeno.com: Hello, Using shoulda, any ideas how to allow

[Rails] Allow blank on should validate_uniqueness_of

2010-06-15 Thread J . Pablo Fernández
Hello, Using shoulda, any ideas how to allow blank when having this test: should validate_uniqueness_of(:email) Thanks. -- J. Pablo Fernández pup...@pupeno.com (http://pupeno.com) -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post