lib/elasticity/base_document.rb in es-elasticity-0.4.3 vs lib/elasticity/base_document.rb in es-elasticity-0.4.4

- old
+ new

@@ -10,10 +10,10 @@ def self.configure(&block) self.config = IndexConfig.new(Elasticity.config, &block) end # Define common attributes for all documents - attr_accessor :_id, :highlighted + attr_accessor :_id, :highlighted, :_score def attributes=(attributes) attributes.each do |attr, value| self.public_send("#{attr}=", value) end