Class: ActiveRecord::ConnectionAdapters::AbstractAdapter::BindCollector

Inherits:
Arel::Collectors::Bind
  • Object
show all
Defined in:
activerecord/lib/active_record/connection_adapters/abstract_adapter.rb

Instance Method Summary collapse

Instance Method Details

#compile(bvs, conn) ⇒ Object


132
133
134
135
# File 'activerecord/lib/active_record/connection_adapters/abstract_adapter.rb', line 132

def compile(bvs, conn)
  casted_binds = conn.prepare_binds_for_database(bvs)
  super(casted_binds.map { |value| conn.quote(value) })
end