mbleigh / acts-as-taggable-on

A tagging plugin for Rails applications that allows for custom tagging along dynamic contexts.
http://mbleigh.lighthouseapp.com/projects/10116-acts-as-taggable-on
MIT License
4.96k stars 1.2k forks source link

case sensitivity fix for tagged_with #965 #990

Closed Andythurlow closed 4 years ago

Andythurlow commented 4 years ago

Just a new PR for the work @endorfin did, i've cherry-picked it on top of the latest master.

It looks like @endorfin didn't see the request by @seuros to rebase the PR https://github.com/mbleigh/acts-as-taggable-on/pull/966 back in October 2019.

I'm currently using a forked version with their fix, and would hopefully like to get this into master.


Original PR: https://github.com/mbleigh/acts-as-taggable-on/pull/966 Original Issue: https://github.com/mbleigh/acts-as-taggable-on/issues/965

Original PR comment:

arel matches and matches_any has a third parameter for case sensitivity, that was not set and always false. So ActsAsTaggableOn.strict_case_match didn't work with PostgreSQL