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
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 )
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs