aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/predicate_builder/basic_object_handler.rb
Commit message (Collapse)AuthorAgeFilesLines
* Change `PredicateBuilder` handler methods to instance methodsSean Griffin2014-12-261-0/+9
This will allow us to pass the predicate builder into the constructor of these handlers. The procs had to be changed to objects, because the `PredicateBuilder` needs to be marshalable. If we ever decide to make `register_handler` part of the public API, we should come up with a better solution which allows procs. /cc @mrgilman [Sean Griffin & Melanie Gilman]