Class: ActiveRecord::ConnectionAdapters::AbstractAdapter::BindCollector
- Inherits:
-
Arel::Collectors::Bind
- Object
- Arel::Collectors::Bind
- ActiveRecord::ConnectionAdapters::AbstractAdapter::BindCollector
- Defined in:
- lib/active_record/connection_adapters/abstract_adapter.rb
Instance Method Summary collapse
Instance Method Details
#compile(bvs, conn) ⇒ Object
132 133 134 135 |
# File '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 |