method

merge_clauses

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: Merger
merge_clauses() 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/merger.rb, line 158
      def merge_clauses
        CLAUSE_METHOD_NAMES.each do |(reader, writer)|
          clause = relation.send(reader)
          other_clause = other.send(reader)
          relation.send(writer, clause.merge(other_clause))
        end
      end
Register or log in to add new notes.