method

bind_value

Method deprecated or moved

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

bind_value(scope, column, value, alias_tracker)
public

No documentation available.

# File activerecord/lib/active_record/associations/association_scope.rb, line 13
        def bind_value(scope, column, value, alias_tracker)
          substitute = alias_tracker.connection.substitute_at(column)
          scope.bind_values += [[column, @block.call(value)]]
          substitute
        end