Sha256: 72dd1abb83eca31c8c4c65167ae615333c0fcb2129533395832901001dfb0820
Contents?: true
Size: 432 Bytes
Versions: 153
Compression:
Stored size: 432 Bytes
Contents
# frozen_string_literal: true module ActiveRecord class PredicateBuilder class BasicObjectHandler # :nodoc: def initialize(predicate_builder) @predicate_builder = predicate_builder end def call(attribute, value) bind = predicate_builder.build_bind_attribute(attribute.name, value) attribute.eq(bind) end private attr_reader :predicate_builder end end end
Version data entries
153 entries across 148 versions & 12 rubygems