title: Rails 3 Custom Validation for Email Uniqueness
body: <p>I am using Riak database for my current project which does not support the "uniqueness" helper method. Now I want to validate user email for uniqueness. How to write the custom validation for unique emial address??</p>