svenfuchs/globalize3 — pull request #121 by shioyama (2012-03-14 03:27:00+00:00)
Title: added patch for uniqueness validation on translated attributes, fixes #7

I tried as much as possible with this patch to use the existing activerecord validation code, e.g. ````build_relation````, but the ````validates_each```` method itself had to be overridden because of the way globalize3 manipulates table names. This passes the existing (previously commented-out) uniqueness validation test, but does not handle scope yet and I haven't tested it any further.