module ActiveRecordExtended::RelationPatch::ArelBuildPatch

Public Instance Methods

build_arel(*aliases) click to toggle source
Calls superclass method
# File lib/active_record_extended/active_record/relation_patch.rb, line 37
def build_arel(*aliases)
  super.tap do |arel|
    build_windows(arel) if window_values?
    build_unions(arel)  if union_values?
    build_with(arel)    if with_values?
  end
end