rails/rails — pull request #3634 by RyanNaughton (2011-11-15 03:56:43+00:00)
Title: Fixes 3483

Fixes issue #3483.

The AR find conditions could not correctly handle the combination of a range and discrete values. We modified predicate_builder.rb such that when an array contains ranges, separate predicates for the ranges (one for the discrete values, another for each range value) are created.