app/models/bento_search/results.rb in bento_search-1.4.2 vs app/models/bento_search/results.rb in bento_search-1.4.3
- old
+ new
@@ -77,10 +77,11 @@
# Serialization
def internal_state_hash
{
"engine_id" => self.engine_id,
- "result_items" => self.collect {|i| i.internal_state_hash}
+ "result_items" => self.collect {|i| i.internal_state_hash},
+ "bento_search_version" => BentoSearch::VERSION
}
end
# Creates a Results object from an internal_state_hash, and restores
# it's configuration from engine_id