validates_uniqueness_of and MySQL unique index

Oct 11
2006 09:52 (Development, Ruby on Rails) · Русский (8,896 views)

Yesterday in mailing list of russian RoR group we have discussed following problem. MySQL database has unique index and model has validates_uniqueness_of constraint. Do we need to handle MySQL server exceptions or RoR’s validation will be enough?

Read the rest of entry »

 
Copyright © 2005 - 2008, Dmytro Shteflyuk