app/models/concerns/blacklight/document.rb in blacklight-6.0.0.pre4 vs app/models/concerns/blacklight/document.rb in blacklight-6.0.0.pre5
- old
+ new
@@ -37,10 +37,10 @@
attr_reader :response, :_source
alias_method :solr_response, :response
def initialize(source_doc={}, response=nil)
- @_source = source_doc.with_indifferent_access
+ @_source = ActiveSupport::HashWithIndifferentAccess.new(source_doc)
@response = response
apply_extensions
end
# the wrapper method to the @_source object.