method

_substitute_values

rails latest stable - Class: ActiveRecord::Persistence::ClassMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.1.7.7) is shown here.

_substitute_values(values)
private

No documentation available.

# File activerecord/lib/active_record/persistence.rb, line 415
        def _substitute_values(values)
          values.map do |name, value|
            attr = arel_table[name]
            bind = predicate_builder.build_bind_attribute(attr.name, value)
            [attr, bind]
          end
        end