Using validate_uniqueness_of on a translated attribute fails
-
cantorrodista (at gmail)
I reproduced the same problem in my project.
I think that the problem is in AR::Base method 'columns', that doesn´t found a column named with the attribute (the attribute is in other table, named model_translates)...
Are there any solutions to fix it??
I tried to rewrite the columns method, to return also the columns of the table named '*_translates', but other problems came...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.