Sha256: 6356d864124879071b4b367570d0a0453acdb72ac8c4722e78c15f5eb3308f2c
Contents?: true
Size: 421 Bytes
Versions: 66
Compression:
Stored size: 421 Bytes
Contents
module ActiveFedora #:nodoc: # = Active Fedora Serialization module Serialization extend ActiveSupport::Concern include ActiveModel::Serializers::JSON included do self.include_root_in_json = false end def serializable_hash(options = nil) options = options.try(:clone) || {} options[:except] = Array(options[:except]).map { |n| n.to_s } super(options) end end end
Version data entries
66 entries across 66 versions & 1 rubygems