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 allows_blank in the call of validates_uniqueness of is the way to go) or are you asking how to code the test to check that multiple blank emails are allowed? Colin -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.