Where or function backport from Rails 5 for Rails 4.2
github.com