Flowdock
method

new

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: ActiveRecord::PredicateBuilder
new(table) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/relation/predicate_builder.rb, line 14
    def initialize(table)
      @table = table
      @handlers = []

      register_handler(BasicObject, BasicObjectHandler.new(self))
      register_handler(Class, ClassHandler.new(self))
      register_handler(Base, BaseHandler.new(self))
      register_handler(Range, RangeHandler.new(self))
      register_handler(RangeHandler::RangeWithBinds, RangeHandler.new(self))
      register_handler(Relation, RelationHandler.new)
      register_handler(Array, ArrayHandler.new(self))
      register_handler(AssociationQueryValue, AssociationQueryHandler.new(self))
      register_handler(PolymorphicArrayValue, PolymorphicArrayHandler.new(self))
    end
Register or log in to add new notes.