Method: Arel::Nodes::SelectCore#initialize_copy

Defined in:
activerecord/lib/arel/nodes/select_core.rb

#initialize_copy(other) ⇒ Object



35
36
37
38
39
40
41
42
43
# File 'activerecord/lib/arel/nodes/select_core.rb', line 35

def initialize_copy(other)
  super
  @source      = @source.clone if @source
  @projections = @projections.clone
  @wheres      = @wheres.clone
  @groups      = @groups.clone
  @havings     = @havings.clone
  @windows     = @windows.clone
end