app/models/spotlight/resource.rb in blacklight-spotlight-3.6.0.beta6 vs app/models/spotlight/resource.rb in blacklight-spotlight-3.6.0.beta7
- old
+ new
@@ -23,10 +23,10 @@
belongs_to :exhibit
has_many :solr_document_sidecars
has_many :events, as: :resource
- serialize :data, Hash
+ serialize :data, Hash, coder: YAML
##
# Persist the record to the database, and trigger a reindex to solr
#
# @param [Hash] All arguments will be passed through to ActiveRecord's #save method