method

each_attributes

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: WhereClause
each_attributes() 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/relation/where_clause.rb, line 126
        def each_attributes
          predicates.each do |node|
            attr = extract_attribute(node) || begin
              node.left if equality_node?(node) && node.left.is_a?(Arel::Predications)
            end

            yield attr, node if attr
          end
        end
Register or log in to add new notes.