Module: ActiveRecordExtended::RelationPatch::ArelBuildPatch
- Defined in:
- lib/active_record_extended/active_record/relation_patch.rb
Instance Method Summary collapse
Instance Method Details
#build_arel(*aliases) ⇒ Object
49 50 51 52 53 54 55 |
# File 'lib/active_record_extended/active_record/relation_patch.rb', line 49 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 |