diff options
Diffstat (limited to 'lib/arel/algebra/relations/utilities/compound.rb')
-rw-r--r-- | lib/arel/algebra/relations/utilities/compound.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/arel/algebra/relations/utilities/compound.rb b/lib/arel/algebra/relations/utilities/compound.rb index 882cf8a76b..0734842b27 100644 --- a/lib/arel/algebra/relations/utilities/compound.rb +++ b/lib/arel/algebra/relations/utilities/compound.rb @@ -6,6 +6,7 @@ module Arel :to => :relation def self.requires(feature = nil) + @requires ||= nil @requires = feature if feature @requires end |