Flowdock
method

referenced_columns

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: WhereClause
referenced_columns() protected

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/relation/where_clause.rb, line 117
        def referenced_columns
          predicates.each_with_object({}) do |node, hash|
            attr = extract_attribute(node) || begin
              node.left if equality_node?(node) && node.left.is_a?(Arel::Predications)
            end

            hash[attr] = node if attr
          end
        end
Register or log in to add new notes.