I find it a bit odd that validates_uniqueness_of always hits the database 
even when the attribute we are concerned with has not changed. It's easy 
enough to add a dirty checking condition to a uniqueness validation, but it 
seems like this should be the default behavior and always running the 
validation should require some sort of a flag. Would this change be 
accepted?

Thanks,
Ryan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to