rails/rails — pull request #15350 by sgrif (2014-05-26 20:49:22+00:00)
Title: Refactor the handling of arrays in where predicates

Simplifies the code slightly, isolates non-nil non-range values into a
single array, which will make it easier to do things like apply type
casting to them in the future.