From 7259e1277c40e8913f6f0eab20701fedc63c9f1e Mon Sep 17 00:00:00 2001 From: Chris Beer Date: Mon, 11 Apr 2016 07:38:59 -0700 Subject: [PATCH] Force SolrHit options to be indifferent hashes --- lib/active_fedora/solr_hit.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/active_fedora/solr_hit.rb b/lib/active_fedora/solr_hit.rb index a5812baa5..db69e7738 100644 --- a/lib/active_fedora/solr_hit.rb +++ b/lib/active_fedora/solr_hit.rb @@ -21,6 +21,7 @@ def __setobj__(obj) attr_reader :document def initialize(document) + document = document.with_indifferent_access super @document = document end