Skip to content

Commit

Permalink
Rename JoinExpression to Join
Browse files Browse the repository at this point in the history
  • Loading branch information
Ray Zane committed Mar 30, 2018
1 parent a3bc25e commit 5481cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/baby_squeel/active_record/query_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def when_having(&block)
# This is a monkey patch, and I'm not happy about it.
# Active Record will call `group_by` on the `joins`. The
# Injector has a custom `group_by` method that handles
# BabySqueel::JoinExpression nodes.
# BabySqueel::Join nodes.
if ::ActiveRecord::VERSION::MAJOR >= 5 && ::ActiveRecord::VERSION::MINOR >= 2
def build_joins(manager, joins, aliases)
super manager, BabySqueel::JoinDependency::Injector.new(joins), aliases
Expand Down

0 comments on commit 5481cb4

Please sign in to comment.