instance method bind_value

Ruby on Rails 4.2.9

Since v4.2.9 Last seen in v4.2.9

Signature

bind_value(scope, column, value, alias_tracker)

No documentation comment.

Parameters

scope req
column req
value req
alias_tracker req
Source
# 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

Defined in activerecord/lib/active_record/associations/association_scope.rb line 13 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Associations::AssociationScope::BindSubstitution

Type at least 2 characters to search.

↑↓ navigate · open · esc close