method

extract_attributes

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: WhereClause
extract_attributes() public

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 105
      def extract_attributes
        predicates.each_with_object([]) do |node, attrs|
          attr = extract_attribute(node) || begin
            node.left if node.equality? && node.left.is_a?(Arel::Predications)
          end
          attrs << attr if attr
        end
      end
Register or log in to add new notes.