diff options
Diffstat (limited to 'lib/arel/algebra')
-rw-r--r-- | lib/arel/algebra/relations/relation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/algebra/relations/relation.rb b/lib/arel/algebra/relations/relation.rb index c6e2727c8f..9b90142de9 100644 --- a/lib/arel/algebra/relations/relation.rb +++ b/lib/arel/algebra/relations/relation.rb @@ -129,7 +129,7 @@ module Arel end def where clause = nil - clause ? Where.new(self, [clause]) : self + clause ? Where.new(self, Array(clause)) : self end def skip thing = nil |