Module: ActiveRecordExtended::Patch::RelationPatch::ArelBuildPatch
- Defined in:
- lib/active_record_extended/patch/relation_patch.rb
Instance Method Summary collapse
Instance Method Details
#build_arel(*aliases) ⇒ Object
68 69 70 71 72 73 74 |
# File 'lib/active_record_extended/patch/relation_patch.rb', line 68 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 |