Methods
B
N
Class Public methods
new(block)
# File activerecord/lib/active_record/associations/association_scope.rb, line 9
def initialize(block)
  @block = block
end
Instance Public methods
bind_value(scope, column, value, alias_tracker)
# 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