Rails Range end-exclusive range conditions patch

will.bryant

I've submitted a patch to add support for Ruby's end-exclusive Range objects (created using … instead of ..) in ActiveRecord find :conditions hashes.

This is really useful if you want to break apart a series of objects on something like a date-time field, which doesn't quantize exactly to integer values (on all databases) and so can't be handled using non-exclusive ranges without overlaps from values exactly on the boundary.