vhochstein / active_scaffold

Rails 4 Version of activescaffold supporting jquery
MIT License
156 stars 34 forks source link

StringComparators should use ILIKE on postgresql #176

Closed diedthreetimes closed 13 years ago

diedthreetimes commented 13 years ago

When using postgres, the StringComparators ("contains" especially) should be case insensitive.

This patch, at the very least, allows this behavior to be somewhat configurable, by overriding the like_operator method.

vhochstein commented 13 years ago

Thanks a lot for providing this fix

diedthreetimes commented 13 years ago

Any time:)