Validates_uniqueness_of

I used validates_uniqueness_of

it is case insensitive, it takes only admin not Admin.

So please help me out how to put validates_uniqueness_of as case
sensitive

Thanks in Advance
Surekha.Matte

What are you trying to do?

validates_uniqueness_of takes a symbol representing a field – :my_field
– as the parameter, and then checks that the entry is unique in the
model (optionally limited with :scope => :another_field )