rails/rails — pull request #3976 by funny-falcon (2011-12-14 06:30:09+00:00)
Title: Make a suitable place in Predicate builder for supporting custom types.

Currently, supporting for custom value types in Predicate builder force one to rewriting (and monkey patching) whole `PredicateBuilde.build_from_hash`.

This patch proposes move value type detection to a separate method, so that one could easily override it with `alias_method_chain`.