Flowdock
method

type_casted_binds

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::Quoting
type_casted_binds(binds) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/quoting.rb, line 141
      def type_casted_binds(binds) # :nodoc:
        if binds.first.is_a?(Array)
          binds.map { |column, value| type_cast(value, column) }
        else
          binds.map { |attr| type_cast(attr.value_for_database) }
        end
      end
Register or log in to add new notes.