Class: ActiveRecord::Relation::Merger
- Inherits:
-
Object
- Object
- ActiveRecord::Relation::Merger
- Defined in:
- lib/left_joins.rb
Instance Method Summary collapse
Instance Method Details
#merge ⇒ Object
135 136 137 138 139 |
# File 'lib/left_joins.rb', line 135 def merge values = other.left_outer_joins_values relation.left_outer_joins!(*values) if values.present? return merge_without_left_joins end |
#merge_without_left_joins ⇒ Object
134 |
# File 'lib/left_joins.rb', line 134 alias_method :merge_without_left_joins, :merge |