Closed phlegx closed 9 years ago
Solved, because gem globalize 4.0.2 has a uniqueness validation for this purpose. But another question is open: Validation errors associated on translated attributes including locale https://github.com/globalize/globalize/issues/386
Any idea?
SOLVED - Validation errors associated on translated attributes including locale https://github.com/globalize/globalize/issues/386
Added possible solution, here: https://github.com/globalize/globalize/issues/386#issuecomment-62715572
Hi!
Rails: 4.1.7 Globalize: 4.0.2 Globalize Accessors: 0.1.5
The following code:
Produces this error:
Works in console by doing:
Is the problem in the uniqueness validation of attribute
name
?