diff options
author | Emilio Tagua <miloops@gmail.com> | 2010-03-22 15:49:56 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2010-03-22 15:49:56 -0300 |
commit | d0b47c64e2c44ef1cc0e9cfb3dc8681599d4d1f3 (patch) | |
tree | dea3fbde514375d163f41711d88f569c4efb9b14 /lib/arel/algebra | |
parent | 2384f23d61e1157458a2fd5389b8dccee488986b (diff) | |
download | rails-d0b47c64e2c44ef1cc0e9cfb3dc8681599d4d1f3.tar.gz rails-d0b47c64e2c44ef1cc0e9cfb3dc8681599d4d1f3.tar.bz2 rails-d0b47c64e2c44ef1cc0e9cfb3dc8681599d4d1f3.zip |
Fix uninitialized ivar warning
Diffstat (limited to 'lib/arel/algebra')
-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 |