method

bind_value

Importance_0
v4.1.8 - Show latest stable - 0 notes - Class: AssociationScope
bind_value(scope, column, value, alias_tracker) private

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/associations/association_scope.rb, line 51
      def bind_value(scope, column, value, alias_tracker)
        substitute = alias_tracker.connection.substitute_at(
          column, scope.bind_values.length)
        scope.bind_values += [[column, value]]
        substitute
      end
Register or log in to add new notes.