Closed egrajeda closed 12 years ago
:+1:
I'm kinda curious as to why the original code pushes a downcase version out to the client. Also, why it isn't an Array#select and map rather than an inject. Either way, this fixes the bug. :)
Hey @egrajeda, since this was merged in I've added you to the team of committers! Please read the section in the readme about what being a committer means and let me know if you have any questions :heart::heart: Welcome to the team!
I should also have you up on the About page in a few minutes! I hope to be seeing more contributions from you!!
This is the test and code that fixes hotsh/rstat.us#666, regarding the sanitization of the autocomplete regexp.
I also deleted an extra
.downcase
that wasn't needed since the comparison ignores case.Let me know of any comment you may have.