search for: all_attributes

Displaying 1 result from an estimated 1 matches for "all_attributes".

Did you mean: add_attributes
2006 Sep 26
4
Some documents not found
....close ### --- Vandelay::Product::index_document method --- def index_document(caches = {}) result = {} result[:id] = self.id result[:active] = self.isActive # add attributes if caches[:attribute_values] != nil build_attribute_cache(caches[:attribute_values][self.id.to_sym]) end ALL_ATTRIBUTES.each { |sa| result["attr_#{sa.name}".to_sym] = self.attribute_value(sa) } # add content content = '''' content << self.id << '' '' << self.name << '' '' self.descriptions.each {|d| content << d.te...