fix for collection reject/select
This commit is contained in:
parent
8bc7f9c70a
commit
f8fa60d488
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue