Skip to content
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

Bug with LIKE and slashes #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

petRUShka
Copy link

If you want to find something like path\test you should use "%th\\\\te%" instead of "%th\\te%"

Explanation: http://dev.mysql.com/doc/refman/5.0/en/string-comparison-functions.html#operator_like

I fixed It in commit

@patshaughnessy
Copy link
Owner

Hi Petrushka, sorry for not responding to this sooner... I like the code change and that you've added a test for it. Thanks for sending me this.

Unfortunately, after looking at this old plugin again, I've realizes I need to clean up its test suite, and also get it working with bundler and rails 3 properly. Right now I'm focusing on something else (http:/scaffoldhub.org) but I hope in the next few weeks to get to this and get your code change in. Apologies... - pat

@petRUShka
Copy link
Author

That would be great! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants