Sha256: ab564f6b83cb147a0c15580abd7fc35a86beb9517086882b1c1f658cafb99641
Contents?: true
Size: 383 Bytes
Versions: 8
Compression:
Stored size: 383 Bytes
Contents
module Her class Collection def load_all_meta klass = a.first.class return unless klass.respond_to?(:id_and_buckets) id_attributes = klass.id_and_buckets.collect{|h| h[:id]} id_attributes.each do |attribute| id_attribute_values = self.collect(&attribute.to_sym) klass.mmemoized(attribute, id_attribute_values) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems