fix for collection reject/select

This commit is contained in:
geemus (Wesley Beary) 2010-03-08 16:35:47 -08:00
parent 8bc7f9c70a
commit f8fa60d488
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ module Fog
class_eval <<-RUBY class_eval <<-RUBY
def #{method}(*args) def #{method}(*args)
lazy_load lazy_load
self.class.new(:connection => self.connection).load(super) self.class.new(:connection => self.connection).load(self.map {|member| member.attributes})
end end
RUBY RUBY
end end