fix join without clause

This commit is contained in:
Loic Nageleisen 2017-03-01 17:02:19 +01:00
parent 2c727a38cb
commit d3ba98ab1b
2 changed files with 5 additions and 1 deletions

View file

@ -78,7 +78,7 @@ module Rebel::SQL
end
def on?(*clause)
clause ? on(clause) : self
clause.any? ? on(clause) : self
end
def and(*clause)