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
131 132 133 134 |
# File 'lib/active_record/connection_adapters/abstract_adapter.rb', line 131 def compile(bvs, conn) casted_binds = bvs.map(&:value_for_database) super(casted_binds.map { |value| conn.quote(value) }) end |