mirror of
https://github.com/lloeki/rebel.git
synced 2025-12-06 10:04:39 +01:00
Pass argument down on? correctly
Fixes an extra `= NULL` appearing at times.
This commit is contained in:
parent
5811131d23
commit
56ad34b79e
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ module Rebel::SQL
|
||||||
end
|
end
|
||||||
|
|
||||||
def on?(*clause)
|
def on?(*clause)
|
||||||
clause.any? ? on(clause) : self
|
clause.any? ? on(*clause) : self
|
||||||
end
|
end
|
||||||
|
|
||||||
def and(*clause)
|
def and(*clause)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue