diff options
Diffstat (limited to 'lib/arel/algebra/relations/operations/join.rb')
-rw-r--r-- | lib/arel/algebra/relations/operations/join.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/arel/algebra/relations/operations/join.rb b/lib/arel/algebra/relations/operations/join.rb index df457686cc..300cd31bcd 100644 --- a/lib/arel/algebra/relations/operations/join.rb +++ b/lib/arel/algebra/relations/operations/join.rb @@ -1,5 +1,7 @@ module Arel - class Join < Relation + class Join + include Relation + attributes :relation1, :relation2, :predicates deriving :== delegate :name, :to => :relation1 @@ -60,7 +62,7 @@ module Arel end end - class Relation + module Relation def join? false end |