-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encoding weirdness in .named_any scope #533
Labels
Comments
Also noticed this problem. The above solution seems to work. |
I think that affect mysql only. |
if you'd like I can prepare PR with this change |
Submit a PR with tests, if it don't break other tests/adapter, i will merge it and release a new version. |
Bundle update! |
cdmicacc
pushed a commit
to 500px/acts-as-taggable-on
that referenced
this issue
Apr 26, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
v. 3.2.1
ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin13.0.0]
There is some issue with encodings. In some cases encoding of tag is switched to ASCII, in other it's not and it gives an encoding exception explosion. Check it out:
So one solution that works is to do instead:
then it's always ASCII and nothing explodes.
But looks weird to me. And I am not sure why ASCII is always needed here.
What could be another possible solution here? I can provide pull request with solution above though.
The text was updated successfully, but these errors were encountered: