mirror of
https://github.com/lloeki/rebel.git
synced 2025-12-06 10:04:39 +01:00
fix join without clause
This commit is contained in:
parent
2c727a38cb
commit
d3ba98ab1b
2 changed files with 5 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ module Rebel::SQL
|
|||
end
|
||||
|
||||
def on?(*clause)
|
||||
clause ? on(clause) : self
|
||||
clause.any? ? on(clause) : self
|
||||
end
|
||||
|
||||
def and(*clause)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue