app/models/spotlight/exhibit.rb in blacklight-spotlight-3.6.0.beta6 vs app/models/spotlight/exhibit.rb in blacklight-spotlight-3.6.0.beta7
- old
+ new
@@ -33,10 +33,10 @@
after_validation :move_friendly_id_error_to_slug
acts_as_tagger
acts_as_taggable
delegate :blacklight_config, to: :blacklight_configuration
- serialize :facets, Array
+ serialize :facets, Array, coder: YAML
# NOTE: friendly id associations need to be 'destroy'ed to reap the slug history
has_many :about_pages, -> { for_default_locale }, extend: FriendlyId::FinderMethods
has_many :attachments, dependent: :destroy
has_many :contact_emails, dependent: :delete_all # These are the contacts who get "Contact us" emails