mirror of
https://github.com/lloeki/rebel.git
synced 2025-12-06 01:54:40 +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
|
||||
|
||||
def on?(*clause)
|
||||
clause.any? ? on(clause) : self
|
||||
clause.any? ? on(*clause) : self
|
||||
end
|
||||
|
||||
def and(*clause)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue