Sha256: bba0bd37df8af94f788ffbd840d7f10e9cf9f3c6f9e22cfe5d197d1775e06f03
Contents?: true
Size: 559 Bytes
Versions: 35
Compression:
Stored size: 559 Bytes
Contents
# frozen_string_literal: true module ActiveRecord module ConnectionAdapters module DetermineIfPreparableVisitor attr_accessor :preparable def accept(object, collector) @preparable = true super end def visit_Arel_Nodes_In(o, collector) @preparable = false super end def visit_Arel_Nodes_NotIn(o, collector) @preparable = false super end def visit_Arel_Nodes_SqlLiteral(o, collector) @preparable = false super end end end end
Version data entries
35 entries across 35 versions & 4 rubygems