This project is archived and is in readonly mode.

#2924 ✓wontfix

validates_uniqueness , accepting white space

Reported by John | July 20th, 2009 @ 09:47 AM | in 3.x

I Know this is not a bug , but i face this issue's , like when i add validates_uniqueness :user , so it means it will not accepted blank user name by default allow_blank is set false ,same way there should be parameter for striping ...

for this i added a parameter allow_strip => true , by default it will false ,
i write a patch for this , may i posted here.

Let me know your opinion ,


Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>